vm.dirty_ratio, et al.

For the past few weeks I’ve been using a few new sysctl.conf settings, in the hopes that they’d affect system speed somehow. Personally I think these are so esoteric as to be unpredictable outside a few select machines, so take from them what you will.

vm.laptop_mode=0
vm.dirty_ratio=10
vm.dirty_background_ratio=5
vm.dirty_writeback_centisecs=500
vm.dirty_expire_centisecs=3000
vm.drop_caches=3

Technically these are mostly power management settings, and so they generally don’t have any bearing on system speed. However, they all point at virtual memory, so in that sense they could (but probably won’t) affect swapping conditions or power settings on some hardware. And that, in turn, can sometimes affect system speed.

Either way, try them if you care. Here is an original thread from 2006 that provides some early information about vm.dirty_ratio and vm.dirty_background_ratio, and some of the others are mentioned in this howto about disk activity.

Once again, just to be clear, I don’t think they’ll give much of an improvement speedwise, but you never know.

About these ads

0 Responses to “vm.dirty_ratio, et al.”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,958,321 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: