[pulseaudio-tickets] [Bug 84585] Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 23 01:26:13 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84585

--- Comment #91 from Alessandro Ferri <alessandroferri_015 at fastwebnet.it> ---
(In reply to Raymond from comment #88)
> http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-October/022019.
> html
> 
> seem  you may need to set fragment time to 80ms

Hi Raymond,
I made the changes to the set up of /etc/pulse/daemon.con that you have
required. There are not differences in the use of cpu by pulseaudio, following
the results. I will attach the file daemon.conf.

pi at raspberrypi ~ $ uname -a
Linux raspberrypi 3.12.30+ #717 PREEMPT Fri Oct 17 18:46:31 BST 2014 armv6l
GNU/Linux

pi at raspberrypi ~ $ top
top - 10:10:52 up 2 min,  2 users,  load average: 2.06, 0.87, 0.33
Tasks:  92 total,   1 running,  91 sleeping,   0 stopped,   0 zombie
%Cpu(s): 46.8 us, 28.9 sy,  0.0 ni, 20.0 id,  0.0 wa,  0.0 hi,  4.3 si,  0.0 st
KiB Mem:    447856 total,   137784 used,   310072 free,    14892 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    68368 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
 2335 pulse      9 -11 87984 4836 3532 S  56.5  1.1   0:25.69 pulseaudio        
 2401 pi        20   0  115m 3816 2420 S  17.5  0.9   0:07.07 shairport         
 2579 root      20   0 22292  11m 4844 S   1.6  2.6   0:03.42 Xorg              
 2757 pi        20   0  4668 1380 1036 R   1.3  0.3   0:00.55 top               


Like I mentioned I have noticed a slight improvement just by adding the
following line to /etc/pulse/system.pa:

load-module module-alsa-card device_id=0 tsched=true tsched_buffer_size=256072
tsched_buffer_watermark=120268

This is the results:

pi at raspberrypi ~ $ top
top - 10:05:31 up 3 min,  2 users,  load average: 1.01, 0.55, 0.23
Tasks:  93 total,   2 running,  91 sleeping,   0 stopped,   0 zombie
%Cpu(s): 41.1 us, 22.8 sy,  0.0 ni, 33.8 id,  0.0 wa,  0.0 hi,  2.3 si,  0.0 st
KiB Mem:    447856 total,   137228 used,   310628 free,    14912 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    68012 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
 2404 pi        20   0  150m 4764 3632 R  40.2  1.1   0:21.11 pulseaudio        
 2400 pi        20   0  115m 3988 2588 S  18.4  0.9   0:07.99 shairport         
 2675 root      20   0 22004  11m 4844 S   1.6  2.5   0:02.42 Xorg              
 2766 pi        20   0  4672 1380 1036 R   1.6  0.3   0:00.53 top               

ut changing the values ​​of

tsched_buffer_size=
tsched_buffer_watermark=

there are no differences

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141023/7437c96e/attachment-0001.html>


More information about the pulseaudio-bugs mailing list