Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?
Date
Msg-id 199804221718.NAA28222@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?  ("Kent S. Gordon" <kgor@inetspace.com>)
List 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.

OK, mmap added to FAQ.


--
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 by date:

Previous
From: Zeugswetter Andreas SARZ
Date:
Subject: patch for explain.c that shows index (il secondo)
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?