Is it normal for pulseaudio to have 20% CPU load? [not relevant]
While I am quite happy with the Jolla battery standby time, I have noticed that if I am listening to music or podcasts, my battery is draining quite much faster than when I am just using apps.
Looking at the "top" output, it shows that pulsaudio has an average load of around 20% on the CPU while music is playing.
Is this normal and are there any possibilities for optimization?
UPDATE March 2015: At some point of time (probably with one of the updates) the problem disappeared.
Could you be more specific as to where you are getting this data from? Are you are using Crest from Warehouse Repo's to see the CPU usage?
Spam Hunter ( 2014-02-13 17:22:27 +0200 )editjust top in the fingerterm, while music is playing. pulsaudio is always at the top with 17%-20% CPU load.
umko ( 2014-02-13 17:25:17 +0200 )editI have 1-4 % load while playing. What kind of files are you playing? Can you provide a sample?
STiAT ( 2014-02-13 21:21:14 +0200 )editWell, it does not seem to be dependent on the file itself. Take any standard TWiT Mp3 episode. It is the same when I listen through AntennaPod (Android Podcatcher) or the native Media player (17-20% for pulseaudio + a few percentage points for the application itself).
umko ( 2014-02-13 22:10:46 +0200 )edit@umko - What is the sampling rate of your MP3 file? If it is not the native frequency, pulse will have to use a sample rate conversion algorithm, which depending on configuration, may be expensive. If it uses the common speex3 setting, I guess 20% would be normal.
I have read more recent pulseaudio libraries are a bit better in this respect.
mikelima ( 2014-03-14 12:57:52 +0200 )edit