FS#10203 - mpd high cpu load (at random)
Attached to Project:
Arch Linux
Opened by Maximilian Müller (kakTuZ) - Tuesday, 15 April 2008, 21:13 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 09 December 2008, 00:08 GMT
Opened by Maximilian Müller (kakTuZ) - Tuesday, 15 April 2008, 21:13 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 09 December 2008, 00:08 GMT
|
Details
Description:
For the duration of one song, mpc produces high cpu load by chance. Up to 15% cpu utilization (on a dual core 2GHz system -> equals 30% for a single core). Probability is about 10-20% for a hight cpu load. In the other cases mpd uses only few cpu power (<2%) or moderate 5-8%. Independent of mp3 file. If the same song is started severeal times, some passes go smooth, while other have the hight cpu load. Observed with 128kbit to 320kbit files. Additional info: * mpd 0.13.1-2 * (files are on an ntfs-3g mounted partition, but i don't think that thats the problem, becuase mplayer and totem behave normal) Steps to reproduce: skip to next song, occurs by chance |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 09 December 2008, 00:08 GMT
Reason for closing: Deferred
Additional comments about closing: Apparently this is ALSA specific. Not sure we can fix it
Tuesday, 09 December 2008, 00:08 GMT
Reason for closing: Deferred
Additional comments about closing: Apparently this is ALSA specific. Not sure we can fix it
http://ubuntuforums.org/showthread.php?p=4726831
http://musicpd.org/mantis/view.php?id=485
mpd takes ~20-30% cpu
restarting solves this problem temporarily but after a while it is back
MPD was using 30-40% of one core, but now i have changed to using OSS instead of ALSA it never goes above 1%.
Instructions to install OSS on arch are here: http://wiki.archlinux.org/index.php/OSS
http://mpd.wikia.com/wiki/Troubleshooting_Libao
Specifically:
driver_options "period_size=50000"