Linked by David Adams on Thu 20th Nov 2008 04:19 UTC
General Unix Linux and other Unix-like operating systems use the term "swap" to describe both the act of moving memory pages between RAM and disk. It is common to use a whole partition of a hard disk for swapping. However, with the 2.6 Linux kernel, swap files are just as fast as swap partitions. Now, many admins (both Windows and Linux/UNIX) follow an old rule of thumb that your swap partition should be twice the size of your main system RAM. Let us say I’ve 32GB RAM, should I set swap space to 64 GB? Is 64 GB of swap space really required? How big should your Linux / UNIX swap space be?
Permalink for comment 337941
To read all comments associated with this story, please click here.
RE: swap actually makes it faster.
by 6c1452 on Fri 21st Nov 2008 01:14 UTC in reply to "swap actually makes it faster."
6c1452
Member since:
2007-08-29

Fortunately, RAM is so cheap that you can have it both ways. I don't use swap because I don't like twiddling my fingers while I wait for formerly-idely programs to get paged back in to real memory, and there is enough left over for a disk cache (is this what system monitors refer to as the 'system cache'?).

Reply Parent Score: 1