Re: Multi CPU Queries - Feedback and/or suggestions wanted!

Поиск
Список
Период
Сортировка
От Hans-Jürgen Schönig
Тема Re: Multi CPU Queries - Feedback and/or suggestions wanted!
Дата
Msg-id 490982B2.7000708@cybertec.at
обсуждение исходный текст
Ответ на Re: Multi CPU Queries - Feedback and/or suggestions wanted!  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> Greg Stark wrote:
>   
>> I couldn't get async I/O to work on Linux. That is it "worked" but  
>> performed the same as reading one block at a time. On solaris the  
>> situation is reversed.
>>
>> In what way is fadvise a kludge?
>>     
>
> I think he is saying AIO gives us more flexibility, but I am unsure we
> need it.
>   


absolutely.
posix_fadvise is easy to implement and i would assume that it takes away 
a lot of "guessing" on the OS internals side.
the database usually knows that it is gonna read a lot of data in a 
certain way and it cannot be a bad idea to give the kernel a hint here.
especially synchronized seq scans and so on are real winners here as you 
stop confusing the kernel with XX concurrent readers on the same file.
this can also be an issue with some controller firmwares and so on.
   many thanks,
      hans



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Hot Standby: Caches and Locks
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Question about GetAttributeByNum(Name) ExecQual.c