Linked by Thom Holwerda on Sun 31st Aug 2008 16:15 UTC, submitted by cy
BeOS & Derivatives Thanks to Google Summer of Code student Zhao Shuai, Haiku now has support for a swap file. "As of revision 27233 it is enabled by default, using a swap file twice the size of the accessible RAM. The swap file size can be changed (or swap support disabled) via the VirtualMemory preferences. Swap support finally allows building Haiku in Haiku on a box with less than about 800 MB RAM, as long as as the swap file is large enough. [Ingo Weinhold] tested this on a Core 2 Duo 2.2 GHz with 256 MB RAM (artificially limited) and a 1.5 GB swap file. Building a standard Haiku image with two jam jobs (jam -j2) took about 34 minutes. This isn't particularly fast, but Haiku is not well optimized yet." The swap implementation borrows heavily from that of FreeBSD.
Thread beginning with comment 328811
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: Swap twice the RAM
by ple_mono on Mon 1st Sep 2008 14:18 UTC in reply to "RE[3]: Swap twice the RAM"
ple_mono
Member since:
2005-07-26

Not only may the system dump it's memory in the system swap for whatever reason; most modern linux distros also depend on the swap file for resuming suspend2disk, or "hibernate" if you will. So, this rule of thumb (2xRAM) isn't that bad after all!

Reply Parent Bookmark Score: 1