public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] swap usage creeping up
Date: Thu, 28 Oct 2010 01:32:36 -0500	[thread overview]
Message-ID: <4CC91904.7070506@gmail.com> (raw)
In-Reply-To: <AANLkTi=pcvHCEhL=L=tF2Cq+zY73YYEMUUhDRtQLNYy0@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

Adam Carter wrote:
>
>>     Usually you put stuff like that in /etc/sysctl.conf. IIRC the key
>>     is vm.swappiness.
>
>
>     Looking at the man page, I would think you are correct but I don't
>     see a example on that setting.  I'll have to google for it I guess.
>
>     Putting it in rc.conf does work tho.  I also used to have to
>     adjust my fan divisor settings and I did that in rc.conf as well.
>
>
> IIRC you're using "echo 10 > /proc/sys/vm/swappiness". If it were me 
> if would use vm.swappiness=10 in sysctl since in this case the control 
> option is available, then fall back to /etc/conf.d/local.start for 
> "echo 10 >" type stuff if there was no sysctl option.
>
>
>

I googled and found this:

http://www.brunolinux.com/06-Fine_Tuning_Your_System/Swappiness.html

Then I added "vm.swappiness=20" to the sysctl.conf file.  I'll check to 
make sure it holds that setting when I reboot, whenever that is.  I see 
no reason why it shouldn't tho since that is the proper place to set it.

So you recall correctly.  :-)

Dale

:-)  :-)

[-- Attachment #2: Type: text/html, Size: 2045 bytes --]

  reply	other threads:[~2010-10-28  6:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26  5:49 [gentoo-user] swap usage creeping up Iain Buchanan
2010-10-26  6:16 ` Adam Carter
2010-10-26  6:57   ` Iain Buchanan
2010-10-26  6:30 ` Fatih Tümen
2010-10-26  7:02   ` Iain Buchanan
2010-10-26  7:18     ` Fatih Tümen
2010-10-27 22:47     ` Iain Buchanan
2010-10-27 23:44       ` Neil Bothwick
2010-10-27 23:59         ` Dale
2010-10-28  1:12           ` Adam Carter
2010-10-28  3:56             ` Dale
2010-10-28  4:34               ` Adam Carter
2010-10-28  6:32                 ` Dale [this message]
2010-11-05  6:45                   ` Iain Buchanan
2010-11-05 13:48                     ` [gentoo-user] " walt
2010-11-09 21:24                     ` [gentoo-user] " Fatih Tümen
2010-11-15  5:09                       ` Iain Buchanan
2010-11-15  8:41                         ` Fatih Tümen
2010-11-15 14:14                           ` Iain Buchanan
2010-11-15 15:26                             ` Fatih Tümen
2010-11-15 23:43                               ` Dale
2010-11-16  1:17                                 ` Iain Buchanan
2010-10-26  7:10 ` Dale
2010-10-28 16:13 ` [gentoo-user] " James
2010-10-28 23:26   ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC91904.7070506@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox