Re: posix_fadvise v22
От | Tom Lane |
---|---|
Тема | Re: posix_fadvise v22 |
Дата | |
Msg-id | 14488.1230943899@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: posix_fadvise v22 (Gregory Stark <stark@enterprisedb.com>) |
Ответы |
Re: posix_fadvise v22
|
Список | pgsql-hackers |
Gregory Stark <stark@enterprisedb.com> writes: > Tom Lane <tgl@sss.pgh.pa.us> writes: >> In principle you should be able to adjust the constant so that vmstat >> shows about 50% CPU busy, and then enabling fadvise should improve >> matters significantly. > I think in practice individual queries don't interleave much cpu with i/o > work. A single random page fetch is 5ms which is an awful lot of cpu cycles to > be sinking somewhere. In practice I think this is going to be single-digit > percentages. The point of the suggestion is to prove that the patch works as advertised. How wide the sweet spot is for this test isn't nearly as interesting as proving that there *is* a sweet spot. If you can't find one it suggests that either the patch or the local posix_fadvise doesn't work. regards, tom lane
В списке pgsql-hackers по дате отправления: