Re: [HACKERS] high shared buffer and swap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 May 2009, Laurent Laborde wrote:
I tried with swappinness set to 0 and ... it swaps !

While I wouldn't presume to try and teach you to suck eggs, once you set swappiness to zero the system will take a while to settle down. The swappiness setting will stop it swapping out, but if there is stuff out in swap, then it won't force it to swap it in early. So the machine will still thrash when it tries to access something that is out on swap. Easy way to solve this is to swapoff the various swap partitions, which will force it all into memory. You can swapon them again afterwards.

Matthew

--
Surely the value of C++ is zero, but C's value is now 1?
 -- map36, commenting on the "No, C++ isn't equal to D. 'C' is undeclared
 [...] C++ should really be called 1" response to "C++ -- shouldn't it
 be called D?"

--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux