Re: [PATCH 3/13] rework schedstats

From: Nick Piggin
Date: Fri Feb 25 2005 - 06:12:09 EST


Rick Lindsley wrote:
I have an updated userspace parser for this thing, if you are still
keeping it on your website.

Sure, be happy to include it, thanks! Send it along. Is it for version
11 or version 12?


Version 12. I can send it to you next week. This was actually
directed at Andrew, who was hosting my parser somewhere for a
while. But it would be probably better if it just goes on your
site.

Sorry, no update to your script because I can't write perl to
save my life, let alone read it :|


Move balancing fields into struct sched_domain, so we can get more
useful results on systems with multiple domains (eg SMT+SMP, CMP+NUMA,
SMP+NUMA, etc).

It looks like you've also removed the stats for pull_task() and
wake_up_new_task(). Was this intentional, or accidental?


I didn't really think wunt_cnt or wunt_moved were very interesting
with respect to the scheduler. wunt_cnt is more or less just the
total number of forks, wunt_moved is a very rare situation where
the new task is moved before being woken up.

The balance-on-fork schedstats code does add some more interesting
stuff here.

pull_task() lost the "lost" counter because that is tricky to put
into the context of sched-domains. It also isn't important in my
current line of analysis because I'm just doing summations over
all CPUs, so in that case your "gained" was always the same as
"lost".

If you have uses for other counters, by all means send patches and
we can discuss (not that I can imagine I'd have any objections).

I can't quite get the patch to apply cleanly against several variants
of 2.6.10 or 2.6.11-rc*. Which version is the patch for?


It was 11-rc4, but it should fit on -rc5 OK too.

-
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/