All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: xen-devel <xen-devel@lists.xenproject.org>
Subject: Analysis of PV(H) build times
Date: Mon, 8 Jun 2015 13:10:35 +0200	[thread overview]
Message-ID: <5575782B.20109@citrix.com> (raw)

Hello,

I've done a small analysis of PV and PVH build and launch times using
both xl and a custom builder [1] based on init-xenstore-domain.

The purpose of this analysis is to measure the build time of PV(H)
guests. In order to do this rdtsc calls have been added to the start of
the main xl function and the xen_start_kernel function in Linux (first C
function called by the kernel). The time measured is not only xl build
time, but the time since the xl create call until the guest starts
executing.

The results can be found at:

https://docs.google.com/spreadsheets/d/1xePTI6r1INAIQR901P_lFHFT9ZpduSLpRnKFDl_iB-Q/edit?usp=sharing

A couple of conclusions can be obtained from the results:

 - xl/libxl overhead is very minimal compared to the simple loader
   (~10%). This is probably due to the extra computing done in libxl
   and the fact that the simple loader doesn't populate xenstore paths.

 - Most of time is spent in xc_dom_parse_image (~70%) for both PV and
   PVH domain build.

 - PVH build time is greater than PV by ~10%, due to
   xc_dom_boot_mem_init being more expensive for PVH domains.

Roger.

[1] http://xenbits.xen.org/people/royger/sbuilder.c

                 reply	other threads:[~2015-06-08 11:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5575782B.20109@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.