Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: kgor(at)inetspace(dot)com (Kent S(dot) Gordon)
Cc: vadim(at)sable(dot)krasnoyarsk(dot)su, terry(at)terrym(dot)com, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?
Date: 1998-04-22 17:18:23
Message-ID: 199804221718.NAA28222@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

OK, mmap added to FAQ.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-04-22 17:18:42 Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?
Previous Message Zeugswetter Andreas SARZ 1998-04-22 16:41:35 patch for explain.c that shows index (il secondo)