From owner-freebsd-performance@FreeBSD.ORG Fri Nov 19 01:53:05 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2E9416A4CE for ; Fri, 19 Nov 2004 01:53:05 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B8E043D48 for ; Fri, 19 Nov 2004 01:53:05 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: by rproxy.gmail.com with SMTP id b11so28614rne for ; Thu, 18 Nov 2004 17:53:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=GR793xSBJ9eM2/N7xMQux1sN52JTBKQV5WaT20bcWCTC1meKjd2k0GHRt94R3OoWQAayxkkGJojzgdZRKdAjrG0gnl0Tum02qgoGsgQAC4/wZBhsmiSmnV5okaDZIaq8bKBkd3xU+dFwEvE5hiZYErlWzjwua9fL5XHHKDPwsxU= Received: by 10.38.181.73 with SMTP id d73mr191043rnf; Thu, 18 Nov 2004 17:53:04 -0800 (PST) Received: by 10.38.151.56 with HTTP; Thu, 18 Nov 2004 17:53:04 -0800 (PST) Message-ID: <18f6019404111817533b93cbba@mail.gmail.com> Date: Thu, 18 Nov 2004 17:53:04 -0800 From: Aaron Glenn To: "lukem.freebsd@cse.unsw.edu.au" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041118101026.55888.qmail@web14121.mail.yahoo.com> <20041118105543.10295.qmail@web41208.mail.yahoo.com> <18f6019404111809224fb97c06@mail.gmail.com> cc: freebsd-performance@freebsd.org Subject: Re: I've ran out of ideas X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aaron Glenn List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 01:53:05 -0000 On Fri, 19 Nov 2004 10:11:59 +1100 (EST), lukem.freebsd@cse.unsw.edu.au wrote: > The simple answer is that both iostat and dd are giving you the correct > results. Try your dd again with a smaller block size (like the 512 byte > default) and you should see that disk throughput is closer to what you are > seeing for your web server. The /www partition it's reading from was made with -b 65536 and -f 8192. > I would theorise that your web server is probably only issuing fairly > small disk reads, so your network performance is being bound by the disk. That was my first hunch; hence creating a separate partition with obscene blocksizes (-: > To test this theory, you could: > > * create an mfs partition and serve off it to see what kind of performance > you can get > * see if you can tweak the web server to use larger reads and writes. > > In your original message you said that increasing the disk block size > improved performance, which would also indicate that you are being limited > by disk performance. I doubt increasing it even more would help. Law of diminishing returns and all that; then again I'm no expert. Thoughts? Regards, aaron.glenn