From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38815 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ogf7p-00021z-Mi for qemu-devel@nongnu.org; Wed, 04 Aug 2010 10:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ogf7l-0001OW-Ca for qemu-devel@nongnu.org; Wed, 04 Aug 2010 10:39:21 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:52097) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ogf7l-0001OQ-8c for qemu-devel@nongnu.org; Wed, 04 Aug 2010 10:39:17 -0400 Received: by qyk35 with SMTP id 35so1924307qyk.4 for ; Wed, 04 Aug 2010 07:39:16 -0700 (PDT) Message-ID: <4C597B90.30602@codemonkey.ws> Date: Wed, 04 Aug 2010 09:39:12 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Anyone seeing huge slowdown launching qemu with Linux 2.6.35? References: <4C586CF9.7030206@redhat.com> <4C588804.5060803@redhat.com> <4C590046.2020705@redhat.com> <4C591D48.9080301@redhat.com> <4C592218.3000901@redhat.com> <4C596549.1070109@codemonkey.ws> <20100804130709.GL10499@redhat.com> <4C5967D8.7080707@codemonkey.ws> <20100804133401.GP10499@redhat.com> <4C5970AC.6060105@codemonkey.ws> <20100804140011.GR10499@redhat.com> <4C5977B7.9020008@redhat.com> In-Reply-To: <4C5977B7.9020008@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Gleb Natapov , kvm@vger.kernel.org, qemu-devel@nongnu.org, "Richard W.M. Jones" , Avi Kivity , Gerd Hoffmann On 08/04/2010 09:22 AM, Paolo Bonzini wrote: > On 08/04/2010 04:00 PM, Gleb Natapov wrote: >>> Maybe we're just being too fancy here. >>> >>> We could rewrite -kernel/-append/-initrd to just generate a floppy >>> image in RAM, and just boot from floppy. >>> >> May be. Can floppy be 100M? > > Well, in theory you can have 16384 bytes/sector, 256 tracks, 255 > sectors, 2 heads... that makes 2^(14+8+8+1) = 2 GB. :) Not sure the > BIOS would read such a beast, or SYSLINUX. > > By the way, if libguestfs insists for an initrd rather than a CDROM > image, it could do something in between and make an ISO image with > ISOLINUX and the required kernel/initrd pair. > > (By the way, a network installation image for a typical distribution > has a 120M initrd, so it's not just libguestfs. It is very useful to > pass the network installation images directly to qemu via > -kernel/-initrd). We could make kernel an awful lot smarter but unless we've got someone just itching to write 16-bit option rom code, I think our best bet is to try to leverage a standard bootloader and expose a disk containing the kernel/initrd. Otherwise, we just stick with what we have and deal with the performance as is. Regards, Anthony Liguori > > Paolo