[dtrace-discuss] dtrace wired issue

Sean McGrath - Sun Microsystems Ireland
Mon, 14 Jan 2008 12:52:55 -0000

Aubrey Li stated:
< Every first time to run dtrace command after the system boot up,
< It takes a very long time to get response.
< But the second time is OK, as follows:
<
< # time dtrace -l > /dev/null
<
< real    4m8.011s
< user    0m0.116s
< sys     0m2.420s

  This first time is probably when the kernel is loading the dtrace modules.
  Though still seems slow, 4 minutes.
    What kind of system (cpu speed etc) is the machine ?

< # time dtrace -l > /dev/null
<
< real    0m0.632s
< user    0m0.075s
< sys     0m0.553s
<

 And the second time, the dtrace modules are already loaded so less time.

< Any clue?
<
< Thanks,
< -Aubrey

Regards,
--
Sean.
.