From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTzeu-0006kb-3v for qemu-devel@nongnu.org; Wed, 09 Oct 2013 15:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTzeo-0000zS-6b for qemu-devel@nongnu.org; Wed, 09 Oct 2013 15:43:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTzen-0000zM-V7 for qemu-devel@nongnu.org; Wed, 09 Oct 2013 15:42:54 -0400 From: Hans de Goede Date: Wed, 9 Oct 2013 21:42:38 +0200 Message-Id: <1381347758-5016-2-git-send-email-hdegoede@redhat.com> In-Reply-To: <1381347758-5016-1-git-send-email-hdegoede@redhat.com> References: <1381347758-5016-1-git-send-email-hdegoede@redhat.com> Subject: [Qemu-devel] [PATCH 2/2] audio: Lower default wakeup rate to 100 times / second List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: Paolo Bonzini , qemu-devel@nongnu.org, Alex Bligh , Hans de Goede 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 --- audio/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio.c b/audio/audio.c index b3db679..fc77511 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -95,7 +95,7 @@ static struct { } }, - .period = { .hertz = 250 }, + .period = { .hertz = 100 }, .plive = 0, .log_to_monitor = 0, .try_poll_in = 1, -- 1.8.3.1