Re: 2nd Level Buffer Cache - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: 2nd Level Buffer Cache
Date
Msg-id 201104261949.p3QJnVA14947@momjian.us
Whole thread Raw
In response to Re: 2nd Level Buffer Cache  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus wrote:
> 
> > Was it really all that bad?  IIRC we replaced ARC with the current clock
> > sweep due to patent concerns.  (Maybe there were performance concerns as
> > well, I don't remember).
> 
> Yeah, that was why the patent was frustrating.  Performance was poor and
> we were planning on replacing ARC in 8.2 anyway.  Instead we had to
> backport it.

[ Replying late.]

FYI, the performance problem was that while ARC was slightly better than
clock sweep in keeping useful buffers in the cache, it was terrible when
multiple CPUs were all modifying the buffer cache, which is why we were
going to remove it anyway.

In summary, any new algorithm has to be better at keeping useful data in
the cache, and also not slow down workloads on multiple CPUs.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Memory leak in FDW
Next
From: Bruce Momjian
Date:
Subject: Re: pg_ctl restart - behaviour based on wrong instance