unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: speed of qemu vms
Date: Tue, 24 Oct 2017 17:00:34 -0400	[thread overview]
Message-ID: <20171024210034.GA8739@jasmine.lan> (raw)
In-Reply-To: <0280819d-ce56-c7fa-b550-8db36a01c555@crazy-compilers.com>

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

On Tue, Oct 24, 2017 at 09:30:06PM +0200, Hartmut Goebel wrote:
> Hello,
> 
> for testing I used to build VM using "guix system vm …" and the machines
> are, well, reacting slowly:
> 
> Plasma start up: 80 sec.
> 
> Menu: 36 sec
> 
> When I tried a Vm created with "guix system vm-image …" the machine is
> much quicker:
> 
> Plasma start up:  25 sec.
> 
> Menu: immediately.
> 
> This is a huge contrast, so I wonder what is the reason for this. Any
> ideas? And any ideas how to speed up the first variant?

The two methods are pretty different "under the hood".

`guix system vm` shares the store with the host machine using virtio. By
default, only 256 MB of RAM is allocated for the system. I recommend
inspecting the script that is created by `guix system vm` to see what it
does.

`guix system vm-image`, on the other hand, is a full virtual machine
image, with its own store.

It's hard to give specific feedback without more information about the
host machine(s) and other details of the environment.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-10-24 21:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-24 19:30 speed of qemu vms Hartmut Goebel
2017-10-24 21:00 ` Leo Famulari [this message]
2017-10-25  6:28 ` Christopher Baines
2017-10-27  0:22   ` Ludovic Courtès
2017-10-27  7:08     ` Hartmut Goebel
2017-10-27  7:43       ` Chris Marusich
2017-10-27  8:34         ` Hartmut Goebel
2017-10-27  7:43   ` Hartmut Goebel

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20171024210034.GA8739@jasmine.lan \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).