Kubuntu Feisty using up all my 1.5gb of RAM...
Eduardo Robles Elvira
edulix at gmail.com
Thu Jun 28 10:09:20 UTC 2007
El Jueves, 28 de Junio de 2007, D. Michael McIntyre escribió:
> I have 4 GB of RAM, and am barely running anything, but I still have cold
> processes swapped out. When they redid virtual memory a few kernel
> versions ago, it seems to always insist on using some swap for processes
> that have been idle for some prescribed time. I'm not on LKML, and not a
> kernel guru, and could be talking right out my butt here, but I went
> through some kind of attempt to eliminate swap some time back (a year or
> two ago, maybe?) and the only way to eliminate swap was to eliminate swap.
> If you don't have any swap partitions or swapfiles, then, and IIRC only
> then, will you run swap-free, no matter how much RAM you have.
>
> But I could be talking right out my butt. I'm barely even awake yet, and
> on my way out the door to work.
If you want to configure swap, just change the swappiness of your system.
Simply echo a value from 0 to 100 onto /proc/sys/vm/swappiness . The higher a
number set here, the more the system will swap - and the other way round, of
course. You can see the current value of swappiness with the
command "cat /proc/sys/vm/swappiness". Default 60. I use 20.
--
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all progress
depends on the unreasonable man." (George Bernard Shaw)
More information about the kubuntu-users
mailing list