Your message dated Tue, 4 Apr 2006 09:12:27 -0700
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #354486,
regarding lastfm: Abnormally high CPU usage
to be marked as having been forwarded to the upstream software
author(s) "Christian Muehlhaeuser" <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Hi Chris,
Some Debian users have been reporting that the lastfm player uses a
very large amount of CPU time. Some info in the forwarded message
below, and more at http://bugs.debian.org/354486
Please let me know if you have any ideas.
Thanks,
Paul.
---------- Forwarded message ----------
From: Ian Wienand <[EMAIL PROTECTED]>
Date: Mar 31, 2006 1:09 AM
Subject: Bug#354486: lastfm: Profile information
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Package: lastfm
Version: 1.1.90-2
Followup-For: Bug #354486
Hi,
I'm seeing this very high CPU usage too.
I recompiled with gprof turned on, and I see that most of the time is
being spent in sinc_process() from libsndfile.
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
93.06 22.11 22.11 858 25.77 25.77 sinc_process
3.32 22.90 0.79 61776 0.01 0.01 synth_1to1
This appears to be being called from WaveThread::run()
[1] 99.9 0.28 23.46 WaveThread::run() [1]
22.11 0.00 858/858 sinc_process [2]
0.00 1.23 1033/1033 decodeMP3 [3]
0.07 0.00 858/858 src_short_to_float_array [11]
0.05 0.00 858/858 src_float_to_short_array [12]
0.00 0.00 858/858 src_process [26]
-----------------------------------------------
22.11 0.00 858/858 WaveThread::run() [1]
[2] 93.1 22.11 0.00 858 sinc_process [2]
-----------------------------------------------
Now considering sinc_process has a comment
> Beware all ye who dare pass this point. There be dragons here.
I'm not inclined to dive in there :) I CC'd Erik incase he knows of
anything that might cause this. I confirmed that the src_sinc.c file
is the same as the latest libsndfile download.
Of course, it's probably something stupid that WaveThread::run() is
doing to invoke sinc_process.
The only thing I can think is that this is on my laptop, a Pentium M.
I wonder if the other reporters are running similar hardware?
Thanks,
-i
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages lastfm depends on:
ii libasound2 1.0.10-2 ALSA library
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.3-1 GCC support library
ii libqt4-core 4.1.1-1+b1 Qt 4 core non-GUI functionality ru
ii libqt4-gui 4.1.1-1+b1 Qt 4 core GUI functionality runtim
ii libstdc++6 4.0.3-1 The GNU Standard C++ Library v3
ii libx11-6 6.9.0.dfsg.1-5 X Window System protocol client li
ii xlibs 6.9.0.dfsg.1-5 X Window System client libraries m
Versions of packages lastfm recommends:
ii epiphany-browser [www 1.8.5-2 Intuitive GNOME web browser
ii firefox [www-browser] 1.5.dfsg+1.5.0.1-4 lightweight web browser based on M
ii lynx [www-browser] 2.8.5-2sarge1 Text-mode WWW Browser
ii mozilla-browser [www- 2:1.7.12-1.1 The Mozilla Internet application s
ii opera-static [www-bro 9.0-20060206.1 The Opera Web Browser
ii w3m [www-browser] 0.5.1-4 WWW browsable pager with excellent
-- no debconf information
--- End Message ---