[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] how do I increase Linux swap file size?
- Subject: [ale] how do I increase Linux swap file size?
- From: jim.kinney at gmail.com (Jim Kinney)
- Date: Tue, 18 Jan 2011 09:55:39 -0500
- In-reply-to: <1295347784.2071.11.camel@telcontar>
- References: <1295302891.2312.17.camel@TAZ1> <1295347784.2071.11.camel@telcontar>
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