fork/exec for backend

From: Goran Thyni <goran(at)bildbasen(dot)se>
To: hackers(at)postgresql(dot)org
Subject: fork/exec for backend
Date: 1998-01-24 19:24:27
Message-ID: 19980124192427.8004.qmail@guevara.bildbasen.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I am still wondering why postmaster fork/exec instead of
just forking when receiving a new connection.

Fork on modern unices (linux and (a think) *BSD) cost
almost nothing (in time and memory) thanks to COW (copy-on-write).
Exec in expensive as it breaks COW.

I know this is not the time (have too wait 'til after 6.3),
but shouldn't this be on the ToDo-list.

best regards,
--
---------------------------------------------
Gran Thyni, sysadm, JMS Bildbasen, Kiruna

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-01-24 19:39:11 Re: [HACKERS] Grant/Revoke problems
Previous Message Maarten Boekhold 1998-01-24 10:32:46 Re: Copyright question: GPL patches for non-GPL packages (fwd)