Re: single task postgresql

From: Barry Lind <barry(at)xythos(dot)com>
To: mlw <markw(at)mohawksoft(dot)com>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: single task postgresql
Date: 2002-02-06 02:30:45
Message-ID: 3C609555.5040608@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

If you can improve the ipc implementation under cygwin that would be
great. Perhaps you could look at the source for the current
implementation
(http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/), and
come up with a patch that would improve the performance/implmentation.

--Barry

mlw wrote:
> Oleg Bartunov wrote:
>
>>we have to support earlier windows which have no shared memory support.
>>
>
> I'm pretty sure it could a configuration option then. Using a file is just
> plain stupid. "Every" version of Windows has supported shared memory in one
> form or another.
>
> What version are you wishing to support which the cygwin guys claim does not
> have shared memory?
>
> I'm prety sure I can write a shared memory interface for Windows which should
> work across all "supported" versions.
>
> (BTW I have been a Windows developer since version 1.03.)
>
>
>
>
>>On Tue, 26 Feb 2002, mlw wrote:
>>
>>
>>>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.
>>>
>>>
>> Regards,
>> Oleg
>>_____________________________________________________________
>>Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
>>Sternberg Astronomical Institute, Moscow University (Russia)
>>Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
>>phone: +007(095)939-16-83, +007(095)939-23-83
>>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-02-06 03:34:10 Re: PostgreSQL v7.2 Final Release
Previous Message Christopher Kings-Lynne 2002-02-06 02:03:21 Re: Display of TIMESTAMP in 7.2