Re: Remove the limit on the number of entries allowed in catcaches,
В списке pgsql-hackers по дате отправления:
| От | Qingqing Zhou |
|---|---|
| Тема | Re: Remove the limit on the number of entries allowed in catcaches, |
| Дата | |
| Msg-id | e6rahf$g0i$1@news.hub.org обсуждение исходный текст |
| Ответ на | Re: Remove the limit on the number of entries allowed in catcaches, (Simon Riggs <simon@2ndquadrant.com>) |
| Ответы |
Re: Remove the limit on the number of entries allowed in
|
| Список | pgsql-hackers |
"Simon Riggs" <simon@2ndquadrant.com> wrote > > Can we do the same for the file descriptors in fd.c? > > Very often the total number of file descriptors is much less than the > maximum, so it would make sense to only maintain the LRU when we are > using more than 50%-75% of the maximum. > I am not against doing it but AFAIR the LRU file operations is (1) not frequent; (2) the cost is only several CPU circles if we do not run out of fds; (3) the LRU lseek/close/open big cost is still not avoidable when we really run out of fds. So this optimization may be not needed. Or do you have some numbers to show that's a bottleneck for some kind of applications? Regards, Qingqing
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера