Mark Derricutt's Disturbing Thoughts

My Top Tags

                                       

My Jaiku

The BGGA myth - Functional Java | Google Groups

Wednesday, 20 August 2008 7:33 A GMT+12

Spock's Beard – On A Perfect Day (live)

Wednesday, 20 August 2008 5:57 A GMT+12

Ola Bini: JtestR 0.3.1 Released

Tuesday, 19 August 2008 10:00 P GMT+12

Enslaved – Violet Dawning

Tuesday, 19 August 2008 6:14 A GMT+12

Distributed Messaging with Jetlang and Terracotta

Monday, 18 August 2008 10:17 P GMT+12

The Music of 2008 - week 33

Monday, 18 August 2008 8:57 A GMT+12

There Can Be Only One

Monday, 18 August 2008 8:10 A GMT+12

Silent Force – Point Of No Return

Monday, 18 August 2008 6:30 A GMT+12

In Relation To...  Hibernate Core 3.3.0 goes GA

Saturday, 16 August 2008 7:03 P GMT+12

Search Box

 

Linux VM Swappiness

posted Thursday, 6 May 2004
yem pointed me to the /proc/sys/vm/swappiness kernel setting to control how often your machine kicks in the virtual memory swapping, a quick:
# echo 1 > /proc/sys/vm/swappiness
and the system feels much nicer already. Damnit - I have RAM and I don't want to swap. Thankyou.

links: digg this    del.icio.us    technorati    reddit




1. a reader left...
Friday, 7 May 2004 2:21 am

there's lots of trade offs discussed on the linux kernel mailing list. i think you're sacrificing your caches and buffers by limiting swapping, so heavy IOs will probably slow down now.

i had experimented with setting mine to 10, and it did feel more interactive, and it eliminated the sluggish "waking up" when i left the machine sit a while and it pushed all my interactive programs out into swap. it triggered an odd case where swsusp couldn't free enough memory to actually suspend my laptop, though. this could very well be a swsusp bug.

for good measure, i'm attempting another test with it set to 90 to see if i can find any advantage to that.

john [glynis@hjsoft.com]


2. a reader left...
Tuesday, 19 October 2004 9:29 am

So, any advantage to 90?

meowsqueak