unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"GNU Debbugs" <control@debbugs.gnu.org>,
	66647-done@debbugs.gnu.org
Subject: bug#66647: Installation of RPMs produced by ‘guix pack’ is super slow
Date: Mon, 23 Oct 2023 10:37:23 -0400	[thread overview]
Message-ID: <8734y18kws.fsf@gmail.com> (raw)
In-Reply-To: <87wmvdjzz7.fsf@gmail.com> (Simon Tournier's message of "Mon, 23 Oct 2023 14:16:28 +0200")

tags 66647 + moreinfo unreproducible
thanks

Hi,

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Sun, 22 Oct 2023 at 21:35, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
>> --8<---------------cut here---------------start------------->8---
>
> [...]
>
>> [user@fedora Downloads]$ sudo time rpm -i 7m01b0308z5y2pmyn8ywzdj914dxawsl-gmsh-rpm-pack.rpm
>> 17.26user 10.19system 0:42.31elapsed 64%CPU (0avgtext+0avgdata 24468maxresident)k
>> 1481136inputs+2177344outputs (19major+6242minor)pagefaults 0swaps
>>
>> [user@fedora Downloads]$ rpm --version
>> RPM version 4.18.0
>> --8<---------------cut here---------------end--------------->8---
>
> These days I am doing some experiments with CentOS7 (rpm 4.11.8), so I
> have a virtualbox VM around.  Attached the view I get using the pack
> generated with,
>
>     guix pack -f rpm -S /opt/bin=bin -R gmsh
>
> then copied with ’scp’.  Well, I do not have GUI but gmsh seems working.
>
> For me, ’rpm -i’ needs less than 10 seconds.  It installs 88 items if I
> read correctly.

Yeah, a ~600 MiB closure is by no means specially large, should it
shouldn't take 45 minutes unless the IO in the VM is pathologically
slow, or if the old RPM version was struggling with something in our
custom-generated RPMs.  You example shows this is not the case, so I'll
close this with 'moreinfo' and 'unreproducible' tags.

Ludo: feel free to reopen if you can gather more details that would
point at our RPMs being faulty.

-- 
Thanks,
Maxim




  reply	other threads:[~2023-10-23 14:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20 10:20 bug#66647: Installation of RPMs produced by ‘guix pack’ is super slow Ludovic Courtès
2023-10-20 15:33 ` Maxim Cournoyer
2023-10-20 15:34 ` Maxim Cournoyer
2023-10-22 21:57   ` Ludovic Courtès
2023-10-23  1:35     ` Maxim Cournoyer
2023-10-23 12:16       ` Simon Tournier
2023-10-23 14:37         ` Maxim Cournoyer [this message]
2023-11-13 12:31 ` Loïc SIRVIN
2023-11-14 11:49   ` Simon Tournier
2023-11-25 14:22     ` Ludovic Courtès
2023-11-28 13:31       ` Simon Tournier
2023-12-02 23:13         ` Maxim Cournoyer
2024-01-11 16:57           ` Simon Tournier
2024-01-15  3:43             ` Maxim Cournoyer
2024-01-15  9:12               ` Ludovic Courtès
2024-01-17 15:21                 ` Simon Tournier
2024-01-17 22:21                   ` Maxim Cournoyer

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=8734y18kws.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=66647-done@debbugs.gnu.org \
    --cc=control@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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 public inbox

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

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