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

Re: Web server Partitions




On Tuesday, Dec 16, 2003, at 16:23 America/Denver, Braxton Neate wrote:

SWAP1 - 1GB
SWAP2 - 1GB

Apparently the kernel can balance loads between 2 swap partitions like
it can with multiple processors, so it would make sense to have 2 1GB
partitions rather than a 1 2GB partition. However this machine rarely
swaps.


Having both swap partitions on the same drive and drive controller won't buy you much, but having two of them on completely separate drives and controllers (say a multi-controller SCSI system, rare, but hey maybe you have such a beast) allows for somewhat better performance as long as the kernel chooses accurately which disk is "quieter" when it goes looking for swap space.

I've never looked at the swap code nor tested this, but it stands to reason that two swaps on the same drive and controller shouldn't buy you much of anything in the way of performance.

Nate, nate@natetech.com



Reply to: