From: Vagrant Cascadian <vagrant@debian.org>
To: Nicolas Graves <ngraves@ngraves.fr>, Csepp <raingloom@riseup.net>
Cc: guix-devel@gnu.org
Subject: Re: Maybe a way to get a few more developpers to work on Guix ?
Date: Sat, 24 Jun 2023 09:33:11 -0700 [thread overview]
Message-ID: <875y7c3jnc.fsf@wireframe> (raw)
In-Reply-To: <87wmztqd8t.fsf@ngraves.fr>
[-- Attachment #1: Type: text/plain, Size: 2394 bytes --]
On 2023-06-24, Nicolas Graves via "Development of GNU Guix and the GNU System distribution." wrote:
> On 2023-06-24 13:08, Csepp wrote:
>> Nicolas Graves via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org> writes:
>> IMHO LLMs for Guix are so damn not worth the effort. It will not fix
>> any of the actual issues with Guix, like the huge performance gap
>> between it and traditional package managers.
>
> I've also opened another discussion on the subject on guix-devel
> recently. Do you have any benchmark material to back this up?
Well, I just ran "apt update" on Debian, and it took approximately 7
seconds, which was mostly spent downloading moderately sized files from
Debian mirrors (~1MB).
A corresponding "guix pull" took 299 seconds, downloading at least 8MB
(from a quick eyeball calculation as guix does not summarize the results
for me), and compiling all the various guix-*.drv that make up guix
pull. The vast majority of the time was spent compiling
derivations. This was also using a local copy of guix.git, so having to
update guix.git over the network would take even longer... (and it did
even spend a fair amount of time copying from the local guix.git on a
fast NVMe device)
Obviously, guix pull is doing a lot more, but it is ... doing a lot
more!
"apt install hello" (~2.3 seconds) and "guix install hello" (~1.5
seconds) were actually in a similar ballpark, which honestly surprised
me. Guix is much faster with "guix remove hello" ... although arguably
"guix remove hello && guix gc --delete $(guix build hello)" would be a
more similar operation, and although I did not time it, it was
reasonably fast, too.
So, presuming substitutes are available, the main slowness with guix
seems to be guix pull?
I did not test "guix system reconfigure" ... but in a way, that may be a
more real comparison than "guix install" ... although we are starting to
get into fundemental differences between apt and guix here.
The other big factor in my mind is that even with a single generation of
guix with nothing for guix gc to do, there may be multiple copies of
some libraries at various versions left around in the store, which is
probably not terribly space efficient... there are usually reasons for
this (e.g. bootstrapping from a tiny seed, yay!) but nevertheless, those
reasons have some cost (and benefits!).
live well,
vagrant
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2023-06-24 16:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-22 13:13 Maybe a way to get a few more developpers to work on Guix ? Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-06-22 15:37 ` indieterminacy
2023-06-23 7:02 ` pinoaffe
2023-06-23 8:04 ` Fannys
2023-06-23 8:07 ` MSavoritias
2023-06-23 8:15 ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-06-24 11:08 ` Csepp
2023-06-24 12:02 ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-06-24 16:33 ` Vagrant Cascadian [this message]
2023-06-25 16:08 ` Csepp
2023-08-23 13:48 ` Slow guix pull Simon Tournier
2023-06-25 15:53 ` Maybe a way to get a few more developpers to work on Guix ? Csepp
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=875y7c3jnc.fsf@wireframe \
--to=vagrant@debian.org \
--cc=guix-devel@gnu.org \
--cc=ngraves@ngraves.fr \
--cc=raingloom@riseup.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.
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.