From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNWAg-0004XH-2O for qemu-devel@nongnu.org; Thu, 15 Jan 2009 12:38:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNWAd-0004UH-7y for qemu-devel@nongnu.org; Thu, 15 Jan 2009 12:38:21 -0500 Received: from [199.232.76.173] (port=35633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNWAd-0004U3-09 for qemu-devel@nongnu.org; Thu, 15 Jan 2009 12:38:19 -0500 Received: from mx2.redhat.com ([66.187.237.31]:38846) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNWAc-0006qB-IV for qemu-devel@nongnu.org; Thu, 15 Jan 2009 12:38:18 -0500 Message-ID: <496F740C.7000405@redhat.com> Date: Thu, 15 Jan 2009 18:36:12 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option References: <496B965A.9000701@eu.citrix.com> <200901142007.42812.paul@codesourcery.com> <496E4E00.3060105@eu.citrix.com> <200901142130.00991.paul@codesourcery.com> <496E6B93.2080107@eu.citrix.com> <20090115130848.GB32368@shareable.org> <5E237914-B830-420A-99BE-4C1959DDFC66@exactcode.de> <20090115162347.GA5440@shareable.org> In-Reply-To: <20090115162347.GA5440@shareable.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paul Brook Jamie Lokier wrote: > I don't know why "ypan" is off by default; Performance. When reaching the end of video memory ypan does a memcpy on the framebuffer. ywrap doesn't need the memcpy, but doesn't work on all hardware. The memcpy is painful slow because framebuffer *read* access isn't something gfx cards are optimized for. > If you're using Linux guest with VESA framebuffer console, rather than > a text-mode console, I'd recommend kernel boot option "video=vesafb:ypan", > to save considerable CPU when scrolling the console. Should work inside qemu because you should not face the slow-reads issue then. On real hardware it very likely makes scrolling noticeable slower. cheers, Gerd