All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Does qemu-kvm impact realtime performance?
Date: Mon, 21 May 2012 08:35:18 -0300	[thread overview]
Message-ID: <4FBA2876.8050207@siemens.com> (raw)
In-Reply-To: <4FACCC46.6050001@xenomai.org>

On 2012-05-11 05:22, Gilles Chanteperdrix wrote:
> On 05/10/2012 04:26 PM, Henri Roosen wrote:
>> Hi all,
>>
>> Does anyone know if running qemu-kvm impacts the realtime Xenomai
>> performance of the host system?
>>
>> I have a multicore x86 target that runs a Xenomai enabled kernel and a
>> realtime application. Next to the realtime application I would like to
>> run qemu-kvm (on one of the cores) that runs some non-realtime guest
>> os. So I would like to know if qemu-kvm have impact on the
>> latencies/jitter of the realtime threads?
> 
> I would say it should have no direct impact, we should not expect kvm to
> create hard irqs masking sections. However, as usual, running a whole OS
> and applications inside another OS probably has a huge impact on cache,
> and so should cause more jitter than running xenomai on an idle system.

On a modern VT-x or AMD-V system, the impact is not different from
running some cache hungry application on the host besides a Xenomai
load. Recent processors can track which cache entry belongs to which
memory mapping and optimize the eviction regarding this. But if your RT
frequency is sufficiently low and you share the caches, you will still
see impact - with or without virtualization.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


  parent reply	other threads:[~2012-05-21 11:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10 14:26 [Xenomai-help] Does qemu-kvm impact realtime performance? Henri Roosen
2012-05-11  8:22 ` Gilles Chanteperdrix
     [not found] ` <4FACCC46.6050001@xenomai.org>
2012-05-21 11:35   ` Jan Kiszka [this message]
2012-05-23  9:00     ` [Xenomai] " Henri Roosen

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=4FBA2876.8050207@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.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 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.