[mythtv] Watch Recordings is slow with SVN on my Epia
Daan de Beer
mythdev at tiscali.nl
Tue Aug 29 06:36:37 UTC 2006
Hello All,
As advised, I profiled my system using OProfile, but it seems I can not use
any profiling events, since my CPU is not supported or something. I enabled
all APIC options, disabled SMP and compiled the oprofile kernel support as
module. Profiling does work, so I do not know wether or not it is a problem
that only timing is supported.
Results from profiling:
pvr1 linux # opreport
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
TIMER:0|
samples| %|
------------------
2159 49.4050 vmlinux
1775 40.6178 libfb.so
193 4.4165 libc-2.4.so
79 1.8078 libjpeg.so.62.0.0
55 1.2586 libqt-mt.so.3.3.6
35 0.8009 libz.so.1.2.3
24 0.5492 x11vnc
15 0.3432 Xorg
8 0.1831 libpng12.so.0.12.0
5 0.1144 bash
5 0.1144 libfreetype.so.6.3.8
3 0.0686 libxaa.so
2 0.0458 ld-2.4.so
2 0.0458 libX11.so.6.2.0
2 0.0458 libfontconfig.so.1.0.4
1 0.0229 oprofiled
1 0.0229 libstdc++.so.6.0.8
1 0.0229 libXrender.so.1.3.0
1 0.0229 via_drv.so
1 0.0229 libdri.so
1 0.0229 mouse_drv.so
1 0.0229 libmythtv-0.19.so.0.19.0
1 0.0229 via_rhine
pvr1 linux # opreport -xf --merge tgid
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
TIMER:0|
samples| %|
------------------
2159 49.4050 /usr/src/linux-2.6.17-suspend2-r4/vmlinux
1775 40.6178 /usr/lib/xorg/modules/libfb.so
193 4.4165 /lib/libc-2.4.so
79 1.8078 /usr/lib/libjpeg.so.62.0.0
55 1.2586 /usr/qt/3/lib/libqt-mt.so.3.3.6
35 0.8009 /lib/libz.so.1.2.3
24 0.5492 /usr/bin/x11vnc
15 0.3432 /usr/bin/Xorg
8 0.1831 /usr/lib/libpng12.so.0.12.0
5 0.1144 /bin/bash
5 0.1144 /usr/lib/libfreetype.so.6.3.8
3 0.0686 /usr/lib/xorg/modules/libxaa.so
2 0.0458 /lib/ld-2.4.so
2 0.0458 /usr/lib/libX11.so.6.2.0
2 0.0458 /usr/lib/libfontconfig.so.1.0.4
1 0.0229 /usr/bin/oprofiled
1 0.0229 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
1 0.0229 /usr/lib/libXrender.so.1.3.0
1 0.0229 /usr/lib/xorg/modules/drivers/via_drv.so
1 0.0229 /usr/lib/xorg/modules/extensions/libdri.so
1 0.0229 /usr/lib/xorg/modules/input/mouse_drv.so
1 0.0229 /usr/local/lib/libmythtv-0.19.so.0.19.0
pvr1 mythtv # opreport -c
warning: /via_rhine could not be found.
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples % app name symbol name
-------------------------------------------------------------------------------
1860 42.5629 vmlinux acpi_processor_idle
1860 100.000 vmlinux acpi_processor_idle [self]
-------------------------------------------------------------------------------
1775 40.6178 libfb.so (no symbols)
1775 100.000 libfb.so (no symbols) [self]
-------------------------------------------------------------------------------
206 4.7140 vmlinux acpi_safe_halt
206 100.000 vmlinux acpi_safe_halt [self]
-------------------------------------------------------------------------------
193 4.4165 libc-2.4.so (no symbols)
193 100.000 libc-2.4.so (no symbols) [self]
-------------------------------------------------------------------------------
79 1.8078 libjpeg.so.62.0.0 (no symbols)
79 100.000 libjpeg.so.62.0.0 (no symbols) [self]
-------------------------------------------------------------------------------
55 1.2586 libqt-mt.so.3.3.6 (no symbols)
55 100.000 libqt-mt.so.3.3.6 (no symbols) [self]
-------------------------------------------------------------------------------
36 0.8238 vmlinux get_page_from_freelist
36 100.000 vmlinux get_page_from_freelist [self]
-------------------------------------------------------------------------------
35 0.8009 libz.so.1.2.3 (no symbols)
35 100.000 libz.so.1.2.3 (no symbols) [self]
-------------------------------------------------------------------------------
24 0.5492 x11vnc (no symbols)
24 100.000 x11vnc (no symbols) [self]
-------------------------------------------------------------------------------
15 0.3432 Xorg (no symbols)
15 100.000 Xorg (no symbols) [self]
-------------------------------------------------------------------------------
10 0.2288 vmlinux __copy_from_user_ll
10 100.000 vmlinux __copy_from_user_ll [self]
-------------------------------------------------------------------------------
9 0.2059 vmlinux __copy_to_user_ll
9 100.000 vmlinux __copy_to_user_ll [self]
-------------------------------------------------------------------------------
This means little to me, but what I understand from it, a lot of CPU is taken
by libfb.so. Can I do something more to debug this?
My Xorg.0.log can be found at http://daan.homelinux.org/Xorg.0.log
Regards,
Daan de Beer
More information about the mythtv-dev
mailing list