From: Joseph Glanville <joseph.glanville@orionvm.com.au>
To: Qiang Zeng <zengqiang.buaa@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [Xen-users] how to disable batching of page table entries updates for guest OS
Date: Tue, 10 May 2011 12:27:06 +1000 [thread overview]
Message-ID: <BANLkTikHJn6ooCqG3Tdr-81c9=zCQVgHFg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim5F6BvyEcZRXX5pKZqKROEz+KfUg@mail.gmail.com>
Hi,
This is a much better question for the xen-devel list.
I am cc'ing the list in.
Sounds like an intersting experiment however, goodluck.
Joseph.
On 9 May 2011 12:27, Qiang Zeng <zengqiang.buaa@gmail.com> wrote:
> Xen has a perf. enhancement by batching page table updates for the guest OS.
> I'm trying to measure the impact on the guest OS's performance, when this
> enhancement is disabled.
>
> But I don't know how to disable it. I tried modifying do_mmu_update in
> xen/arch/x86/mm.c, which is to process the batch of page table updates
> requested by the guest OS. I simply limit it to only process one update:
>
> << for ( i = 0; i < count; i++ )
>
>>> for ( i= 0; i < 1; i++)
>
> However, after I install this version, there is a kernel panic.
>
> An alternative may be to modify the code in the paravirtualized guest OS
> code, but I prefer to change xen code. Or do I HAVE to change the OS code
> rather than xen?
>
> Could somebody provide some hints? Thanks!
>
> Qiang.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
--
Kind regards,
Joseph.
Founder | Director
Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56
99 52 | Mobile: 0428 754 846
next parent reply other threads:[~2011-05-10 2:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BANLkTim5F6BvyEcZRXX5pKZqKROEz+KfUg@mail.gmail.com>
2011-05-10 2:27 ` Joseph Glanville [this message]
2011-05-10 7:57 ` Re: [Xen-users] how to disable batching of page table entries updates for guest OS Ian Campbell
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='BANLkTikHJn6ooCqG3Tdr-81c9=zCQVgHFg@mail.gmail.com' \
--to=joseph.glanville@orionvm.com.au \
--cc=xen-devel@lists.xensource.com \
--cc=zengqiang.buaa@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).