Re: [PATCH v2 0/2] Replace PID bitmap allocation with IDR API

From: Rik van Riel
Date: Thu Sep 28 2017 - 15:47:13 EST


On Fri, 2017-09-29 at 01:09 +0530, Gargi Sharma wrote:

> 1000 processes that just sleep and sit around without doing
> anything(100 second sleep and then exit).
>
> pstree with 10,000 processes
> real  Â0m0.859s
> user  Â0m0.536s
> sys  Â0m0.172s
>
> ps with 10,000 processes
> real  Â0m0.918s
> user  Â0m0.100s
> sys  Â0m0.172s
>
> Stats for calling readdir on /proc with 10,000 processes
> real  Â0m0.092s
> user  Â0m0.000s
> sys  Â0m0.020s

Is that with or without your patches?

How does it compare to a kernel with(out) your patches?

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part