Re: single task postgresql - Mailing list pgsql-hackers

From mlw
Subject Re: single task postgresql
Date
Msg-id 3C7BE1B7.55EA7EB3@mohawksoft.com
Whole thread Raw
In response to single task postgresql  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov wrote:
> 
> Having frustrated with performance on Windows box I'm wondering if it's
> possible to get postgresql optimized for working without shared memory,
> say in single-task mode. It looks like it's shared memory emulation on disk
> (by cygipc daemon) is responsible for performance degradation.
> In our project we have to use Windows for desktop application and it's
> single task, so we don't need shared memory. In principle, it's possible
> to hack cygipc, so it wouldn't emulate shared memory and address calls
> to normal memory, but I'm wondering if it's possible from postgres side.
> 
>         Regards,

How does cygwin do shared memory on Windows? Windows support real shared
memory, surely the cygwin guys are using "real" shared memory. Are you sure
that this is the problem? If so, might we not be able to use a few
macros/#ifdefs to do it right?

I'll be up for that if you guys don't mind some "ifdef/endif" stuff here and
there.


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: quotes in SET grammar
Next
From: Tom Lane
Date:
Subject: Re: quotes in SET grammar