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] vnif socket buffer mistaken for pagetable page causes ma

To: Gianluca Guida <gianluca.guida@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] vnif socket buffer mistaken for pagetable page causes major performance problem
From: Herbert van den Bergh <Herbert.van.den.Bergh@xxxxxxxxxx>
Date: Tue, 09 Jun 2009 08:22:21 -0700
Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 09 Jun 2009 09:06:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2E62E2.7030500@xxxxxxxxxxxxx>
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>
References: <2ee9aac0-0772-4306-a9e5-bf711cf2c2d8@default> <4A2CD5B3.4090700@xxxxxxxxxxxxx> <4A2D3AB2.5020104@xxxxxxxxxx> <4A2E62E2.7030500@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090409)


Gianluca Guida wrote:
Herbert van den Bergh wrote:
Can you be a little more specific about what is the performance loss,
Network throughput was reduced to 10% of normal.
in what workload,
A network send throughput test using netperf.

This is with a Linux guest (HVM of course), right?

Right.

and what heuristic you found to be wrong in this case?
The access pattern to the memory page that was recognized as a pagetable access was a regular memcpy doing 4 byte aligned writes into a newly allocated page. I'm not that familiar with the shadow pagetable code, so I don't know how "wrong" this is, just that it caused a false positive on this type of memory access.

Most probably the guest OS is recycling a page that used to be a pagetable and that is still shadowed.

Thanks,
Gianluca

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

<Prev in Thread] Current Thread [Next in Thread>