qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Peter Maydell <peter.maydell@linaro.org>,
	Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] default guest RAM size?
Date: Wed, 06 Mar 2013 20:38:53 -0600	[thread overview]
Message-ID: <87r4jsx7b6.fsf@codemonkey.ws> (raw)
In-Reply-To: <CAFEAcA8Tr9B5ur40pmLF5Cox1Wf7nSWsJ+hnRHab82eKK1E9AA@mail.gmail.com>

Peter Maydell <peter.maydell@linaro.org> writes:

> On 5 March 2013 13:26, Michael Tokarev <mjt@tls.msk.ru> 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

I don't see that in this series.  It's a maximum RAM size.

Anyway, there's no problem changing the default ram size (and making it
per-board).  The only requirement is that -M pc-1.4 and below continues
to expose 128MB as the default.

It's not worth bike shedding over what the default should be for pc
targets.  256 or 512 would be equally good defaults and either would be
acceptable.

Regards,

Anthony Liguori

> 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
>
> -- PMM

  parent reply	other threads:[~2013-03-07  2:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05  5:26 [Qemu-devel] default guest RAM size? Michael Tokarev
2013-03-05  5:40 ` Peter Maydell
2013-03-05  6:07   ` 陳韋任 (Wei-Ren Chen)
2013-03-05  6:09     ` Peter Maydell
2013-03-06  3:59       ` Rob Landley
2013-03-06 18:34         ` Peter Maydell
2013-03-06 18:47           ` Daniel P. Berrange
2013-03-06 18:42             ` Michael Tokarev
2013-03-07  1:21           ` Rob Landley
2013-03-07  1:29             ` Peter Maydell
2013-03-06  9:28   ` Markus Armbruster
2013-03-07  2:38   ` Anthony Liguori [this message]
2013-03-07  3:40     ` [Qemu-devel] propose to implement ower device li guang
2013-03-07 13:41       ` Wenchao Xia
2013-03-11  0:34         ` li guang
2013-03-05  9:53 ` [Qemu-devel] default guest RAM size? Daniel P. Berrange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4jsx7b6.fsf@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=mjt@tls.msk.ru \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).