Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question abort "thread_waitlock" and "thread_unlock"

Status
Not open for further replies.

fishbed

MIS
Nov 7, 2003
35
CN
hi everyone
Our application have a performance problem
the application have about 70 thread ,we find that the application used more than 90% cpu (P5 570 whit 8 CPU),
but some days ago the application only use 40%cpu.

This is the report whit CURT tools (trace 20 second), with this report we find that thread_unlock and thread_waitlock system call are more high then other system calls.
who can tell me the details about the two system call,
and if the high cpu load is relate the two system call?
thanks a lot.
System Calls Summary
--------------------
Count Total Time % sys Avg Time Min Time Max Time SVC (Address)
(msec) time (msec) (msec) (msec)
======== =========== ====== ======== ======== ======== ================
1469 23.2130 4.71% 0.0158 0.0006 12.9378 thread_waitlock(42fa28)
134 9.4345 1.92% 0.0704 0.0024 7.2769 kwrite(642dc0)
1876 7.8954 1.60% 0.0042 0.0010 0.0161 thread_unlock(42fa58)
82 0.9005 0.18% 0.0110 0.0043 0.0171 kread(642e08)
16 0.2874 0.06% 0.0180 0.0115 0.0261 open(71b1e0)
16 0.0758 0.02% 0.0047 0.0037 0.0062 close(642ca0)
30 0.0461 0.01% 0.0015 0.0011 0.0035 ksetcontext_sigreturn(430130)
5 0.0436 0.01% 0.0087 0.0078 0.0098 _poll(71c0e0)
3 0.0384 0.01% 0.0128 0.0103 0.0160 _select(71c110)
7 0.0292 0.01% 0.0042 0.0034 0.0050 thread_waitact(42f9f8)
6 0.0138 0.00% 0.0023 0.0018 0.0035 thread_twakeup(42faa0)
5 0.0106 0.00% 0.0021 0.0013 0.0029 thread_setmystate(42fcc8)
15 0.0096 0.00% 0.0006 0.0002 0.0022 yield(42f2d8)
6 0.0028 0.00% 0.0005 0.0003 0.0006 _getpid(643120)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top