Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?
В списке pgsql-hackers по дате отправления:
| От | Vadim B. Mikheev |
|---|---|
| Тема | Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd? |
| Дата | |
| Msg-id | 353F18FB.9F86EC12@sable.krasnoyarsk.su обсуждение |
| Ответ на | Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd? (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Список | pgsql-hackers |
Göran Thyni wrote:
>
> Bruce Momjian wrote:
> >
> > >
> > > Bruce Momjian wrote:
> > > >
> > > Could we use mmap (instead of shmem) with MAP_ANON flag to get more memory
> > > for shared buffer pool ?
> > > I'm using FreeBSD, man mmap says:
> > Yes, we could. I don't think we do because we an anon-mapped region is
> > the same as shmem, but if the limit is higher for anon mmap, we could
> > used it.
>
> It could be faster too,
> and it API is cleaner too (IMHO).
> If we resolve the fork/exec -> just fork problem in the server
> mmap would make a good improvment in simplicity and probably
> speed too.
MAP_INHERIT
Permit regions to be inherited across execve(2) system calls.
- exec isn't problem...
Vadim
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера