Re: Revisiting disk layout on ZFS systems

Поиск
Список
Период
Сортировка
От Karl Denninger
Тема Re: Revisiting disk layout on ZFS systems
Дата
Msg-id 535E9D7B.6020706@denninger.net
обсуждение исходный текст
Ответ на Re: Revisiting disk layout on ZFS systems  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-performance
On 4/28/2014 1:22 PM, Heikki Linnakangas wrote:
> On 04/28/2014 09:07 PM, Karl Denninger wrote:
>>> The WAL is fsync'd frequently. My guess is that that causes a lot of
>>> extra work to repeatedly recompress the same data, or something like
>>> that.
>>
>> It shouldn't as ZFS re-writes on change, and what's showing up is not
>> high I/O*count*  but rather percentage-busy, which implies lots of head
>> movement (that is, lots of sub-allocation unit writes.)
>
> That sounds consistent frequent fsyncs.
>
>> Isn't WAL essentially sequential writes during normal operation?
>
> Yes, it's totally sequential. But it's fsync'd at every commit, which
> means a lot of small writes.
>
> - Heikki

Makes sense; I'll muse on whether there's a way to optimize this
further... I'm not running into performance problems at present but I'd
rather be ahead of it....

--
-- Karl
karl@denninger.net



Вложения

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Revisiting disk layout on ZFS systems
Следующее
От: Karl Denninger
Дата:
Сообщение: Re: Revisiting disk layout on ZFS systems