From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH8ms-0002Uv-H9 for qemu-devel@nongnu.org; Fri, 30 Jan 2015 05:26:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YH8mp-0002nV-4y for qemu-devel@nongnu.org; Fri, 30 Jan 2015 05:26:54 -0500 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:40832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH8mo-0002nQ-V9 for qemu-devel@nongnu.org; Fri, 30 Jan 2015 05:26:51 -0500 Received: by mail-wi0-f174.google.com with SMTP id n3so1977140wiv.1 for ; Fri, 30 Jan 2015 02:26:50 -0800 (PST) Date: Fri, 30 Jan 2015 11:26:44 +0100 From: Marc =?UTF-8?B?TWFyw60=?= Message-ID: <20150130112644.3ab44d84@crunchbang> In-Reply-To: <54CB34CB.20805@siemens.com> References: <20150129203728.6cb9271e@crunchbang> <54CABD0A.1090207@redhat.com> <54CB34CB.20805@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] QEMU and Real Time OS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Paolo Bonzini , Marcelo Tosatti , qemu-devel , KONRAD =?UTF-8?B?RnLDqWTDqXJpYw==?= , Luiz Capitulino El Fri, 30 Jan 2015 08:37:47 +0100 Jan Kiszka escribi=C3=B3: > On 2015-01-30 00:06, Paolo Bonzini wrote: > >=20 > >=20 > > On 29/01/2015 20:37, Marc Mar=C3=AD wrote: > >> Is this an expected behaviour? I can't see why. > >> > >> I'd like to know if there is a certain reason why it doesn't work. > >> Or if it should work and the problem is too much I/O overhead. Or > >> any other hint to understand it. > >=20 > > It is due to latencies in the host. You need at least to use > > preempt-rt kernels in the host as well. >=20 > That alone won't help much. You also need to fine-tune the guest to > avoid running into QEMU locks that continuously synchronizes the guest > on things like VGA or disk I/O emulation. >=20 > When using KVM, thus being able to run VCPUs widely independent of > each other and the device models, you need to push cyclictest on an > isolated second virtual CPU of the guest. Luiz and Marcelo can > probably confirm this based on their ongoing experiments. >=20 > With TCG, we would first of all have to make it true SMP and > independent of the I/O device lock. That's what Frederic is working > on [1]. >=20 > Jan >=20 > [1] http://permalink.gmane.org/gmane.comp.emulators.qemu/314406 >=20 Thanks for the answers. I think I'm stuck with ARM926, which I think is not prepared for SMP. I'll have to look if I can use Cortex for my experiments. I'll continue interested with the improvements for RT on TCG, but for the moment I'll go to work on real harware, even though is easier to run and debug on an emulator. Thanks Marc