Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
To Swap, Or Not To Swap ? What are your swapping settings ?
Posted 08 May 2005 - 11:21 AM
(either with windows, or linux kernel)
have you noticed an increace in performance after your tweaks ?
if so, how did you tweak, how much ram do you have, and on a typical use, how many applications are you running, how heavily do you use memory on your computer ???
In the linux kernel, there was a huge debate about how "swappy" the kernel should be.
one hal said the kernel should not swap at all, untill it was needed.. keeping the ram use high, filling it with buffers when it wasnt needed. (the normal linux way)
the other side said the kernel should swap often Like windows, keeping the ram useage as low as possable.
The advantages of the first argument, is speed. Provided you have a sencible about of ram, (hich is very cheap) application loading, switching and execution is fast... but suddenly slows then 100% ram is used from application data (not buffers) and suddenly the coomputer has to start swapping.
The advantage of the second arguments, a slightly slower performace, but will allow more memory useage before th computer hits the wall, of 100% in use ram.
the end result, (of the llinux arguemnt) was that users get to decide there own swappyness. (default is 60%))
have any of you linux users tweaked this value ? (in the file /proc/sys/vm/swappiness)
have any of you windows users tweaked swap settings in the performace tab of control center ?
Posted 08 May 2005 - 01:44 PM
Why do you even want to talk about memory management in windows... it's it in a fabled class of its own
Posted 08 May 2005 - 03:14 PM
Up untill very recently, i used to keep my swappyness very low, my swap space never went less then 98% free, but recently im computer went completely un-responcive for 2 minutes whilts recompiling a multi-lib enabled glibc, kde, and a few other programs. (i have half a gig of ram)
i had been compiling for about an hour, and didnt want to kill the compile process, so instead i just sent it to sleep.
but this didnt help much, because my very low spawwyness seting means the sleeping process (and all its memory) was not swapped out.
so now ive been experimentiong with a much higher swapyness setting,
ts quite difficult to work out which is better,
ive been thrashing my system about with a few simple porgrams ive written, but its not helping much
As for the windows part... well, number of linux users here = low...
number of linux users here who do much kernel treawing.... very low.
but im sure there must be some windows users have been tweaking swap.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users