[ale] how do I increase Linux swap file size?
Jim Kinney
jim.kinney at gmail.com
Tue Jan 18 09:55:39 EST 2011
Swap space _really_ depends on how the system is used. A single user desktop
running web browsing and email can have swap turned of if the system has 4GB
RAM. Using a heavy memory application like extensive gimp on HUGE files with
loads of undo levels, leave the swap at 2:1 swap:RAM
For a multi-user server, swap use will be determined by the type of
application and the loading of it. A multi-purpose system running mail, web,
file servics, etc, will benefit from the swap space at around 2:1. But a
high performance solo-service web server running tomcat with multiple
multi-core cpu's will not benefit unless the web application has long-lived
caching of user state.
High performance file servers (NFS or CIFS) should have swap nearly turned
off or at the most 1:1 for caching of system . If a fileserver starts
hitting swap, the pager is about to start beeping.
--
--
James P. Kinney III
I would rather stumble along in freedom than walk effortlessly in chains.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110118/596b92a6/attachment.html
More information about the Ale
mailing list