[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9
From: |
David MENTRE |
Subject: |
Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9 |
Date: |
Thu, 20 May 2004 16:17:17 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
David MENTRE <address@hidden> writes:
> Following David advice, I have done some cache profiling of texmacs
> using OProfile.
I just realized that what I provided was not what David expected. He
wanted to know where CPU is spent. Using CPU_CLK_UNHALTED event gives a
more detailed event of that.
$ opreport event:CPU_CLK_UNHALTED,DATA_CACHE_MISSES image:*texmacs*
CPU: Athlon, speed 1826.62 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask
of 0x00 (No unit mask) count 3000
Counted DATA_CACHE_MISSES events (Data cache misses) with a unit mask of 0x00
(No unit mask) count 2000
CPU_CLK_UNHALT...|DATA_CACHE_MIS...|
samples| %| samples| %|
------------------------------------
2504757 100.000 3073 100.000 texmacs.bin
CPU_CLK_UNHALT...|DATA_CACHE_MIS...|
samples| %| samples| %|
------------------------------------
2164475 86.4146 1795 58.4120 texmacs.bin
201853 8.0588 903 29.3850 libguile.so.12.3.0
112822 4.5043 149 4.8487 libc-2.3.2.so
13456 0.5372 122 3.9701 ld-2.3.2.so
9506 0.3795 99 3.2216 libX11.so.6.2
2334 0.0932 5 0.1627 libpthread-0.60.so
205 0.0082 0 0.0e+00 libstdc++.so.5.0.5
45 0.0018 0 0.0e+00 libXcursor.so.1.0.2
22 8.8e-04 0 0.0e+00 libXrender.so.1.2.2
10 4.0e-04 0 0.0e+00 libdl-2.3.2.so
8 3.2e-04 0 0.0e+00 libm-2.3.2.so
5 2.0e-04 0 0.0e+00 libguile-ltdl.so.1.0.0
4 1.6e-04 0 0.0e+00 libgcc_s.so.1
4 1.6e-04 0 0.0e+00 libcrypt-2.3.2.so
3 1.2e-04 0 0.0e+00 libfreetype.so.6.3.5
2 8.0e-05 0 0.0e+00 libz.so.1.2.1
1 4.0e-05 0 0.0e+00 xlcDef.so.2
1 4.0e-05 0 0.0e+00 libltdl.so.3.1.0
1 4.0e-05 0 0.0e+00 libqthreads.so.12.3.0
In that setting, guile account for 8% of CPU time but 29% of cache
misses.
Yours,
d.
--
David Mentré <address@hidden>
- [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David MENTRE, 2004/05/20
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David MENTRE, 2004/05/20
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9,
David MENTRE <=
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, Joris van der Hoeven, 2004/05/20
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David Allouche, 2004/05/20
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David MENTRE, 2004/05/21
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, Joris van der Hoeven, 2004/05/21
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David MENTRE, 2004/05/22
- [Texmacs-dev] Arch archive for libgc patch (was: Cache profiling), David Allouche, 2004/05/23
- Re: [Texmacs-dev] Arch archive for libgc patch, David MENTRE, 2004/05/23
- Re: [Texmacs-dev] Arch archive for libgc patch, David MENTRE, 2004/05/23
- Re: [Texmacs-dev] Arch archive for libgc patch, David Allouche, 2004/05/23
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, Joris van der Hoeven, 2004/05/21