Please support VectorLinux!

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

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
[SOLVED] swappiness
« on: July 30, 2007, 08: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, 01:44:25 pm by wcs »

incognu

  • Packager
  • Vectorite
  • ****
  • Posts: 256
    • incognu.com
Re: swappiness
« Reply #1 on: July 30, 2007, 10: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.
Vector Linux 6.0 Light

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: swappiness
« Reply #2 on: July 31, 2007, 01: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, 01:48:39 pm by wcs »

incognu

  • Packager
  • Vectorite
  • ****
  • Posts: 256
    • incognu.com
Re: [SOLVED] swappiness
« Reply #3 on: July 31, 2007, 02: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
Vector Linux 6.0 Light