
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.
Member since:
2005-11-11
Why "face it"? My last system had 1 GB of RAM and it worked fine. My RAM is now doubled, yet my apps haven't become more bloated. If anything, GNOME and KDE have only become less bloated over the years as they kept optimizing things. I compiled GCC 4 years ago on an Athlon 1.4 Ghz with only 380 MB RAM, why wouldn't I be able to do that now with a system that has even more RAM? GCC didn't become *that* much bigger.
If my last system with less resources worked fine, and it only had 1 GB of RAM, then why would I suddenly need to have 4 GB of swap now that I have 2 GB of RAM? Couldn't I just think of the extra GB of RAM that I've gained as the swap?
It seems totally illogical to me. One of the points of upgrading one's RAM is to make sure that the system doesn't need as much swap, so why would one need to upgrade the swap as well after having upgraded the RAM?