From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: nested KVM slower than QEMU with gnumach guest kernel Date: Mon, 17 Nov 2014 10:10:25 +0100 Message-ID: <20141117091025.GS3110@type.youpi.perso.aquilenet.fr> References: <20141111185515.GA16376@type.youpi.perso.aquilenet.fr> <54629EFC.1050307@web.de> <20141116221828.GA13123@type> <20141117085845.GE26187@minantech.com> <20141117090342.GP3110@type.youpi.perso.aquilenet.fr> <5469BA25.2090204@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Gleb Natapov , kvm@vger.kernel.org, pbonzini@redhat.com To: Jan Kiszka Return-path: Received: from sonata.ens-lyon.org ([140.77.166.138]:42899 "EHLO sonata.ens-lyon.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbaKQJK2 (ORCPT ); Mon, 17 Nov 2014 04:10:28 -0500 Content-Disposition: inline In-Reply-To: <5469BA25.2090204@web.de> Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka, le Mon 17 Nov 2014 10:04:37 +0100, a =E9crit : > On 2014-11-17 10:03, Samuel Thibault wrote: > > Gleb Natapov, le Mon 17 Nov 2014 10:58:45 +0200, a =E9crit : > >> Do you know how gnumach timekeeping works? Does it have a timer th= at fires each 1ms? > >> Which clock device is it using? > >=20 > > It uses the PIT every 10ms, in square mode > > (PIT_C0|PIT_SQUAREMODE|PIT_READMODE =3D 0x36). >=20 > Wow... how retro. That feature might be unsupported - does user space > irqchip work better? I had indeed tried giving -machine kernel_irqchip=3Doff to the L2 kvm, with the same bad performance and external_interrupt in the trace. Samuel