Re: renice on an I/O bound box

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: renice on an I/O bound box
Дата
Msg-id 4B5659EB.6080109@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: renice on an I/O bound box  (Arjen van der Meijden <acmmailing@tweakers.net>)
Список pgsql-performance
On 20/01/2010 4:16 AM, Arjen van der Meijden wrote:

> Another command to look at, if you're I/O-bound, is the 'ionice'
> command, which is similar to nice, but obviously intended for I/O.
> For some I/O-bound background job, one of the 'idle' classes can be a
> nice level. But for a (single) postgres-process, I'd be careful again
> for the same reasons as with process-nice.

Unfortunately, due to the action of the bgwriter 'ionice' isn't as
effective as you might hope. It's still useful, but it depends on the load.

http://wiki.postgresql.org/wiki/Priorities#Prioritizing_I.2FO

--
Craig Ringer

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: ext4 finally doing the right thing
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)