Re: Asynchronous I/O Support

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: Asynchronous I/O Support
Дата
Msg-id E1539E0ED7043848906A8FF995BDA579017262C4@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: Asynchronous I/O Support  (Bruno Wolff III <bruno@wolff.to>)
Ответы Re: Asynchronous I/O Support  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
> > At least according to [1], kernel AIO on Linux still doesn't work
for
> > buffered (i.e. non-O_DIRECT) files. There have been patches
available
> > for quite some time that implement this, but I'm not sure when they
> > are likely to get into the mainline kernel.
> >
> > -Neil
> >
> > [1] http://lse.sourceforge.net/io/aio.html
>
> An improvement is going into 2.6.19 to handle asynchronous
> vector reads and writes. This was covered by Linux Weekly
> News a couple of weeks ago:
> http://lwn.net/Articles/201682/

That is orthogonal. We don't really need vector io so much, since we
rely
on OS readahead. We want asyc IO to tell the OS earlier, that we will
need
these random pages, and continue our work in the meantime.
For random IO it is really important to tell the OS and disk subsystem
many pages in parallel so it can optimize head movements and busy more
than
one disk at a time.

Andreas


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

Предыдущее
От: NikhilS
Дата:
Сообщение: Microseconds granularity SIGALRM interrupt support
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Statements with syntax errors are not logged