From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] xenpaging:add a new array to speed up page-in in xenpaging Date: Fri, 6 Jan 2012 14:07:38 +0100 Message-ID: <20120106130737.GB1694@aepfle.de> References: <052727b8165ce6e05002.1325732917@h00166998.china.huawei.com> <20120105205910.GA29311@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120105205910.GA29311@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: hongkaixing@huawei.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Jan 05, Olaf Hering wrote: > Is the page-out time for 512M really that fast? For me page-out is still > really slow even when the pagefile is in tmpfs. It takes several > minutes, I get around 4MB/s. page-in is around 20MB/s. Wait, the slow page-out is due to the poll() timeout in xenpaging_wait_for_event_or_timeout(). This can be fixed with some sort of dynamic timeout while there is still something to page-out. Olaf