On 20010617 Pixel wrote:
>Fluri Dave <[EMAIL PROTECTED]> writes:
>
>> > Reading the kernel mailing list, it's clearly stated that the swap space
>> > *MUST* be 2x the amount of RAM installed (ie. 256 MB RAM -> 512 MB SWAP).
>> >
>> > It's mentioned here: http://kt.zork.net/kernel-traffic/latest.html#9
>
>[...]
>
>> Well, that's not what that posting says to me. Alan Cox's posting at the
>> bottom refers to the fact that one needs _at_ _least_ 2x RAM in swap.
>
>this isn't true. If you don't need swap, you don't need to increase it. The real
>rule of thumb is: if you go along nicely with X amount of swap in 2.2, then you
>need 2 times more for 2.4
>
>The rule of thumb 2x the amount of RAM is a real crude rule that doesn't take
>into account the kind of use. It is mainly thought for a server. On a desktop
>swapping is usually bad news and you don't need much (eg: if you reach 100MB of
>real swap used on a 128MB RAM desktop, your box is slow as hell).
>
>=> i won't add an error (nor a warning) in DrakX.
>
Ok, because the problem is going to be corrected, and you should take out the
waning when a correct kernel goes out. But it is NOW a real problem, starting
to correct in pre3 or ac series.
And yes, if you are going to touch any swap, the rule is correct. Say you
have 128Mb core and 64 Mb swap. You are using your full 128Mb with
four 32Mb apps (A,B,C and D) and start one other 32 Mb app (E).
This app will force other to page out, and the paged out apps
will not always be the same. Once you have paged out two (say A and B),
you can not page out anything more. Swap is full with A and B, and its
space is not reclaimed even if A or B go in core again. Your dead.
--
J.A. Magallon # Let the source be with you...
mailto:[EMAIL PROTECTED]
Linux Mandrake release 8.1 (Cooker) for i586
Linux werewolf 2.4.5-ac13 #1 SMP Sun Jun 10 21:42:28 CEST 2001 i686