Re: Best OS & Configuration for Dual Xeon w/4GB &

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kenji,


On 3/17/06 4:08 PM, "Kenji Morishige" <kenjim@xxxxxxxxxxx> wrote:

> Thanks guys, I'm studying each of your responses and am going to start to
> experiement.

I notice that no one asked you about your disk bandwidth - the Adaptec 2200S
is a "known bad" controller - the bandwidth to/from in RAID5 is about 1/2 to
1/3 of a single disk drive, which is far too slow for a 10GB database, and
IMO should disqualify a RAID adapter from being used at all.

Without fixing this, I'd suggest that all of the other tuning described here
will have little value, provided your working set is larger than your RAM.

You should test the I/O bandwidth using these simple tests:
  time bash -c "dd if=/dev/zero of=bigfile bs=8k count=1000000 && sync"

then:
  time dd if=bigfile of=/dev/null bs=8k

You should get on the order of 150MB/s on four disk drives in RAID5.

And before people jump in about "random I/O", etc, the sequential scan test
will show whether the controller is just plain bad very quickly.  If it
can't do sequential fast, it won't do seeks fast either.

- Luke




[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux