Lockstat output analyse (help needed)

From: Sébastien Cantos (scantos@technodiva.com)
Date: Tue Mar 30 2004 - 10:46:38 EST


Hello, Is there any tuning expert that can help me analyse this output from
lockstat ?
I've been told that spending 174455370 ns in ufs_dirlook is very long.
Have you any experience with this ?

I have a performance problem with this box and I'm trying to find where it
is.

Thanks in advance for your answers.

bash-2.00# lockstat -e 4,5,6,7 sleep 10

R/W writer blocked by writer: 15 events

Count indv cuml rcnt nsec Lock Caller
----------------------------------------------------------------------------

---
    8  53%  53% 1.00 178582005 0x7b784de0             write+0x88
    6  40%  93% 1.00 174140796 0x79289cd0             ufs_remove+0x11c
    1   7% 100% 1.00 156451713 0x796e5918             ufs_rename+0x2c4
----------------------------------------------------------------------------
---
R/W writer blocked by readers: 9 events
Count indv cuml rcnt     nsec Lock                   Caller
----------------------------------------------------------------------------
---
    4  44%  44% 1.00    39398 kas+0x1c               as_map+0x44
    2  22%  67% 1.00    45546 kas+0x1c               as_unmap+0x40
    1  11%  78% 1.00 51352620 0x7b784de0             write+0x88
    1  11%  89% 1.00    35207 0x700da7cc             mir_wsrv+0x1b4
    1  11% 100% 1.00    76729 0x796e5918             ufs_rename+0x2c4
----------------------------------------------------------------------------
---
R/W reader blocked by writer: 30 events
Count indv cuml rcnt     nsec Lock                   Caller
----------------------------------------------------------------------------
---
   12  40%  40% 1.00   125038 0x700da7cc             mir_wsrv+0x14
    6  20%  60% 1.00 174455370 0x79289cd0             ufs_dirlook+0xc4
    3  10%  70% 1.00 36545477 0x78e6ac28             ufs_dirlook+0xc4
    2   7%  77% 1.00  8064859 0x79bf03c0             ufs_dirlook+0xc4
    2   7%  83% 1.00  4756371 0x796e5918             ufs_dirlook+0xc4
    1   3%  87% 1.00 256200053 0x79289cd4             ufs_getattr+0x50
    1   3%  90% 1.00 34608171 0x7b784de0             readv+0xec
    1   3%  93% 1.00    20729 kas+0x1c               as_pagelock+0x10
    1   3%  97% 1.00   568432 0x717a301c             ufs_getpage+0x280
    1   3% 100% 1.00 757174098 0x796e5918             getdents64+0xbc
----------------------------------------------------------------------------
---
--
Sibastien Cantos <scantos@technodiva.com>
Responsable riseau et systhmes
Neopost DIVA
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:22 EDT