Re: O_DIRECT in freebsd

Поиск
Список
Период
Сортировка
От Curt Sampson
Тема Re: O_DIRECT in freebsd
Дата
Msg-id Pine.NEB.4.51.0306171933200.408@angelic-vtfw.cvpn.cynic.net
обсуждение исходный текст
Ответ на O_DIRECT in freebsd  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Tue, 17 Jun 2003, Christopher Kings-Lynne wrote:

> "A new DIRECTIO kernel option enables support for read operations that
> bypass the buffer cache and put data directly into a userland buffer....
>
> Will PostgreSQL pick this up automatically, or do we need to add extra
> checks?

You don't want it to. It's more efficent just to use mmap, because then
all the paging and caching issues are taken care of for you.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org   Don't you know, in this new Dark Age, we're
alllight.  --XTC
 


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: confused with encodings
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: confused with encodings