Re: system is swapping (not actively), why?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: system is swapping (not actively), why?
Дата
Msg-id 4F02E8BA020000250004428C@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: system is swapping (not actively), why?  (MirrorX <mirrorx@gmail.com>)
Ответы Re: system is swapping (not actively), why?  (MirrorX <mirrorx@gmail.com>)
Список pgsql-admin
MirrorX <mirrorx@gmail.com> wrote:

> i think it is measured in GB

> Swap:     33554424    2105664   31448760

> Swap: 33554424k total

That sure seems to be the case.

I don't think it change my overall advice -- if you see zero swaps
in or out under load, I wouldn't worry about it.  We tried
configuring our servers to prevent such things, and under careful
benchmarking the effort slightly reduced performance.  Probably
because we were using RAM to hold stuff we didn't need instead of
allowing it to be used for OS caching.

I know some people are fanatic about keeping that swap number at
zero, but in our case it turns out to be best to let the OS do its
thing.

-Kevin

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

Предыдущее
От: MirrorX
Дата:
Сообщение: Re: system is swapping (not actively), why?
Следующее
От: Maurício Cruz
Дата:
Сообщение: lo_import