Sorry to hijack this thread, but just recently I've stumbled upon this Linux tool: http://lwn.net/Articles/353295/
perf sched latency seems to be particularly convenient and useful. The idea to track time between a point when a thread is waken up and a point when the thread actually run was quite good. I am sure that something like this could be scripted on top of ktr(4) using the trace points in the schedulers code. schedgraph is very cool, but it seems to lack some auto-analysis capabilities which would highlight the most interesting places. In this vein it might make sense to enable KTR and KTR_SCHED in GENERIC. -- Andriy Gapon _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"