Re: postgresql latency & bgwriter not doing its job

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: postgresql latency & bgwriter not doing its job
Дата
Msg-id alpine.DEB.2.10.1408271634540.8876@sto
обсуждение исходный текст
Ответ на Re: postgresql latency & bgwriter not doing its job  (Aidan Van Dyk <aidan@highrise.ca>)
Список pgsql-hackers
Hello,

> If all you want is to avoid the write storms when fsyncs start happening on
> slow storage, can you not just adjust the kernel vm.dirty* tunables to
> start making the kernel write out dirty buffers much sooner instead of
> letting them accumulate until fsyncs force them out all at once?

I can try, when I have finished with the current round of testing.

Note that, as Andres put it, it currently "sucks". Having to tinker with 
linux kernel parameters just to handle a small load without being offline 
10% of the time does not look very good, so even if it works, ISTM that a 
pg side solution is desirable.

-- 
Fabien.



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [REVIEW] Re: Compression of full-page-writes