Re: Process Creation Speed
From: Eric (eric_at_cisu.net)
Date: 04/18/04
- Previous message: Benjamin Herrenschmidt: "[PATCH] ppc64: Fix CPU hot unplug deadlock"
- In reply to: Stephan T. Lavavej: "Process Creation Speed"
- Next in thread: Jamie Lokier: "Re: Process Creation Speed"
- Reply: Jamie Lokier: "Re: Process Creation Speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <stl@nuwen.net> Date: Sun, 18 Apr 2004 00:44:02 -0500
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/
-
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/
- Previous message: Benjamin Herrenschmidt: "[PATCH] ppc64: Fix CPU hot unplug deadlock"
- In reply to: Stephan T. Lavavej: "Process Creation Speed"
- Next in thread: Jamie Lokier: "Re: Process Creation Speed"
- Reply: Jamie Lokier: "Re: Process Creation Speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|