qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Adnan Khaleel" <adnan@khaleel.us>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Guest bootup time varies with simulated memory size
Date: Tue, 08 Feb 2011 16:45:28 -0600	[thread overview]
Message-ID: <20110208224528.06470d27@shadowfax.no-ip.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

In trying out various simulated memory sized in Qemu, there is a noticeable increase in guest bootup times with more memory. My metric of measuring how long linux takes to boot is probably not the most consistent but here is what I've observed.


In Qemu 0.12.5


512m ~ 4 mins
2048m ~ 7 mins


In the latest version of Qemu 0.14.0-rc0, things have improved


512m ~ 3 mins 30 secs
2048m ~ 4 mins 45 secs


As you can see, boot up time increases with more memory. My host system itself has 16G of memory so swapping is not the issue. 
Its quite likely that the guest linux kernel maybe doing something with this extra memory but I haven't looked into possible causes. I just wanted to see if the developers would know of an explanation as to whats happening as it would seem that adding more memory to the guest should improve performance. 


I will run some measurements after boot to see if there is any variation in overall simulation speed or if its just restricted to bootup.


- AK 

[-- Attachment #2: Type: text/html, Size: 1475 bytes --]

             reply	other threads:[~2011-02-08 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 22:45 Adnan Khaleel [this message]
2011-02-09  0:33 ` [Qemu-devel] Guest bootup time varies with simulated memory size Mulyadi Santosa

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=20110208224528.06470d27@shadowfax.no-ip.com \
    --to=adnan@khaleel.us \
    --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).