virtual memory swap size

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tom Bradford
Date:  
Subject: virtual memory swap size
Craig White wrote:
> If you have 128Mb RAM what would be the optimal size to make the swap
> partition? If you are running HTTP off this machine would it matter?


For Linux, the optimal size for a swap partition would be 0. Save your
hard drive space for important stuff like MP3s and Pr0n... Instead,
just buy a lot of RAM, because as soon as your machine starts hitting
swap, it's going to thrash to death. If you absolutely must, .5 to 2.0
times physical RAM is a good size.

--
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null