public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric <eric@cisu.net>
To: <stl@nuwen.net>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Process Creation Speed
Date: Sun, 18 Apr 2004 00:44:02 -0500	[thread overview]
Message-ID: <200404180044.02850.eric@cisu.net> (raw)
In-Reply-To: <200404170219.i3H2JYal007333@localhost.localdomain>

On Friday 16 April 2004 21:16, Stephan T. Lavavej wrote:
> 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.
	The difference in speed between regular and FastCGI shouldnt be related to 
process creation time. The speed up you see from FastCGI is because it 
doesn't have to be read from disk each time. So, you're really looking for 
performace enhancements in the wrong place. Tweaking process creation can't 
make your platters spin faster.

> A fair amount of Googling and RTFFAQ didn't answer this.
>
> Stephan T. Lavavej
> http://nuwen.net
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  reply	other threads:[~2004-04-18  5:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-17  2:16 Process Creation Speed Stephan T. Lavavej
2004-04-18  5:44 ` Eric [this message]
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=200404180044.02850.eric@cisu.net \
    --to=eric@cisu.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stl@nuwen.net \
    /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