| From: | "Vadim B(dot) Mikheev" <vadim(at)sable(dot)krasnoyarsk(dot)su> |
|---|---|
| To: | "Gran Thyni" <goran(at)bildbasen(dot)se> |
| Cc: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, 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-23 10:33:31 |
| Message-ID: | 353F18FB.9F86EC12@sable.krasnoyarsk.su |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Göran Thyni wrote:
>
> 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.
MAP_INHERIT
Permit regions to be inherited across execve(2) system calls.
- exec isn't problem...
Vadim
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Valentin Cismaru | 1998-04-23 11:59:22 | unsubscribe |
| Previous Message | Michael Meskes | 1998-04-23 07:33:45 | Just another question |