So, I've been looking to get kernel shark onto gentoo,
for a long time....[1] Look at this link to wet your
appetite!

KernelShark(gui) is a very, very functional way to look at just about
every aspect of kernel performance. It needs trace-cmd to run.
Guess what just made it into the portage tree? 
(dev-util/trace-cmd) THANKS to  Patrick McLean <chutz...@gentoo.org>!

You'll have to make some adjustments to your kernel settings (maybe)
to activate ftrace.

I wrote extensively about KernelShark/trace-cmd/ftrace in this bug, 
which is still looking for a gentoo dev to complete (please?).
BGO 517428.


Now to wet those appetites, look here [2,3] at section 3.7 and 3.8.
It seems our 'pals' at RedHat offer there most optimized servers
that are extremely tweaked in the kernel (real-time) by using these
tools; particularly for their cluster offerings that cost big_bucks.

[2]
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_

MRG/1.3/html/Realtime_Tuning_Guide/sect-Realtime_Tuning_Guide-

Realtime_Specific_Tuning-Using_the_ftrace_Utility_for_Tracing_Latencies.html

[3]
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_

MRG/1.3/html/Realtime_Tuning_Guide/sect-Realtime_Tuning_Guide-

Realtime_Specific_Tuning-Latency_Tracing_Using_trace_cmd.html

MRG (messaging, realtime, grid) version guide 1.3 has tons of performance
tuning ideas for servers that are well worth a glance. If you just want
the pdf, search for:

Red_Hat_Enterprise_MRG-1.3-Realtime_Tuning_Guide-en-US.pdf

KernelShark on top of trace-cmd using ftrace activated in the kernel,
is one bad ars tool; so as soon as some sympathetic dev (ebuild hacker)
puts together an ebuild (overlay is fine) for KernelShark, we be
jammin on da kernel optimizations!

It'll even allow folks to evaluate ram performance with a real timing
chart style data sets.

TEQUILA! for all my pals........


enjoy,
James
repeated from BGO-517428!

[1] https://www.kernel.org/doc/Documentation/trace/ftrace.txt

[2] http://lwn.net/Articles/410200/

[3] http://www.linux-kvm.org/page/Tracing

[4] http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git

[5] http://rostedt.homelinux.com/kernelshark/

[6] http://pkgs.org/download/kernelshark

[7] http://www.youtube.com/watch?v=ABRtzVtUVBo

[8]
http://crtags.blogspot.com/2012/04/dtrace-ftrace-ltrace-strace-so-many-to.html

[9]
https://wiki.linaro.org/LEG/Engineering/TOOLS/tracing-and-profiling-tools#ftrace
 






Reply via email to