Re: 2.5.46-mm2

Toon van der Pas (toon@vanvergehaald.nl)
Mon, 11 Nov 2002 00:10:17 +0100


On Sun, Nov 10, 2002 at 09:11:30AM -0800, William Lee Irwin III wrote:
> William Lee Irwin III wrote:
> >> Go for it, I'm just trying to get tiobench to actually run (seems to
> >> have new/different "die from too many threads" behavior wrt. --threads).
> >> Dropping me a fresh kernel shouldn't slow anything down.
>
> On Sun, Nov 10, 2002 at 08:58:28AM -0800, Andrew Morton wrote:
> > It could be the procps thing? `tiobench --threads 256' shows up as a
> > single process in top and ps due to the new thread consolidation feature.
> > If you run `ps auxm' or hit 'H' in top, all is revealed. Not my fave
> > feature that.
>
> Turns out monitoring things via /proc/ slowed it down by some ridiculous
> factor while it was trying to spawn threads. 9 hours became less than 1s
> when I stopped looking.

Ah!
You just rediscovered the strange world of quantum physics:
the result of your experiment depends on wether you're looking or not.

:-)

-- 
 /"\                             | "I never much liked Macs.
 \ /     ASCII RIBBON CAMPAIGN   |  All the interesting stuff is hidden away."
  X        AGAINST HTML MAIL     |    --  Linus Torvalds (at the Geek Cruise)
 / \
-
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/