From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwVun-0005XF-EC for qemu-devel@nongnu.org; Thu, 25 Aug 2011 05:07:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwVul-0008Mz-Ce for qemu-devel@nongnu.org; Thu, 25 Aug 2011 05:07:57 -0400 Received: from goliath.siemens.de ([192.35.17.28]:28752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwVuk-0008MO-VL for qemu-devel@nongnu.org; Thu, 25 Aug 2011 05:07:55 -0400 Message-ID: <4E5610E7.1030609@siemens.com> Date: Thu, 25 Aug 2011 11:07:51 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <3d9d904a1e4939a147f8954c9e0d4cdaf3d44c31.1314033132.git.jan.kiszka@siemens.com> <4E55F799.2050103@redhat.com> In-Reply-To: <4E55F799.2050103@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 5/6] vga: Use linear mapping + dirty logging in chain 4 memory access mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Anthony Liguori , qemu-devel , Gerd Hoffmann On 2011-08-25 09:19, Avi Kivity wrote: > On 08/22/2011 08:12 PM, Jan Kiszka wrote: >> Most VGA memory access modes require MMIO handling as they demand weird >> logic to get a byte from or into the video RAM. However, there is one >> exception: chain 4 mode with all memory planes enabled for writing. This >> mode actually allows lineary mapping, which can then be combined with >> dirty logging to accelerate KVM. >> >> This patch accelerates specifically VBE accesses like they are used by >> grub in graphical mode. Not only the standard VGA adapter benefits from >> this, also vmware and spice in VGA mode. >> >> > > On which version of grub does this work? This isn't having any effect > on my Fedora grub. It's both grub1 (0.97) in graphical mode as used by OpenSUSE 11.4 and grub2 (1.99-rc1) of Ubuntu 11.04. Is Fedora's grub still slow or was it already fast before? Which Fedora? Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux