Re: Postgres 8.x on Linux : how to use HugePages

Поиск
Список
Период
Сортировка
От Boszormenyi Zoltan
Тема Re: Postgres 8.x on Linux : how to use HugePages
Дата
Msg-id 4FA104D1.5010704@cybertec.at
обсуждение исходный текст
Ответ на Postgres 8.x on Linux : how to use HugePages  ("STERBECQ Didier" <didier.sterbecq@ratp.fr>)
Ответы RE : Postgres 8.x on Linux : how to use HugePages  ("STERBECQ Didier" <didier.sterbecq@ratp.fr>)
Список pgsql-general
Hi,

2012-05-02 11:28 keltezéssel, STERBECQ Didier írta:

We think of using Linux HugePages to isolate shared memory used by Postgres, hoping that we got more performance.

I see some souce code samples for doing that, but I do not see any information
        about compatibility :   Postgres 7.x, 8.x, 9.x
        about recommandations

Thanks by advance.
Didier Sterbecq.
Mail : didier.sterbecq@ratp.fr
if you are using a kernel older than 2.6.38, you can use this with LD_PRELOAD:
http://oss.linbit.com/hugetlb/

With 2.6.38 and up, HugePages are used automatically in giant allocations.

Best regards,
Zoltán Böszörményi

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de    http://www.postgresql.at/

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

Предыдущее
От: Jayashankar K B
Дата:
Сообщение: Significance of Postgres (version 9.1.1) Compilation parameters - Performance
Следующее
От: Gábor Farkas
Дата:
Сообщение: updating 6million rows, slowdown every 5minutes, manually doing checkpoints?