WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][RFC] Serialize scrubbing pages

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][RFC] Serialize scrubbing pages
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 11:12:14 +0100
Cc:
Delivery-date: Mon, 11 Aug 2008 03:12:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7kprofx43d.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acj7mrnA+CQCCGeNEd2BigAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH][RFC] Serialize scrubbing pages
User-agent: Microsoft-Entourage/11.4.0.080122
On 11/8/08 11:01, "Kouya Shimura" <kouya@xxxxxxxxxxxxxx> wrote:

> I noticed that parallel scrubbing pages is not efficient
> due to spinlock contention. (also memory bandwidth?)
> Actually heap_lock becomes a bottleneck.

I've considered the possibility of moving this kind of thing into a service
domain. Then it would be visible to the scheduler and be less of a hack.

Anyhow, I hadn't considered the contention for the heap_lock. I think your
patch is good and I will apply it for 3.3.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel