>>>>> " " == Rogier Wolff <R.E.Wolff@BitWizard.nl> writes:
> William T Wilson wrote:
>> On Fri, 2 Mar 2001 Matt_Domsch@Dell.com wrote:
>> > Linus has spoken, and 2.4.x now requires swap = 2x RAM.
>> I think I missed this. What possible value does this have?
>> (Not even Sun, the original purveyors of the 2x RAM rule, need
>> this any more).
> RAM is still about 100x more expensive than HD. So I always
> recommend you use about 2% of the money you spent on RAM to pay
> for the HD space to handle swap.
> Actually the deal is: either use enough swap (about 2x RAM) or
> use none at all.
I believe the 2xRAM rule comes from the OS's where ram was only buffer
for the swap. So with 1xRAM you had a running system with 1xRAM
memory, so nothing is gained by that much swap.
On Linux any swap adds to the memory pool, so 1xRAM would be
equivalent to 2xRAM with the old old OS's.
Generally I would say that you need so much swap that you mouse does
not stop when its used. That usually means so much swap as you can
read/write within 10-30 seconds when done continuous. If you need more
swap the system becomes unuseable and performance goes realy down.
But thats all just my liking. Some applications can use 10xRAM swap
and still not stop the mouse from working, some applications do that
with 100 MB swap. I would keep swap moderate (one 2GB partition should
be enough for any normal system) and use swapfiles in case more is
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:17 EST