Hello,
I hope i did not send it twice :-)
I am trying to profile my own ldapd process with the use of callgrind. I am
running my software on quite powerful machine equipped with 2 x E5440 @
2.83GHz CPU. So I have total of 8 CPU cores that I can use. Normally under
heavy load my ldapd process takes ~ 400 % of CPU (4 full cores utilized for
handling ldap requests). My ldapd is multi-threaded daemon. When I run
however ldapd under control of valgrind/callgrind I can utilize only 12.5%
of CPU (roughly 1/8 of CPU power). I suspected that it is because only one
of 8 cores was used by valgrind/callgind. When I checked however CPU usage
then “sar –P ALL” command showed all cores were used equally. I thought
that maybe “--separate-threads=yes” switch could help but it didn't.
I am using callgrind-0.10.1-1.i586.rpm on SLES 9 sp4.
I am calling callgrind by:
valgrind --tool=callgrind /bin/ldapd &
Can anybody provide any hint how to use valgrind/callgrind to be able to
use my whole server capacity and simulate larger load for the process being
controlled by callgrind?
Thanks,
Roman
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users