linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Diana Craciun <diana.craciun@freescale.com>
To: Ivan Krivonos <int0dster@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: big latency while under HV
Date: Tue, 10 Sep 2013 12:24:33 +0300	[thread overview]
Message-ID: <522EE551.8030007@freescale.com> (raw)
In-Reply-To: <CAF10W3yi6UOjDN+Nh61OvOvVe6+veaFuXuz_Rx=oWsxPVRDYHQ@mail.gmail.com>

Hi,

Just to be on the same page, are you using the Freescale Embedded 
Hypervisor provided with the Freescale SDK or other embedded hypervisor?

Anyway, the question is not much related with the Linux kernel, so you 
should probably redirect your question to Freescale support. You can 
reach Freescale support at support@freescale.com.

Diana

On 09/09/2013 06:19 PM, Ivan Krivonos wrote:
> Hi,
>
> i`m working on the embedded hypervisor targeting QorIQ platforms (p3041/p4080).
> I have working prototype starting custom RTOS on just single core in the guest
> space. What I see is the big latency (up to 3 times more) in RTOS running atop
> of HV comparing to RTOS running bare-metal. I`m using lmbench utility.
> It shows
>
> nteger mul: 3.48 nanoseconds
> integer div: 30.44 nanoseconds
> integer mod: 13.92 nanoseconds
> int64 bit: 1.75 nanoseconds
> int64 add: 1.42 nanoseconds
> int64 mul: 6.95 nanoseconds
> HV:hvpriv_count 60000
> int64 div: 447.56 nanoseconds
> int64 mod: 385.42 nanoseconds
> float add: 7.12 nanoseconds
> float mul: 6.95 nanoseconds
> float div: 33.05 nanoseconds
> double add: 7.11 nanoseconds
> double mul: 8.70 nanoseconds
> double div: 57.36 nanoseconds
> float bogomflops: 46.98 nanoseconds
> double bogomflops: 73.09 nanoseconds
>
> The bare-metal results are 3x better. Does anybody have any ideas on what
> may be the source of such latency ? I forward all the exceptions to
> the guest w/o
> affecting HV. Only hvpriv is processed, it takes not more than 2 bus cycles.
> Sorry for poor english
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>

      reply	other threads:[~2013-09-10  9:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 15:19 big latency while under HV Ivan Krivonos
2013-09-10  9:24 ` Diana Craciun [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=522EE551.8030007@freescale.com \
    --to=diana.craciun@freescale.com \
    --cc=int0dster@gmail.com \
    --cc=linuxppc-dev@ozlabs.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).