Re: POSIX question

Поиск
Список
Период
Сортировка
От Florian Pflug
Тема Re: POSIX question
Дата
Msg-id 01800D55-D7F2-452D-B49F-3EF8A4BBF566@phlo.org
обсуждение исходный текст
Ответ на Re: POSIX question  (Radosław Smogura <rsmogura@softperience.eu>)
Ответы Re: POSIX question  (Radosław Smogura <rsmogura@softperience.eu>)
Список pgsql-hackers
On Jun20, 2011, at 17:05 , Radosław Smogura wrote:
> I'm sure at 99%. When I ware "playing" with mmap I preallocated, probably,
> about 100GB of memory.

You need to set vm.overcommit_memory to "2" to see the difference. Did
you do that?

You can do that either with "echo 2 > /proc/sys/vm/overcommit_memory"
or by editing /etc/sysctl.conf and issuing "sysctl -p".

best regards,
Florian Pflug



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

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Re: POSIX question
Следующее
От: Andres Freund
Дата:
Сообщение: Re: POSIX question