Re: [PATCH] Use MAP_HUGETLB where supported (v3)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Use MAP_HUGETLB where supported (v3)
Дата
Msg-id 3980.1383145476@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Use MAP_HUGETLB where supported (v3)  (Abhijit Menon-Sen <ams@2ndquadrant.com>)
Ответы Re: [PATCH] Use MAP_HUGETLB where supported (v3)  (Abhijit Menon-Sen <ams@2ndquadrant.com>)
Список pgsql-hackers
Abhijit Menon-Sen <ams@2ndquadrant.com> writes:
> As a compromise, perhaps we can unconditionally round the size up to be
> a multiple of 2MB? That way, we can use huge pages more often, but also
> avoid putting in a lot of code and effort into the workaround and waste
> only a little space (if any at all).

That sounds reasonably painless to me.  Note that at least in our main
shmem segment, "extra" space is not useless, because it allows slop for
the main hash tables, notably the locks table.
        regards, tom lane



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

Предыдущее
От: Yann Fontana
Дата:
Сообщение: Re: Fast insertion indexes: why no developments
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Use MAP_HUGETLB where supported (v3)