Re: [RFC, POC] Don't require a NBuffer sized PrivateRefCount array of local buffer pins
От | Andres Freund |
---|---|
Тема | Re: [RFC, POC] Don't require a NBuffer sized PrivateRefCount array of local buffer pins |
Дата | |
Msg-id | 20140409094404.GC4161@awork2.anarazel.de обсуждение исходный текст |
Ответ на | Re: [RFC, POC] Don't require a NBuffer sized PrivateRefCount array of local buffer pins (Simon Riggs <simon@2ndQuadrant.com>) |
Список | pgsql-hackers |
On 2014-04-09 05:34:42 -0400, Simon Riggs wrote: > On 21 March 2014 14:22, Andres Freund <andres@2ndquadrant.com> wrote: > > > That seems to work fairly well. On the few tests I could run on my > > laptop - I've done this during a flight - it's a small performance win > > in all cases I could test. While saving a fair amount of memory. > > We've got to the stage now that saving this much memory is essential, > so this patch is a must-have. I think some patch like this is necessary - I am not 100% sure mine is the one true approach here, but it certainly seems simple enough. > Performance? Discussed many years ago, but I suspect the micro-tuning > of those earlier patches wasn't as good as it is here. It's a small win on small machines (my laptop, 16GB), so we need to retest with 128GB shared_buffers or such on bigger ones. There PrivateRefCount previously was the source of a large portion of the cache misses... Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: