Date: Fri, 19 Nov 2004 10:11:59 +1100 (EST) From: lukem.freebsd@cse.unsw.edu.au To: Aaron Glenn <aaron.glenn@gmail.com> Cc: =?ISO-8859-1?Q?Arne_W=F6rner?= <arne_woerner@yahoo.com> Subject: Re: I've ran out of ideas Message-ID: <Pine.LNX.4.61.0411191006310.5596@wagner.orchestra.cse.unsw.EDU.AU> In-Reply-To: <18f6019404111809224fb97c06@mail.gmail.com> References: <20041118101026.55888.qmail@web14121.mail.yahoo.com> <20041118105543.10295.qmail@web41208.mail.yahoo.com> <18f6019404111809224fb97c06@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Nov 2004, Aaron Glenn wrote: > d# dd if=/dev/ad2s1 of=/dev/null bs=64k count=1000 > 1000+0 records in > 1000+0 records out > 65536000 bytes transferred in 1.353203 secs (48430278 bytes/sec) > d# > > iostat has never gone above 3.8MB/s 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. 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. 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. -- Luke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.61.0411191006310.5596>