Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: kgor@inetspace.com (Kent S. Gordon)
Cc: vadim@sable.krasnoyarsk.su, terry@terrym.com, hackers@postgreSQL.org
Date: 1998-04-22T17:18:42Z
Lists: 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)