If cpu seems to be idle, the tool latencytop probably can give you some clue. 
It's developed for OpenSolaris but Solaris 10 should work too (with glib 2.14 
installed). You can get a copy of v0.1 at 
http://opensolaris.org/os/project/latencytop/

To use latencytop, open a terminal and start "latencytop -s -k 2". The tool 
will show a window with activities that are being blocked in the system. Then 
you can launch your application to reproduce the performance problem in another 
terminal, switch back to latencytop window, and use "<" and ">" to find your 
process. The list will tell you which function is causing the delay.

After a couple minutes you may press "q" to exit from latencytop. When it ends, 
a log file /var/log/latencytop.log will be created. It includes the stack trace 
of waiting for IO, semaphore etc. when latencytop was running. If you post the 
log here, I can probably extract a list of worst delays in ZFS source code, and 
other experts may comment.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to