Re: win32 performance - fsync question

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: win32 performance - fsync question
Дата
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A762A@Herge.rcsinc.local
обсуждение исходный текст
Ответ на win32 performance - fsync question  ("E.Rodichev" <er@sai.msu.su>)
Список pgsql-hackers
> One point that I no longer recall the reasoning behind is that xlog.c
> doesn't think O_SYNC is a preferable default over fsync.  We'd
certainly
> want to hack xlog.c to change its mind about that, at least on
Windows;
> assuming that the FILE_FLAG way is indeed faster.
I also confirmed that the totally un-cached mode in windows
(FILE_FLAG_WRITE_THROUGH | FILE_FLAG_NO_BUFFERING) will only work if the
amount of data written is some multiple of 512 bytes.  Can WAL work
under this restriction?

Merlin


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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: win32 performance - fsync question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: win32 performance - fsync question