Dave Burleson
2007-Oct-17 13:54 UTC
[dtrace-discuss] Dtrace scripts for performance data gathering
I am looking for Dtrace scripts that can be used to collect data during performance tests. I am especially interested in IO but CPU, memory, threads, etc are needed as well. Thanks, Dave
Jim Mauro
2007-Oct-17 14:06 UTC
[dtrace-discuss] Dtrace scripts for performance data gathering
Hi Dave - Without a more specific set of goals and objectives, I would not start with DTrace. I would start with the standard set of "system" tools: - Collect iostat data to track IO rates and service times. - Collect mpstat data to track CPU utilization and statistics. - Collect prstat data to track process resource consumption - Collect "prstat -m" data to track process/thread microstates - Use nicstat for network data (http://blogs.sun.com/timc/entry/nicstat_the_solaris_network_monitoring) Having said that, Brendan Gregg''s DTrace Toolkit is made-to-order: http://www.brendangregg.com/dtrace.html#DTraceToolkit Something like Brendan''s dexplorer is probably reasonable to start with. But, again, using DTrace to randomly collect system data is, in my opinion, slightly off center in terms of why and when we use DTrace. There are excellent bundled Solaris utilities that you should be using as a starting point. Get a view of what the "system" is doing, then use dtrace to drill-down. Dave Burleson wrote:> I am looking for Dtrace scripts that can be used to > collect data during performance tests. I am especially > interested in IO but CPU, memory, threads, etc are needed > as well. > > Thanks, > > Dave > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org >
Benoit
2007-Oct-17 16:41 UTC
[dtrace-discuss] Dtrace scripts for performance data gathering
This is the purpose of *dexplorer *part of the DTrace toolkit. It produces a .gz file . -benoit Dave Burleson wrote:>I am looking for Dtrace scripts that can be used to >collect data during performance tests. I am especially >interested in IO but CPU, memory, threads, etc are needed >as well. > >Thanks, > >Dave >_______________________________________________ >dtrace-discuss mailing list >dtrace-discuss at opensolaris.org > >-- <http://www.sun.com> Benoit Chaffanjon Customer Benchmarking Sun Solution Center - *Sun Microsystems, Inc.* 12 Network Circle, UMPK12-128 Menlo Park, CA 94025 US Phone 650-786-6177 (x86177) Mobile 510-396-0104 Blog : Http://blogs.sun.com/MrBenchmark Email benoit at sun.com <http://www.sun.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20071017/8d0d186e/attachment.html>
Stefan Parvu
2007-Oct-17 18:06 UTC
[dtrace-discuss] Dtrace scripts for performance data gathering
Dave Burleson wrote:> I am looking for Dtrace scripts that can be used to > collect data during performance tests. I am especially > interested in IO but CPU, memory, threads, etc are needed > as well.Start with sysperfstat, nicstat [1] - we are using these 100% inside our projects with very much success. swapinfo as well could help you. As well the other friends are around: vmstat, mpstat, iostat, corestat (if on Niagara) I would as well enable process accounting + extended process accounting. I wouldn''t start with DTrace from step 1. If I would find a problem or something interesting to understand I would select one of DTT''s utility and start drilling :) thanks, Stefan --- [1] http://www.brendangregg.com/k9toolkit.html