Re: kernel swap question
On Sun, Sep 14, 2008 at 04:14:44PM -0400, Mag Gam wrote:
> Michael:
>
> Interesting. That will just not use swap? So, it will FIFO pages into
> physical memory?
>
>
>
> On Sun, Sep 14, 2008 at 3:29 PM, Michael <misha@netspark.org> wrote:
> > On Sat, Sep 13, 2008 at 06:28:31PM -0400, Mag Gam wrote:
> >> I have a system with 32GB of RAM. The application is designed so it
> >> does not do sequential reads and it does random operations. The
> >> application memory intensive and I would like it to not swap. I want
> >> it to use physical memory as much as possible. Once the memory is read
> >> and operated on, I want that page to disappear and not even goto
> >> paging status. What is the best VM tuning for this?
> >
> > Add to /etc/sysctl.conf this string vm.swappiness=0
Not exactly, basically, this setting control how aggressively swapping
will be; with zero, your system will stay out of swap as long as it can.
You can read more about this setting on lwn[1].
[1] http://lwn.net/Articles/83588/
Reply to: