GNU bug report logs - #44760
Closure copy in ‘guix system init’ is inefficient

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Fri, 20 Nov 2020 11:03:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #69 received at 44760 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 44760 <at> debbugs.gnu.org
Subject: Re: bug#44760: Closure copy in ‘guix system
 init’ is inefficient
Date: Tue, 15 Dec 2020 17:38:32 +0100
Ludovic Courtès <ludo <at> gnu.org> skribis:

> ‘guix system init’ ends by copying the system’s closure from the “host”
> store to the target store; it also initializes the database of that
> target store.

There’s one ‘guix system init’ optimization that would be nice to have
in the installation image: instead of copying store items at all, simply
move the store from its temporary location in /mnt/tmp/guix-inst to
/mnt/gnu/store.  That’d make it zero-copy.

It would probably require a separate code path, but it’s worth
considering.

Thoughts?

Ludo’.




This bug report was last modified 4 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.