Re: [PATCH] Instrumenting high latency

From: Martin J. Bligh
Date: Mon Jul 12 2004 - 09:28:44 EST


> Because of the recent discussion about latency in the kernel I asked
> William Lee Irwin III to help create some instrumentation to determine
> where in the kernel there were still sustained periods of non-preemptible
> code. He hacked together this simple patch which times periods according
> to the preempt count. Hopefully we can use this patch in the advice of
> Linus to avoid the "mental masturbation" at guessing where latency is
> and track down real problem areas.

Is this much different from Rick's schedstat's work, which was itself based
on some earlier patches by Bill? I'd hate to end up with two sets of patches,
and schedstats seemed pretty comprehensive to me. He's on vacation, but his
stuff is here, if you want to take a look:

http://eaglet.rain.com/rick/linux/schedstats/


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