mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Stephan T. Lavavej" <stl@nuwen.net>
To: <linux-kernel@vger.kernel.org>
Subject: Process Creation Speed
Date: Fri, 16 Apr 2004 19:16:23 -0700	[thread overview]
Message-ID: <200404170219.i3H2JYal007333@localhost.localdomain> (raw)

Why does creating and then terminating a process in GNU/Linux take about 6.3
ms on a Prestonia-2.2?  I observe basically the same thing on a PIII-600.

I'm pretty sure both systems run 2.4.x kernels.  Does this suck less under
2.6.x?  Not sucking at all would mean about 100 microseconds to me.  I don't
understand why it doesn't scale with processor speed.  Does this interact
with the length of a timeslice?
 
It matters to me because the Common Gateway Interface spawns and destroys a
process to handle each request, and I wish it were just fast, rather than
having to use FastCGI.

A fair amount of Googling and RTFFAQ didn't answer this.

Stephan T. Lavavej
http://nuwen.net



             reply	other threads:[~2004-04-17  2:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-17  2:16 Stephan T. Lavavej [this message]
2004-04-18  5:44 ` Eric
2004-04-19  0:30   ` Jamie Lokier
2004-04-19  2:15     ` Eric
2004-04-19  3:04       ` Jamie Lokier
2004-04-19  5:43         ` Eric
2004-04-19  9:48           ` Jamie Lokier
2004-04-19 12:09             ` Johannes Stezenbach
2004-04-19 12:44               ` Stephan T. Lavavej
2004-04-19 22:48                 ` David Lang
2004-04-22 13:40                 ` Jakob Oestergaard
2004-04-19 13:28               ` Jamie Lokier
     [not found] <1MFUQ-1zo-3@gated-at.bofh.it>
     [not found] ` <1MGnU-1U9-19@gated-at.bofh.it>
2004-04-19 15:43   ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200404170219.i3H2JYal007333@localhost.localdomain \
    --to=stl@nuwen.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®