all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Performance issues with /gnu/store in virtual machines
Date: Tue, 22 Aug 2017 20:51:26 +0800	[thread overview]
Message-ID: <87o9r77okx.fsf@member.fsf.org> (raw)
In-Reply-To: <87shgj7vz4.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 22 Aug 2017 12:11:43 +0200")

ludo@gnu.org (Ludovic Courtès) writes:

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

We might switch to the linux kernel's bultin overlayfs, which should be
faster.

https://wiki.archlinux.org/index.php/Overlay_filesystem

  parent reply	other threads:[~2017-08-22 13:25 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
2017-08-22 11:20   ` Christopher Baines
2017-08-22 14:35     ` Ludovic Courtès
2017-08-22 12:51   ` 宋文武 [this message]
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

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

  git send-email \
    --in-reply-to=87o9r77okx.fsf@member.fsf.org \
    --to=iyzsong@member.fsf.org \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.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.
Code repositories for project(s) associated with this external index

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

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.