xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: xinyue <xinyue@nfs.iscas.ac.cn>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: "andrew.cooper3" <andrew.cooper3@citrix.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: Performance problem about address translation
Date: Wed, 08 Jul 2015 14:26:23 +0800	[thread overview]
Message-ID: <559CC28F.5040306@nfs.iscas.ac.cn> (raw)
In-Reply-To: <559CBF96.1040404@nfs.iscas.ac.cn>

Very sorry for sending wrong before.
On 2015年07月08日 14:13, xinyue wrote:
>
> On 2015年07月07日 19:49, Ian Campbell wrote:
>> On Tue, 2015-07-07 at 11:24 +0800, xinyue wrote:
>>
>> Please don't use HTML mail and do proper ">" quoting
>>
>>> And after analyzing the performance of hvm domu, I found a process
>>> named "evolution-data-" using almost 99.9% cpu. Does someone known
>>> what's this and why it appears?
>> evolution-data-server is part of the evolution mail client. It has
>> nothing to do with Xen I'm afraid so you will have to look elsewhere for
>> why it is taking so much CPU.
>>
>> Ian.
>>
>
Sorry for that and thanks very much.

I think the problem maybe caused by the address alignment. The HVM DomU 
crashed after the hypercall and Dom0 crashed later sometimes with "Bus 
error".

I think the function that caused the crash is get_gfn. The related code is

     unsigned long gfn;
     unsigned long mfn;
     struct vcpu *vcpu = current;
     struct domain *d = vcpu->domain;
     uint32_t pfec = PFEC_page_present;
     p2m_type_t t;
     gfn = paging_gva_to_gfn(current, 0xc0290000, &pfec);
     mfn = get_gfn(d, gfn, &t);

Is that I lost some type translation?


Thanks and best regards!

xinyue

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2015-07-08  6:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07  3:24 Performance problem about address translation xinyue
2015-07-07 11:49 ` Ian Campbell
2015-07-08  6:13   ` xinyue
2015-07-08  6:26     ` xinyue [this message]
2015-07-08  7:43       ` xinyue
  -- strict thread matches above, loose matches on Subject: below --
2015-07-07  1:46 xinyue
2015-07-06 12:21 xinyue
2015-07-06  7:58 xinyue
2015-07-06  8:37 ` Andrew Cooper
2015-07-06  7:22 xinyue
2015-07-06  8:11 ` Andrew Cooper

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=559CC28F.5040306@nfs.iscas.ac.cn \
    --to=xinyue@nfs.iscas.ac.cn \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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).