<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84585#c71">Comment # 71</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84585">bug 84585</a>
              from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
        <pre>

latency seem fixed at 105ms 3.12.25 with 30ms wakeup



126|   0.000) I: [pulseaudio] sink-input.c:     media.name = "Shairport Stream"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     application.name =
"AirAni-b35336"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     native-protocol.peer =
"UNIX socket client"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     native-protocol.version =
"26"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     application.process.id =
"4160"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     application.process.user
= "pi"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     application.process.host
= "raspberrypi"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:    
application.process.binary = "shairport"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     application.language =
"C"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     window.x11.display =
":0.0"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:    
application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
(   9.126|   0.000) I: [pulseaudio] sink-input.c:     module-stream-restore.id
= "sink-input-by-application-name:AirAni-b35336"
(   9.139|   0.012) I: [pulseaudio] protocol-native.c: Requested tlength=250.00
ms, minreq=20.00 ms
(   9.139|   0.000) D: [pulseaudio] protocol-native.c: Adjust latency mode
enabled, configuring sink latency to half of overall latency.
(   9.140|   0.000) D: [alsa-sink] alsa-sink.c: Cutting sleep time for the
initial iterations by half.
(   9.140|   0.000) D: [alsa-sink] alsa-sink.c: Cutting sleep time for the
initial iterations by half.
(   9.149|   0.008) D: [pulseaudio] protocol-native.c: Requested latency=105.00
ms, Received latency=105.00 ms
(   9.149|   0.000) D: [pulseaudio] memblockq.c: memblockq requested:
maxlength=4194304, tlength=25580, base=4, prebuf=22056, minreq=3528 maxrewind=0
(   9.149|   0.000) D: [pulseaudio] memblockq.c: memblockq sanitized:
maxlength=4194304, tlength=25580, base=4, prebuf=22056, minreq=3528 maxrewind=0
(   9.150|   0.000) I: [pulseaudio] protocol-native.c: Final latency 250.01 ms
= 105.01 ms + 2*20.00 ms + 105.00 ms
(   9.150|   0.000) D: [alsa-sink] alsa-sink.c: Cutting sleep time for the
initial iterations by half.
(   9.151|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 105.00ms
(   9.151|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=334280
(   9.151|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=87319
(   9.152|   0.000) D: [alsa-sink] alsa-sink.c: Requesting rewind due to
latency change.
(   9.152|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 352800
bytes.
(   9.152|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 347040 bytes.
(   9.153|   0.000) D: [alsa-sink] alsa-sink.c: before: 86760
(   9.153|   0.000) D: [alsa-sink] alsa-sink.c: after: 86760
(   9.153|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 347040 bytes.
(   9.153|   0.000) D: [alsa-sink] sink.c: Processing rewind...
(   9.154|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 347040 bytes on
render memblockq.
(   9.154|   0.000) D: [alsa-sink] source.c: Processing rewind...
(   9.155|   0.001) D: [pulseaudio] core-subscribe.c: Dropped redundant event
due to change event.
(   9.156|   0.000) D: [pulseaudio] reserve-wrap.c: Device lock status of
reserve-monitor-wrapper@Audio0 changed: not busy
(   9.159|   0.002) D: [pulseaudio] protocol-dbus.c: Interface
org.PulseAudio.Core1.Stream added for object
/org/pulseaudio/core1/playback_stream0
(  11.862|   2.703) I: [alsa-sink] alsa-sink.c: Underrun!
(  11.863|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
30.00 ms</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>