|
From: Mike H. <mho...@gr...> - 2004-06-17 00:49:18
|
I've just started playing with this thanks to Alan, so bare with me.
It seems that the hangup is on the appside in libcrutil, 87% of the time
spent there. Does anyone know how I can get the function breakdown from
within the libs? optstack doesn't seem to be doing the right thing for
me... I've also set the kernel image to the correct place, but I still
get a listing for no-vmlinux.
Running SDP
From the crserver:
CPU: P4 / Xeon, speed 2399.55 MHz (estimated)
Counted GLOBAL_POWER_EVENTS events (time during which processor is not
stopped)
with a unit mask of 0x01 (count cycles when processor is active) count
100000
GLOBAL_POWER_E...|
samples| %|
------------------
397093 37.5357 no-vmlinux
185893 17.5718 libcrserver_crunpacker_copy.so
133904 12.6574 crserver
102459 9.6851 vmlinux
62978 5.9531 libnopspu.so
37783 3.5715 mod_vapi
33447 3.1616 ib_sdp
26554 2.5100 libcrutil.so
23777 2.2475 mod_thh
14750 1.3943 mod_vapi_common
12952 1.2243 libm-2.3.3.so
6974 0.6592 libc-2.3.3.so
6511 0.6155 oprofiled
3013 0.2848 ib_tavor
2060 0.1947 mod_vipkl
1541 0.1457 ib_core
1329 0.1256 mosal
1159 0.1096 oprofile
761 0.0719 bash
559 0.0528 ld-2.3.3.so
504 0.0476 ib_poll
458 0.0433 libpthread-0.61.so
241 0.0228 e1000
208 0.0197 gmond
144 0.0136 libsensors.so.3.0.4
120 0.0113 jbd
103 0.0097 sunrpc
97 0.0092 ext3
67 0.0063 libspuload.so
65 0.0061 nfs
60 0.0057 tcsh
55 0.0052 ehci_hcd
50 0.0047 uhci_hcd
49 0.0046 libcrypto.so.0.9.7a
34 0.0032 sshd
22 0.0021 grep
17 0.0016 ntpd
14 0.0013 insmod
11 0.0010 w83627hf
And the appfaker:
CPU: P4 / Xeon, speed 2399.62 MHz (estimated)
Counted GLOBAL_POWER_EVENTS events (time during which processor is not
stopped)
with a unit mask of 0x01 (count cycles when processor is active) count
100000
GLOBAL_POWER_E...|
samples| %|
------------------
5591272 88.4411 libcrutil.so
141833 2.2435 no-vmlinux
140482 2.2221 libpackspu.so
124020 1.9617 libpackspu_crpacker_copy.so
101485 1.6053 vmlinux
81807 1.2940 atlantis
28508 0.4509 ib_sdp
18818 0.2977 mod_vapi
17494 0.2767 oprofiled
15970 0.2526 libcrfaker.so
10969 0.1735 libc-2.3.3.so
9650 0.1526 mod_thh
6511 0.1030 libm-2.3.3.so
4721 0.0747 Xorg
4642 0.0734 mod_vapi_common
4154 0.0657 libz.so.1.2.1.1
2403 0.0380 ib_tavor
2380 0.0376 libglut.so.3.7
2045 0.0323 ld-2.3.3.so
1939 0.0307 libX11.so.6.2
1266 0.0200 mod_vipkl
1263 0.0200 oprofile
1034 0.0164 bash
859 0.0136 ib_core
749 0.0118 mosal
744 0.0118 libGLU.so.1.3
522 0.0083 xkbcomp
507 0.0080 ximcp.so.2
462 0.0073 ib_poll
458 0.0072 tcsh
392 0.0062 insmod
286 0.0045 libsensors.so.3.0.4
277 0.0044 libpthread-0.61.so
226 0.0036 gmond
192 0.0030 jbd
180 0.0028 e1000
138 0.0022 cc1
138 0.0022 opensm
137 0.0022 libnss_ldap-2.3.3.so
123 0.0019 ext3
103 0.0016 libspuload.so
92 0.0015 sunrpc
77 0.0012 nfs
67 0.0011 libcomplib.so.0.0
61 9.6e-04 uhci_hcd
55 8.7e-04 ehci_hcd
44 7.0e-04 twm
43 6.8e-04 ntpd
36 5.7e-04 libcrypto.so.0.9.7a
31 4.9e-04 cpp
29 4.6e-04 sshd
26 4.1e-04 grep
26 4.1e-04 libGL.so.1.2
22 3.5e-04 irqbalance
21 3.3e-04 libXt.so.6.0
18 2.8e-04 gawk
17 2.7e-04 libtermcap.so.2.0.8
|
|
From: Alan M. <al...@re...> - 2004-06-17 01:12:18
|
On Wed, 2004-06-16 at 20:52, Mike Houston wrote: > I've just started playing with this thanks to Alan, so bare with me. > > It seems that the hangup is on the appside in libcrutil, 87% of the time > spent there. Does anyone know how I can get the function breakdown from > within the libs? There are options for opannotate to do that. See http://oprofile.sourceforge.net/doc/results.html optstack doesn't seem to be doing the right thing for > me... I've also set the kernel image to the correct place, but I still > get a listing for no-vmlinux. > > Running SDP > From the crserver: > > CPU: P4 / Xeon, speed 2399.55 MHz (estimated) > Counted GLOBAL_POWER_EVENTS events (time during which processor is not > stopped) > with a unit mask of 0x01 (count cycles when processor is active) count > 100000 > GLOBAL_POWER_E...| > samples| %| > ------------------ > 397093 37.5357 no-vmlinux > 185893 17.5718 libcrserver_crunpacker_copy.so > 133904 12.6574 crserver > 102459 9.6851 vmlinux > 62978 5.9531 libnopspu.so > 37783 3.5715 mod_vapi > 33447 3.1616 ib_sdp > 26554 2.5100 libcrutil.so > 23777 2.2475 mod_thh > 14750 1.3943 mod_vapi_common > 12952 1.2243 libm-2.3.3.so > 6974 0.6592 libc-2.3.3.so > 6511 0.6155 oprofiled > 3013 0.2848 ib_tavor > 2060 0.1947 mod_vipkl > 1541 0.1457 ib_core > 1329 0.1256 mosal > 1159 0.1096 oprofile > 761 0.0719 bash > 559 0.0528 ld-2.3.3.so > 504 0.0476 ib_poll > 458 0.0433 libpthread-0.61.so > 241 0.0228 e1000 > 208 0.0197 gmond > 144 0.0136 libsensors.so.3.0.4 > 120 0.0113 jbd > 103 0.0097 sunrpc > 97 0.0092 ext3 > 67 0.0063 libspuload.so > 65 0.0061 nfs > 60 0.0057 tcsh > 55 0.0052 ehci_hcd > 50 0.0047 uhci_hcd > 49 0.0046 libcrypto.so.0.9.7a > 34 0.0032 sshd > 22 0.0021 grep > 17 0.0016 ntpd > 14 0.0013 insmod > 11 0.0010 w83627hf > > And the appfaker: > > CPU: P4 / Xeon, speed 2399.62 MHz (estimated) > Counted GLOBAL_POWER_EVENTS events (time during which processor is not > stopped) > with a unit mask of 0x01 (count cycles when processor is active) count > 100000 > GLOBAL_POWER_E...| > samples| %| > ------------------ > 5591272 88.4411 libcrutil.so > 141833 2.2435 no-vmlinux > 140482 2.2221 libpackspu.so > 124020 1.9617 libpackspu_crpacker_copy.so > 101485 1.6053 vmlinux > 81807 1.2940 atlantis > 28508 0.4509 ib_sdp > 18818 0.2977 mod_vapi > 17494 0.2767 oprofiled > 15970 0.2526 libcrfaker.so > 10969 0.1735 libc-2.3.3.so > 9650 0.1526 mod_thh > 6511 0.1030 libm-2.3.3.so > 4721 0.0747 Xorg > 4642 0.0734 mod_vapi_common > 4154 0.0657 libz.so.1.2.1.1 > 2403 0.0380 ib_tavor > 2380 0.0376 libglut.so.3.7 > 2045 0.0323 ld-2.3.3.so > 1939 0.0307 libX11.so.6.2 > 1266 0.0200 mod_vipkl > 1263 0.0200 oprofile > 1034 0.0164 bash > 859 0.0136 ib_core > 749 0.0118 mosal > 744 0.0118 libGLU.so.1.3 > 522 0.0083 xkbcomp > 507 0.0080 ximcp.so.2 > 462 0.0073 ib_poll > 458 0.0072 tcsh > 392 0.0062 insmod > 286 0.0045 libsensors.so.3.0.4 > 277 0.0044 libpthread-0.61.so > 226 0.0036 gmond > 192 0.0030 jbd > 180 0.0028 e1000 > 138 0.0022 cc1 > 138 0.0022 opensm > 137 0.0022 libnss_ldap-2.3.3.so > 123 0.0019 ext3 > 103 0.0016 libspuload.so > 92 0.0015 sunrpc > 77 0.0012 nfs > 67 0.0011 libcomplib.so.0.0 > 61 9.6e-04 uhci_hcd > 55 8.7e-04 ehci_hcd > 44 7.0e-04 twm > 43 6.8e-04 ntpd > 36 5.7e-04 libcrypto.so.0.9.7a > 31 4.9e-04 cpp > 29 4.6e-04 sshd > 26 4.1e-04 grep > 26 4.1e-04 libGL.so.1.2 > 22 3.5e-04 irqbalance > 21 3.3e-04 libXt.so.6.0 > 18 2.8e-04 gawk > 17 2.7e-04 libtermcap.so.2.0.8 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Chromium-dev mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chromium-dev -- Alan Matsuoka Global Professional Services Red Hat Canada, Ltd mailto:al...@re... |
|
From: Keith W. <ke...@tu...> - 2004-06-17 07:43:19
|
Mike Houston wrote: > I've just started playing with this thanks to Alan, so bare with me. > > It seems that the hangup is on the appside in libcrutil, 87% of the time > spent there. Does anyone know how I can get the function breakdown from > within the libs? optstack doesn't seem to be doing the right thing for > me... I've also set the kernel image to the correct place, but I still > get a listing for no-vmlinux. > One problem with profiling is that none of these tools will count programs which are waiting, and that's what you're looking for. Unless it's in a tight poll loop on a non-blocking ioctl or similar, the network suckage you're looking for is going to look just like an idle task as far as a profiler is concerned. What's the difference between your task (presumably) sitting waiting on a network event and an xterm sitting waiting for a keystroke? Keith |
|
From: Alan M. <al...@re...> - 2004-06-17 14:49:14
|
On Thu, 2004-06-17 at 03:43, Keith Whitwell wrote: > Mike Houston wrote: > > I've just started playing with this thanks to Alan, so bare with me. > > > > It seems that the hangup is on the appside in libcrutil, 87% of the time > > spent there. Does anyone know how I can get the function breakdown from > > within the libs? optstack doesn't seem to be doing the right thing for > > me... I've also set the kernel image to the correct place, but I still > > get a listing for no-vmlinux. > > > > One problem with profiling is that none of these tools will count programs > which are waiting, and that's what you're looking for. Unless it's in a tight > poll loop on a non-blocking ioctl or similar, the network suckage you're > looking for is going to look just like an idle task as far as a profiler is > concerned. > I'd have to agree with that. Profiling can find your CPU bound bottlenecks but there's no easy way to account for any wait time. Maybe you should look at strace and write some scripts to process the output. You should be able to get a timestamped output of when you are making system calls. > What's the difference between your task (presumably) sitting waiting on a > network event and an xterm sitting waiting for a keystroke? > > Keith > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Chromium-dev mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chromium-dev -- Alan Matsuoka Global Professional Services Red Hat Canada, Ltd mailto:al...@re... |