From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHIgM-0000p8-MI for qemu-devel@nongnu.org; Sun, 17 Mar 2013 14:51:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHIgL-0000sS-MA for qemu-devel@nongnu.org; Sun, 17 Mar 2013 14:51:46 -0400 Received: from mail-bk0-x22c.google.com ([2a00:1450:4008:c01::22c]:48981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHIgL-0000sL-Fa for qemu-devel@nongnu.org; Sun, 17 Mar 2013 14:51:45 -0400 Received: by mail-bk0-f44.google.com with SMTP id j4so2184596bkw.17 for ; Sun, 17 Mar 2013 11:51:44 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51461094.9050502@redhat.com> Date: Sun, 17 Mar 2013 19:51:00 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1362442784-22324-1-git-send-email-aurelien@aurel32.net> <20130305004438.GF23040@ohm.aurel32.net> <20130315154252.GC27432@hall.aurel32.net> <20130317000437.GA4241@ohm.aurel32.net> In-Reply-To: <20130317000437.GA4241@ohm.aurel32.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hw/vexpress: set default block type to SD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: Peter Maydell , qemu-devel@nongnu.org Il 17/03/2013 01:04, Aurelien Jarno ha scritto: > | boot | install build-dep | build lm-sensors | > ------------------------+------+-------------------+------------------+ > versatile | 1:09 | 2:27 | 4:09 | > versatile cache=wb | 1:08 | 2:25 | 3:44 | Strange, cache=wb should be the default. The real problem with SD is that it doesn't have a flush command, hence it cannot be made safe against power losses. But the solution is to add support for virtio-mmio in those boards. Paolo > vexpress | 1:11 | 3:07 | 3:49 | > vexpress cache=wb | 1:07 | 3:07 | 3:47 | > > Note: the install build-dep time doesn't include the download time. > > So even if the two systems are not directly comparable, it shows that > the SD card emulation is indeed slower than the hard disk one. That said > while cache=writeback makes a difference for the versatile platform, it > doesn't really change anything for the vexpress platform. Therefore > forcing the users to add this option doesn't seems to be a good idea.