From: Alan Cox Subject: Re: early_cpu_init() and identify_cpu() Date: Mon, 16 Jul 2007 10:23:29 +0100 Message-ID: <20070716102329.62b8bf17@the-village.bc.nu> References: <4697C16D.76E4.0078.0@novell.com> <469B28F5.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <469B28F5.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org > significant (though I assume WC would at best help a little, I'm considering > other approaches, too): Scrolling a 1280x1024x16 screen takes, on the test > system I'm primarily trying this out on, on the order of a second. This is A lot of work on this has been done in X by the X and Gnome developers including producing some routines which use the largest possible aligned loads to reduce the big cost (which is PCI reads). Having a write combining video memory can help (but some cards also put stuff like command queues there which X cannot WC). It is usually much cheaper to simply rewrite a text display onto a framebuffer than scroll it as you can avoid any PCI read traffic so you get streaming WC writes (or async sse writes even without that). Even more so when you skip unchanged quadwords. Alan