[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44760: Closure copy in ‘guix system init’ is inefficient
From: |
Ludovic Courtès |
Subject: |
bug#44760: Closure copy in ‘guix system init’ is inefficient |
Date: |
Tue, 15 Dec 2020 17:38:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Ludovic Courtès <ludo@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’.
- bug#44760: Closure copy in ‘guix system init’ is inefficient,
Ludovic Courtès <=