9 Jun
2005
9 Jun
'05
14:24
On Thursday 09 June 2005 5:59 am, David SMITH wrote:
On Wed, Jun 08, 2005 at 11:20:53AM -0500, BOB HERZOG wrote:
I have a LSI Raid card with three 160 gb drives doing raid 5. The default swap is 1 gb do I need to up this default setting? What is the swap file used for?
MHO...
I would suggest somewhere between 0.5 x RAM and 1.5 x RAM. If you have too little, then the kernel will be forced to use physical RAM for stuff which is used very infrequently and would therefore be a waste, as it could be being used as disk cache.
David Smith
Another thought to swap space size is if you Suspend-To-Disk you need a swap file at least as large as your RAM plus a wee bit so you don't run out of swap space when the machine Suspends-To-Disk. Stan