Re: Why we are going to have to go DirectIO
От | Greg Stark |
---|---|
Тема | Re: Why we are going to have to go DirectIO |
Дата | |
Msg-id | CAM-w4HM++8QgNjjRZLTCPSKHBF1+awKxGJAd3csKR4Mj-+1uiQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Why we are going to have to go DirectIO (Claudio Freire <klaussfreire@gmail.com>) |
Ответы |
Re: Why we are going to have to go DirectIO
|
Список | pgsql-hackers |
On Thu, Dec 5, 2013 at 2:54 PM, Claudio Freire <klaussfreire@gmail.com> wrote: > That's a bad idea in the current state of affairs. MM files haven't > been designed for that usage, and getting stable performance out of > that will be way too difficult. I'm talking about long-term goals here. Either of these two routes would require whole new kernel interfaces to work effectively. Without those new kernel interfaces our current approach is possibly the best we can get. I think the way to use mmap would be to mmap very large chunks, possibly whole tables. We would need some way to control page flushes that doesn't involve splitting mappings and can be efficiently controlled without having the kernel storing arbitrarily large tags on page tables or searching through all the page tables to mark pages flushable. -- greg
В списке pgsql-hackers по дате отправления: