audio: Lower default wakeup rate to 100 times / second
authorHans de Goede <hdegoede@redhat.com>
Wed, 9 Oct 2013 19:38:32 +0000 (21:38 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Dec 2013 08:19:26 +0000 (09:19 +0100)
This is more then plenty to keep audio card fifos filles / emptied.

This drops host cpu-load for audio playback inside a linux vm from
13% to 9%.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c

index b3db67979d4ab8f0f5376dc2e6b0b429215718be..fc775110afccfaf8113cf1c5d86f8ada9d3be3c4 100644 (file)
@@ -95,7 +95,7 @@ static struct {
         }
     },
 
-    .period = { .hertz = 250 },
+    .period = { .hertz = 100 },
     .plive = 0,
     .log_to_monitor = 0,
     .try_poll_in = 1,