unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Baines <mail@cbaines.net>
Cc: help-guix@gnu.org
Subject: Re: Performance issues with /gnu/store in virtual machines
Date: Tue, 22 Aug 2017 12:11:43 +0200	[thread overview]
Message-ID: <87shgj7vz4.fsf@gnu.org> (raw)
In-Reply-To: <20170817210547.3fafde57@cbaines.net> (Christopher Baines's message of "Thu, 17 Aug 2017 21:05:47 +0100")

Hi Chris,

Christopher Baines <mail@cbaines.net> skribis:

>   1.13    0.000019           0      3853           openat

[...]

>  13.56    0.193014          50      3853           openat

So openat(2) is 4 orders of magnitude slower in the VM, which is a
problem.

I guess a large part of that is due to the fact that VM created with
‘guix system vm’ use unionfs as their root file system, which is a FUSE
thing (see the “volatile” options in (gnu system vm), (gnu system
linux-initrd), and (gnu build linux-boot).)  I’m not sure how we could
avoid it.

Can you confirm that the same ‘find’ command is faster in a full-blown
“guix system disk-image” VM?

Thanks,
Ludo’.

  parent reply	other threads:[~2017-08-22 10:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17 20:05 Performance issues with /gnu/store in virtual machines Christopher Baines
2017-08-20  9:02 ` Ricardo Wurmus
2017-08-20 10:22   ` Christopher Baines
2017-08-22 10:11 ` Ludovic Courtès [this message]
2017-08-22 11:20   ` Christopher Baines
2017-08-22 14:35     ` Ludovic Courtès
2017-08-22 12:51   ` 宋文武
2017-08-22 14:33     ` Ludovic Courtès

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=87shgj7vz4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=mail@cbaines.net \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).