Received: from eggs.gnu.org ([208.118.235.92]:56405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDAeV-0008Pp-Sk for qemu-devel@nongnu.org; Wed, 06 Mar 2013 04:28:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDAeU-0001tD-AF for qemu-devel@nongnu.org; Wed, 06 Mar 2013 04:28:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDAeU-0001t5-2K for qemu-devel@nongnu.org; Wed, 06 Mar 2013 04:28:46 -0500 From: Markus Armbruster References: <51358208.1020409@msgid.tls.msk.ru> Date: Wed, 06 Mar 2013 10:28:41 +0100 In-Reply-To: (Peter Maydell's message of "Tue, 5 Mar 2013 13:40:38 +0800") Message-ID: <87vc94nagm.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] default guest RAM size? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Michael Tokarev , qemu-devel Peter Maydell writes: > On 5 March 2013 13:26, Michael Tokarev wrote: >> For many years, qemu defaults to 128Mb of guest RAM size. >> Today, this is just too small, and many OSes fails to boot >> with this size, more, they fail to produce any reasonable >> messages either (eg, windows7 just crashes at startup). > > If you make the default bigger then some boards will crash > or behave weirdly because they try to map more RAM in than > will fit into the space for RAM in their address maps. > >> Some distributions (eg ubuntu) had a local patch to increase >> this value, for years. >> >> Maybe it's time to increase the default RAM size a bit? >> Make it arch-specific if needs to be ? > > I tried two years ago to get a 'default RAM size' parameter > added to the QEMUMachine struct, but the patchseries got shot > down because it didn't attempt to address NUMA / simulate > the fact you can only add RAM one DIMM at a time / etc... > > http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg02907.html As so often, the better we wish we had is the enemy of the good we could have, if we weren't so pig-headed about it.