Re: 2nd Level Buffer Cache

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 2nd Level Buffer Cache
Дата
Msg-id 201104261949.p3QJnVA14947@momjian.us
обсуждение исходный текст
Ответ на Re: 2nd Level Buffer Cache  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Memory leak in FDW
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_ctl restart - behaviour based on wrong instance