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

Поиск
Список
Период
Сортировка
Искать

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

От:
"Maurice Gittens" <mgittens@gits.nl>
Дата:
-----Original Message-----
From: Bruce Momjian 
To: maillist 
Cc: brett@abraxas.scene.com ; pgsql-hackers@hub.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.


FAQ