Received: from [140.186.70.92] (port=38302 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OatVK-0000GU-Eg for qemu-devel@nongnu.org; Mon, 19 Jul 2010 12:47:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OatVJ-0005i0-51 for qemu-devel@nongnu.org; Mon, 19 Jul 2010 12:47:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45355) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OatVI-0005hb-Pd for qemu-devel@nongnu.org; Mon, 19 Jul 2010 12:47:45 -0400 Date: Mon, 19 Jul 2010 17:47:40 +0100 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device Message-ID: <20100719164740.GC3405@amd.home.annexia.org> References: <269D196D-8CE8-4E24-8EE1-39756AC55F7F@suse.de> <20100718200942.GL13194@amd.home.annexia.org> <44FD4F00-843D-41C8-B21A-148D16745015@suse.de> <20100719062356.GU4689@redhat.com> <20100719072802.GO13194@amd.home.annexia.org> <20100719073312.GY4689@redhat.com> <4C446526.1030008@codemonkey.ws> <20100719145324.GV4689@redhat.com> <4C44751B.3070902@codemonkey.ws> <20100719161137.GA2391@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100719161137.GA2391@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Alexander Graf , qemu-devel@nongnu.org On Mon, Jul 19, 2010 at 07:11:37PM +0300, Gleb Natapov wrote: > And there are such that cause cpu to stall for 6.5 seconds when you do > io to them? I never said that we should implement ISA or PCI device, I > don't know why you bring them here. Where is "6.5 seconds" coming from? That is the *total boot time* of the libguestfs appliance, and includes far far more than the time taken to do the memcpy. I timed the call to cpu_physical_memory_write, and it takes 115 milliseconds with my patch (for an initrd which is 113 MB). > It should look like real DMA at least. The justification for it should > be better than "In our project we don't what to do this and we don't > what to do that so our initrd is 100M now, so why not add hack to qemu > to load it 1 second faster so we can grow it some more". Please don't make stuff up. We have a large initrd for perfectly good reasons which I have outlined in a previous email. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top