Re: [HACKERS] removing the exec() from doexec()

From: "Maurice Gittens" <mgittens(at)gits(dot)nl>
To: "Bruce Momjian" <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: <brett(at)abraxas(dot)scene(dot)com>, <pgsql-hackers(at)hub(dot)org>
Subject: Re: [HACKERS] removing the exec() from doexec()
Date: 1998-04-30 06:32:16
Message-ID: 005601bd7401$baac8660$d7fb4fc1@caleb..gits.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----Original Message-----
From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: maillist <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: brett(at)abraxas(dot)scene(dot)com <brett(at)abraxas(dot)scene(dot)com>; pgsql-hackers(at)hub(dot)org
<pgsql-hackers(at)hub(dot)org>
Date: donderdag 30 april 1998 10:12
Subject: Re: [HACKERS] removing the exec() from doexec()

>> This exec() takes 15% of our startup time. I have wanted it removed for
>> many releases now. The only problem is to rip out the code that
>> re-attached to shared memory and stuff like that, because you will no
>> longer loose the shared memory in the exec(). The IPC code is
>> complicated, so good luck. I or others can help if you get stuck.
>>
>

I tried to replace the execs with forks once (an hour or two job).
Indeed I got some shared memory initialisations problems.

I got distracted before I finished it.

Success.

With regrads from Maurice.

Browse pgsql-hackers by date

  From Date Subject
Next Message David Gould 1998-04-30 06:32:31 Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch
Previous Message David Gould 1998-04-30 06:28:42 Re: [HACKERS] text patch -- sugg cmd when run as root