[dtrace-discuss] broken dtrace in b118

2009-08-17 Thread Piotr Jasiukajtis
Hi, Is this a known issue? $ uname -srv SunOS 5.11 snv_118 $ cat /etc/release OpenSolaris Development snv_118 X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.

[dtrace-discuss] CPU time and IO time

2009-08-17 Thread vhiz
Hi, I am trying to characterize some benchmark programs using dtrace. The first step is to determine the time that a program spends on the CPU (doing computations), and the time it spends doing IO. The cpu time can be easily determined using the on-cpu and off-cpu probes. I am having

Re: [dtrace-discuss] broken dtrace in b118

2009-08-17 Thread Peter Memishian
Is this a known issue? Yes: 6855027, fixed in snv_119. $ uname -srv SunOS 5.11 snv_118 $ cat /etc/release OpenSolaris Development snv_118 X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to

Re: [dtrace-discuss] CPU time and IO time

2009-08-17 Thread Jim Mauro
The easiest way to do this is using the sleep/wakeup probes in the sched provider. From the process/thread perspective, once they issue an IO, they sit on a sleep queue until the IO is completed, at which point they're issued a wakeup. io:start/io:::done is usefull for a system view, but that's