Re: BAS_BULKREAD vs read stream
От | Melanie Plageman |
---|---|
Тема | Re: BAS_BULKREAD vs read stream |
Дата | |
Msg-id | CAAKRu_b7ROR0SB6fSdRBzwJ4peWEOqYGBCL0G1AuKe0Z+JMoYA@mail.gmail.com обсуждение исходный текст |
Ответ на | BAS_BULKREAD vs read stream (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: BAS_BULKREAD vs read stream
|
Список | pgsql-hackers |
On Sun, Apr 6, 2025 at 4:15 PM Andres Freund <andres@anarazel.de> wrote: > > I think we should consider increasing BAS_BULKREAD TO something like > Min(256, io_combine_limit * (effective_io_concurrency + 1)) Do you mean Max? If so, this basically makes sense to me. Overall, I think even though the ring is about reusing buffers, we have to think about how many IOs that reasonably is -- which this formula does. You mentioned testing with 8MB, did you see some sort of clipp anywhere between 256 and 8MB? > I experimented some whether SYNC_SCAN_REPORT_INTERVAL should be increased, and > couldn't come up with any benefits. It seems to hurt fairly quickly. So, how will you deal with it when the BAS_BULKREAD ring is bigger? - Melanie
В списке pgsql-hackers по дате отправления: