Received: from eggs.gnu.org ([2001:4830:134:3::10]:58447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyNxL-0001IX-7G for qemu-devel@nongnu.org; Tue, 09 Dec 2014 11:48:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyNxF-0004jj-Nk for qemu-devel@nongnu.org; Tue, 09 Dec 2014 11:48:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyNxF-0004jc-Ex for qemu-devel@nongnu.org; Tue, 09 Dec 2014 11:48:05 -0500 Date: Tue, 9 Dec 2014 15:54:00 +0000 From: "Richard W.M. Jones" Message-ID: <20141209155400.GB15695@redhat.com> References: <1417366783-14242-1-git-send-email-lersek@redhat.com> <5485AF57.6050902@redhat.com> <1418117468.30093.24.camel@nilsson.home.kraxel.org> <54871815.4040103@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v2] arm: add fw_cfg to "virt" board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Drew Jones , Ard Biesheuvel , QEMU Developers , Alexander Graf , Gerd Hoffmann , Laszlo Ersek , Christoffer Dall On Tue, Dec 09, 2014 at 03:47:44PM +0000, Peter Maydell wrote: > On 9 December 2014 at 15:41, Laszlo Ersek wrote: > > Again, this was the idea that Rich had in 2010 (see the links in the > > discussion thus far). It was rejected back then (which is why I didn't > > even try to resurrect it now), and Peter has now asked if anything has > > changed that would make that approach more acceptable now. > > > > "Avi and Gleb not hanging around so they can't block the approach now" > > might or might not be such a change; I don't know. But, I tend to trust > > their opinion, even if dates back to 2010 in this case. > > Yeah, this is about my point of view. A direct-write-to-memory > fw_cfg doesn't seem too unreasonable to me, but it would be nice > to see a solidly argued case from its proponents to counterbalance > the previous rejection. The argument for is that it's essentially instantaneous. This is a big deal for libguestfs where even our new initrd (1.5 MB) takes a noticable fraction of a second to load, and we want to get our total start-up time down to 3 seconds to match x86. > > Anyway I'm certainly not opposed to performance, so if someone can > > thoroughly refute everything they said in that thread, go ahead. > > As far as I can tell the main line of argument was "if you're > using fw_cfg to transfer huge amounts of data you're doing > something wrong". > > Is ARM much higher overhead than x86 for these accesses? On a slightly related topic, virtio-mmio traps are slow: https://bugzilla.redhat.com/show_bug.cgi?id=1123555 This also kills libguestfs performance -- throughput this time, rather than start-up time. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top