Re: Process Creation Speed

From: Johannes Stezenbach
Date: Mon Apr 19 2004 - 07:11:09 EST


Jamie Lokier wrote:
> Eric wrote:
> > > None of this answers the question which is relevant to linux-kernel:
> > > why does process creation take 7.5ms and fail to scale with CPU
> > > internal clock speed over a factor of 4 (600MHz x86 to 2.2GHz x86).
> >
> > The reason it doesn't scale is probably because the kernel always runs at a
> > specified speed, 100HZ which leaves 10ms(i believe?) timeslices. I would try
> > a HZ patch and bump it up to 1000, i bet you would see a big difference then.
>
> Hmm. The timer speed shouldn't affect the measured speed of fork() at
> all. It might show up if the measuring program is dependent on the
> timer in some way, though.

http://bulk.fefe.de/scalability/ has some benchmarks on the issue.
But I guess the numbers depend heavily on the server/CGI software used.

Johannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/