Re: [HACKERS] high shared buffer and swap

Поиск
Список
Период
Сортировка
От Matthew Wakeling
Тема Re: [HACKERS] high shared buffer and swap
Дата
Msg-id alpine.DEB.2.00.0905051220050.2341@aragorn.flymine.org
обсуждение исходный текст
Ответ на Re: [HACKERS] high shared buffer and swap  (Laurent Laborde <kerdezixe@gmail.com>)
Список pgsql-performance
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?"

В списке pgsql-performance по дате отправления:

Предыдущее
От: Laurent Laborde
Дата:
Сообщение: Re: [HACKERS] high shared buffer and swap
Следующее
От: Bryan Murphy
Дата:
Сообщение: Re: Limit I/O bandwidth of a certain backend