Re: win32 performance - fsync question

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: win32 performance - fsync question
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE4768F8@algol.sollentuna.se
обсуждение исходный текст
Ответ на win32 performance - fsync question  ("E.Rodichev" <er@sai.msu.su>)
Ответы Re: win32 performance - fsync question  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> Magnus prepared a trivial patch which added the O_SYNC flag
> for windows and mapped it to FILE_FLAG_WRITE_THROUGH in
> win32_open.c.

Attached is this trivial patch. As Merlin says, it needs some more
reliability testing. But the numbers are at least reasonable - it
*seems* like it's doing the right thing (as long as you turn off write
cache). And it's certainly a significant performance increase - it
brings the speed almost up to the same as linux.


//Magnus

Вложения

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

Предыдущее
От: Thomas Hallgren
Дата:
Сообщение: Re: SPI_finish and RegisterExprContextCallback
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: sigint psql