All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herbert van den Bergh <Herbert.van.den.Bergh@oracle.com>
To: Gianluca Guida <gianluca.guida@eu.citrix.com>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>,
	"Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>
Subject: Re: vnif socket buffer mistaken for pagetable page causes major performance problem
Date: Tue, 09 Jun 2009 08:22:21 -0700	[thread overview]
Message-ID: <4A2E7E2D.4000600@oracle.com> (raw)
In-Reply-To: <4A2E62E2.7030500@eu.citrix.com>



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

      reply	other threads:[~2009-06-09 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06  0:37 vnif socket buffer mistaken for pagetable page causes major performance problem Dan Magenheimer
2009-06-08  9:11 ` Gianluca Guida
2009-06-08 16:22   ` Herbert van den Bergh
2009-06-09 13:25     ` Gianluca Guida
2009-06-09 15:22       ` Herbert van den Bergh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A2E7E2D.4000600@oracle.com \
    --to=herbert.van.den.bergh@oracle.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=gianluca.guida@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.