|
|
9ae3a8 |
From c67b37a75c6b76da744853a24d029f8b5fde9177 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
Date: Wed, 15 Jan 2014 09:14:32 -0500
|
|
|
9ae3a8 |
Subject: [PATCH 05/14] audio: Lower default wakeup rate to 100 times / second
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Message-id: <f7a7da0d506fd9969e30a4a164dbfe5146bba766.1389776721.git.mrezanin@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 56720
|
|
|
9ae3a8 |
O-Subject: [RHEL7 qemu-kvm PATCH 2/3] audio: Lower default wakeup rate to 100 times / second
|
|
|
9ae3a8 |
Bugzilla: 1017636
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
From: Hans de Goede <hdegoede@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
This is more then plenty to keep audio card fifos filles / emptied.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
This drops host cpu-load for audio playback inside a linux vm from
|
|
|
9ae3a8 |
13% to 9%.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
9ae3a8 |
(cherry picked from commit 40a814b0b1789b94c483190b3208729b5182e5bd)
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
audio/audio.c | 2 +-
|
|
|
9ae3a8 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
audio/audio.c | 2 +-
|
|
|
9ae3a8 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/audio/audio.c b/audio/audio.c
|
|
|
9ae3a8 |
index ebf7d3f..33b3fb6 100644
|
|
|
9ae3a8 |
--- a/audio/audio.c
|
|
|
9ae3a8 |
+++ b/audio/audio.c
|
|
|
9ae3a8 |
@@ -95,7 +95,7 @@ static struct {
|
|
|
9ae3a8 |
}
|
|
|
9ae3a8 |
},
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
- .period = { .hertz = 250 },
|
|
|
9ae3a8 |
+ .period = { .hertz = 100 },
|
|
|
9ae3a8 |
.plive = 0,
|
|
|
9ae3a8 |
.log_to_monitor = 0,
|
|
|
9ae3a8 |
.try_poll_in = 1,
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.8.3.1
|
|
|
9ae3a8 |
|