patch: add MAP_HUGETLB to mmap() where supported (WIP)
Вложения
В списке pgsql-hackers по дате отправления:
| От | Richard Poole |
|---|---|
| Тема | patch: add MAP_HUGETLB to mmap() where supported (WIP) |
| Дата | |
| Msg-id | 20130913234125.GC13697@roobarb.crazydogs.org обсуждение исходный текст |
| Ответы |
Re: patch: add MAP_HUGETLB to mmap() where supported (WIP)
Re: patch: add MAP_HUGETLB to mmap() where supported (WIP) [PATCH] Use MAP_HUGETLB where supported (v3) |
| Список | pgsql-hackers |
The attached patch adds the MAP_HUGETLB flag to mmap() for shared memory on systems that support it. It's based on Christian Kruse's patch from last year, incorporating suggestions from Andres Freund. On a system with 4GB shared_buffers, doing pgbench runs long enough for each backend to touch most of the buffers, this patch saves nearly 8MB of memory per backend and improves performances by just over 2% on average. It is still WIP as there are a couple of points that Andres has pointed out to me that haven't been addressed yet; also, the documentation is incomplete. Richard -- Richard Poole http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера