To read all comments associated with this story, please click here.
it depends on what happens if the system crashes. some OS still dump the whole OS completely in SWAP before dying since you don't want it saved as a regular file on the filesystem.
When rebooting, the dump in swap is then saved into a regular file.
basically swap = 2xRAM is a bad idea, but there are sometimes reaons why it's space is needed. Don't know how HAIKU does this though.
There's no rule of thumb, it always depends on what you're running. However, Haiku needs a default. For a work-in-progress operating system, I consider that default more than appropriate.
And it's not like you can't change it easily. It's a swap file, not a swap partition.
Also, I believe a big chunk of the Haiku community uses Haiku in more constrained environments. Swap space almost makes no sense for regular utilization when you have 2G of RAM, but you might require twice as much swap space if you have less than 512MB of RAM.
And what's all the fuss about this? If you have 2G of RAM in your machine, you most likely have enough disk space for a big swap file.
Face it, modern OSes need to use lots of RAM, esp. for developers who are rebuilding things like GCC, OpenOffice, etc. Not saying that's typical or ideal, but it can be necessary for some things.
However, does anyone here know if using 2 GB RAM + 4 GB swap is even possible?? I mean, would that even work (on Haiku or any other 32-bit OS)?? Wouldn't it be unavailable at the same time anyways, only letting you use approx. 4 GB (or less) at once?







Member since:
2006-01-04
it is enabled by default, using a swap file twice the size of the accessible RAM
I thought that rule of thumb was an ancient rule that doesn't have any bearing on modern memory allocation algorithms? Isn't it from the times where you needed at least as much swap as you had RAM?
Edited 2008-08-31 17:18 UTC