Re: Direct I/O issues

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Direct I/O issues
Дата
Msg-id
14171.1164300342@sss.pgh.pa.us
Ответ на
Direct I/O issues (Greg Smith)
Список
Дерево обсуждения
Direct I/O issues Greg Smith <gsmith@gregsmith.com>
Re: Direct I/O issues Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O issues Greg Smith <gsmith@gregsmith.com>
Re: Direct I/O issues Bruce Momjian <bruce@momjian.us>
Greg Smith  writes:
> The results I get now look fishy.

There are at least two things wrong with this program:

* It does not respect the alignment requirement for O_DIRECT buffers
  (reportedly either 512 or 4096 bytes depending on filesystem).

* It does not check for errors (if it had, you might have realized the
  other problem).

			regards, tom lane
В списке pgsql-performance по дате отправления
От: Bruce Momjian
Дата:
От: Greg Smith
Дата:
Сообщение: Re: Direct I/O issues
FAQ