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

From: "Gran Thyni" <goran(at)bildbasen(dot)se>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Vadim B(dot) Mikheev" <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 14:37:17
Message-ID: 353E009D.26F3982C@bildbasen.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

regards,
--
---------------------------------------------
Göran Thyni, sysadm, JMS Bildbasen, Kiruna

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 1998-04-22 14:42:25 parser problem
Previous Message Gran Thyni 1998-04-22 14:29:49 Re: [HACKERS] Re: Proposal for async support in libpq