From: Will Deacon Subject: Re: [PATCH 0/5] Usual batch of random ARM fixes for kvmtool Date: Fri, 12 Apr 2013 09:50:47 +0100 Message-ID: <20130412085047.GA12363@mudshark.cambridge.arm.com> References: <1365698186-27355-1-git-send-email-will.deacon@arm.com> <5166E89A.8030105@oracle.com> <5167AF3C.8060409@kernel.org> <5167C61A.7030400@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pekka Enberg , Sasha Levin , "kvm@vger.kernel.org" To: Marc Zyngier Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:47025 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752886Ab3DLIvF (ORCPT ); Fri, 12 Apr 2013 04:51:05 -0400 Content-Disposition: inline In-Reply-To: <5167C61A.7030400@arm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Apr 12, 2013 at 09:30:18AM +0100, Marc Zyngier wrote: > Hi Pekka, > > On 12/04/13 07:52, Pekka Enberg wrote: > > On 04/11/2013 12:36 PM, Will Deacon wrote: > >>> Without multi-queue, we can boot Debian Wheezy to a prompt in 38MB. With > >>> the new changes, that increases to 170MB! Any chance we can try and tackle > >>> this regression please? I keep getting bitten by the OOM killer :( > > > > On 04/11/2013 07:45 PM, Sasha Levin wrote: > >> That's definitely unwanted. > >> > >> I'll look into it and try sending something out today/tomorrow. > > > > That's very unfortunate. Can you please confirm that reverting commit > > e026314820acc3cc967308355f3746aca238fda4 ("kvm tools: virtio-net > > multiqueue support") fixes it? If fixing the issue turns out to be > > difficult, we should just take multi-queue out until the issues is resolved. > > It does, at least for an MMIO based setup. > > It would be a pity to completely loose the functionality though. Surely > we can find a way to initialize the extra queues on demand. And if not, > maybe introduce some kind of tunable parameter... I suppose we *could* move the whole thing over to dynamic allocation and let the maximum number of queues be an lkvm parameter, but it feels like a lot of work without really solving the problem. Anyway, thanks Sasha for starting a separate thread about this. Hopefully we can resolve it in the spec and then update kvmtool/linux accordingly. As long as the issue is being addressed, then I don't see that there's a pressing need to revert the commit above. Cheers, Will