Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001661 [MPD] tweak always 2008-03-16 11:15 2008-10-25 12:39
Reporter hungerburg View Status public  
Assigned To shank
Priority normal Resolution not fixable Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version
  Target Version Product Build
Summary 0001661: cpu usage on sample rate conversion
Description What happened: I play sauerbraten, listen to music all the while, suddenly the game gets jerky, top shows mpd using 30% cpu on a 1.5GHz machine. Why: the track currently playing is encoded 64bit 22kHz.

TWEAK: set a format on the audio device! Possibly mpd then does the conversion instead of alsa lib?

audio_output {
        type "alsa"
        format 44100:16:2
}
Steps To Reproduce
Additional Information the mpd user does not have an .asoundrc. linux kernel is 2.6.24. the system is a recent debian unstable. selecting a specific rate converter does not make a difference.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0001921)
firmit (reporter)
2008-05-06 12:36

I can confirm the jump in cpu usage. I can easily reproduce this by skipping back and forward in the playlist. (mpd has the same cpu usage, using either mpc and sonata when reproducing). Variable bitrate on the file, but also happens on constant bit-rated files.

Normally the daemons is about 3-4 MB - but suddenly (after song-shift) the cpu usage can go as high as 30% on my 1.8 GHz.
(0002155)
cirrus (administrator)
2008-10-15 04:22

see http://mpd.wikia.com/wiki/Tuning [^]

- Issue History
Date Modified Username Field Change
2008-03-16 11:15 hungerburg New Issue
2008-03-16 11:15 hungerburg Status new => assigned
2008-03-16 11:15 hungerburg Assigned To => shank
2008-05-06 12:36 firmit Note Added: 0001921
2008-05-06 13:10 firmit Issue Monitored: firmit
2008-10-15 04:22 cirrus Status assigned => resolved
2008-10-15 04:22 cirrus Resolution open => not fixable
2008-10-15 04:22 cirrus Note Added: 0002155
2008-10-25 12:39 Avuton Olrich Status resolved => closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker