Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd? |
Дата | |
Msg-id | 199804221718.NAA28233@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd? ("Kent S. Gordon" <kgor@inetspace.com>) |
Список | pgsql-hackers |
> > 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. > On FreeBSD the limit for mmap is basically the amount of swap vs a > predefined limit when a kernel is built. This was a project I was > thinking of doing but have not had the time yet. mmap may also be > faster due to tighter intergration in the kernel. In general it is > better to avoid all the SYSV IPC calls and use other methods of doing > the needed operations. Stevens book (either Advanced Unix Programming > or Unix Network Programming) has a good discussion of the pro/CONS of > the SYSV IPC interfaces. I meant, mmap() added to TODO. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
В списке pgsql-hackers по дате отправления: