On 2014-08-13 09:51:58 +0530, Amit Kapila wrote: > Overall, the main changes required in patch as per above feedback > are: > 1. add an additional counter for the number of those > allocations not satisfied from the free list, with a > name like buffers_alloc_clocksweep. > 2. Autotune the low and high threshold values for buffers > in freelist. In the patch, I have kept them as hard-coded > values. > 3. For populating freelist, have a separate process (bgreclaim) > instead of doing it by bgwriter.
I'm not convinced that 3) is the right way to go to be honest. Seems like a huge bandaid to me. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers