From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vk4X1-0002KY-Np for qemu-devel@nongnu.org; Fri, 22 Nov 2013 23:09:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vk4Wu-00067n-DC for qemu-devel@nongnu.org; Fri, 22 Nov 2013 23:09:19 -0500 Message-ID: <52902A59.7020308@weilnetz.de> Date: Sat, 23 Nov 2013 05:08:57 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1385178821-1891-1-git-send-email-agraf@suse.de> In-Reply-To: <1385178821-1891-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1.7 0/2] PPC: Fix BookE timer performance regression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , QEMU Developers Cc: Bharat Bhushan , "qemu-ppc@nongnu.org list:PowerPC" , Fabien Chouteau Am 23.11.2013 04:53, schrieb Alexander Graf: > Thanks to the new timer infrastructure we are now able to trigger timer events > and ridiculous granularities in sub-microsecond orders. > > However, the BookE targets were quite unhappy about that change, showing up > to x10 slowdown on a simple Linux guest bootup test. > > This patch set makes the constant timer facilities in BookE more lazy and less > fine grained than they could be. That way we're at least as good as we were in > QEMU 1.6. > > Alexander Graf (2): > PPC: Make BookE FIT/WDT timers more lazy > PPC: BookE: Make FIT/WDT timers at best millisecond grained > > hw/ppc/ppc_booke.c | 49 ++++++++++++++++++++++++++++++++++++++++++++----- > 1 file changed, 44 insertions(+), 5 deletions(-) Good morning Alexander, I have two small remarks: Patch 1: Could you please use 'QemuTimer' instead of 'struct QEMUTimer' in the modified lines of code? Patch 2: Milliseconds instead of microseconds (commit message and code comment)? Cheers, Stefan