VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: [SOLVED] swappiness  (Read 3416 times)

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
[SOLVED] swappiness
« on: July 30, 2007, 09:11:59 am »

I wanted to try changing swappiness just for the sake of it.
However, I find no /proc/sys/vm/swappiness file on my system. I do remember it being there before, though.

This might have something to do with having done a kernel upgrade to 2.6.21-ck2

Does anyone have this file? (and have you tried changing its value?)

Thank you!
« Last Edit: July 31, 2007, 02:44:25 pm by wcs »
Logged

incognu

  • Packager
  • Vectorite
  • ****
  • Posts: 256
    • incognu.com
Re: swappiness
« Reply #1 on: July 30, 2007, 11:45:51 am »

The CK patchset includes a patch for regulating swappiness on the fly, so /proc/sys/vm/swappiness isn't used.

But yeah, when not using a CK kernel, I've varied the swappiness, usually lowering it to 5 - 30.  I think you'll get better performance with the CK patch than with manually changing swappiness.
Logged
Vector Linux 6.0 Light

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: swappiness
« Reply #2 on: July 31, 2007, 02:44:09 pm »

Quote
The CK patchset includes a patch for regulating swappiness on the fly

Great! Didn't know that.
Oh, well, if the ck patch does its job well, no point in tinkering with it manually then.

Thanks a lot.
« Last Edit: July 31, 2007, 02:48:39 pm by wcs »
Logged

incognu

  • Packager
  • Vectorite
  • ****
  • Posts: 256
    • incognu.com
Re: [SOLVED] swappiness
« Reply #3 on: July 31, 2007, 03:21:33 pm »

Very welcome;  I wondered about it too, the first time I tried to set swappiness after compiling a ck kernel.

This is really old and possibly outdated, but here's a link: http://kerneltrap.org/node/1044
Logged
Vector Linux 6.0 Light