Re: W-TinyLfu for cache eviction

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: W-TinyLfu for cache eviction
Дата
Msg-id CAB=Je-HFfjTTBuGnQnjN9hMkJEKncTriqjOnXfe+ArisLj-OVQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: W-TinyLfu for cache eviction  (Ants Aasma <ants.aasma@eesti.ee>)
Ответы Re: W-TinyLfu for cache eviction  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
> a global lock would be good enough for a proof of concept that only
evaluates cache hit ratios.

I think emulator can be used to check hit ratios. That way we can see
how different algorithms affect hit ratio.

Is there a set of traces of "buffer load events"? (I did some Google
searches like "postgresql buffer cache trace" with no luck)
Is there an option that enables tracing of each requested buffer Id?

Frankly speaking, I've no access to PG instances with lots of data
(i.e. >10GiB).

> Maybe.  Want to code it up?

That would be interesting, however: I'm not fluent at C. I've never
written multithreaded C code either. I understand what a cache line is
though.
Anyway, before hacking a prototype it makes sense to gather some traces.

Vladimir



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Function and view to retrieve WAL receiver status
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Proposal: custom compression methods