Re: MMAP Buffers

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: MMAP Buffers
Дата
Msg-id 201104172002.11811.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: MMAP Buffers  (Radosław Smogura <rsmogura@softperience.eu>)
Ответы Re: MMAP Buffers  (Radosław Smogura <rsmogura@softperience.eu>)
Список pgsql-hackers
On Sunday 17 April 2011 19:26:31 Radosław Smogura wrote:
> Kernel merges vm_structs. So mappings are compacted. I'm not kernel
> specialist, but skipping memory consumption, for not compacted mappings,
> kernel uses btrees for dealing with  TLB, so it should not matter if there
> is  100 vm_structs or 100000 vm_structs.
But the CPUs TLB cache has maybe 16/256 (1lvl, 2nd) to 64/512 entries. That
will mean that there will be cachemisses all over.
Additionally your scheme requires flushing it regularly...

Andres


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

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Re: MMAP Buffers
Следующее
От: Joshua Berkus
Дата:
Сообщение: Re: MMAP Buffers