unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52510: guix install - profile build takes forever
@ 2021-12-15 13:03 Florian Hoertlehner
  2021-12-15 13:31 ` Ludovic Courtès
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Florian Hoertlehner @ 2021-12-15 13:03 UTC (permalink / raw)
  To: 52510

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

I use guix 1.3, and a simple guix install takes forever. It hangs 2-10
minutes in the profile build phase.
I have a NVME drive, and see 10-80 MB/sec IO Write in this timeframe.

In the terminal I see: "building profile with 159 packages..."
Then I have to wait 5 minutes.

I assume it hard-linking of packages because  I use ext4.

this behavior is machine specific. On the machines that are affected it
occurs pretty consistent. But there are exceptions; when I install
a very small new package, the build time sometimes is in the 30 second
range. But typically it takes 5 minutes.

[-- Attachment #2: Type: text/html, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52510: guix install - profile build takes forever
  2021-12-15 13:03 bug#52510: guix install - profile build takes forever Florian Hoertlehner
@ 2021-12-15 13:31 ` Ludovic Courtès
  2021-12-23 15:40   ` Florian Hoertlehner
       [not found] ` <handler.52510.B.163957344926587.ack@debbugs.gnu.org>
  2021-12-28 17:13 ` bug#52510: (no subject) Florian
  2 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2021-12-15 13:31 UTC (permalink / raw)
  To: Florian Hoertlehner; +Cc: 52510

Hi Florian,

Florian Hoertlehner <hoertlehner@gmail.com> skribis:

> I use guix 1.3, and a simple guix install takes forever. It hangs 2-10
> minutes in the profile build phase.
> I have a NVME drive, and see 10-80 MB/sec IO Write in this timeframe.
>
> In the terminal I see: "building profile with 159 packages..."
> Then I have to wait 5 minutes.

So it’s really this “building profile” part that takes 5mn, right?

Could you share the output of ‘guix package --export-manifest’ (or ‘guix
package -I’)?  You can share it privately if you prefer not to make it
public.

On a 5yo SSD, and with 300+ packages in my profile, this part usually
takes a few seconds.  But it could be that for some packages, in
particular packages with lots of propagated inputs, this operation takes
longer.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52510: Acknowledgement (guix install - profile build takes forever)
       [not found] ` <handler.52510.B.163957344926587.ack@debbugs.gnu.org>
@ 2021-12-18 17:25   ` Florian Hoertlehner
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Hoertlehner @ 2021-12-18 17:25 UTC (permalink / raw)
  To: 52510

[-- Attachment #1: Type: text/plain, Size: 5384 bytes --]

I use not only guix chan, but nonguix (for the binary build system and for
clojure-tools)
gorilla (for babashka as binary build; I also use it for vs-codium, but
this is currently broken due
to core update merge) I dont think I use repos from guix-science in this
profile.

Generation 151     Dec 18 2021 17:36:46    (current)
  gorilla ba6cd01
    repository URL: https://github.com/pink-gorilla/gorilla-guix-chan
    branch: master
    commit: ba6cd01922216e2ac2a34a57f8198a4f76d1255c
  science e84cb16
    repository URL: https://github.com/guix-science/guix-science.git
    branch: master
    commit: e84cb167f1f3e2549eae25ec80084cc7253068cf
  nonguix 07b206a
    repository URL: https://gitlab.com/nonguix/nonguix.git
    branch: master
    commit: 07b206af5dc32b93cbc6583896d442a87c8d7b22
  guix 3aef0e7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 3aef0e7ee67932058629e45a44091d1b4a322f90

This is the output of "guix package --export-manifest"

;; This "manifest" file can be passed to 'guix package -m' to reproduce
;; the content of your profile.  This is "symbolic": it only specifies
;; package names.  To reproduce the exact same profile, you also need to
;; capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.

(specifications->manifest
  (list "calibre"
        "hplip"
        "rofi"
        "readymedia"
        "libreoffice"
        "emacs"
        "ungoogled-chromium"
        "nyxt"
        "docker"
        "qemu"
        "virt-manager"
        "udiskie"
        "remmina"
        "claws-mail"
        "java-swt"
        "openssh"
        "syncthing-gtk"
        "docker-compose"
        "gparted"
        "inxi"
        "git"
        "certbot"
        "telegram-desktop"
        "quassel"
        "xfce4-screenshooter"
        "xfce4-notifyd"
        "xfce4-whiskermenu-plugin"
        "exo"
        "fontconfig"
        "eovim"
        "kate"
        "mousepad"
        "pdfarranger"
        "qpdfview"
        "midori"
        "nomad"
        "vimb"
        "glimpse"
        "xdot"
        "gst-libav"
        "gst-plugins-base"
        "gst-plugins-good"
        "gst-plugins-ugly"
        "vlc"
        "kodi"
        "ffmpeg"
        "pavucontrol"
        "keepassxc"
        "transmission:gui"
        "qbittorrent"
        "youtube-dl"
        "flatpak"
        "catfish"
        "celestia-gtk"
        "elementary-xfce-icon-theme"
        "adwaita-icon-theme"
        "breeze-icons"
        "matcha-theme"
        "papirus-icon-theme"
        "java-qdox"
        "iputils"
        "fish"
        "byobu"
        "ranger"
        "mc"
        "glances"
        "rsync"
        "mesa-utils"
        "xclock"
        "sxiv"
        "gstreamer"
        "subdl"
        "libwebp"
        "xdotool"
        "ntp"
        "xsettingsd"
        "node"
        "graphviz@2.42"
        "font-gnu-freefont"
        "emacs-spacemacs-theme"
        "icecat"
        "syncthing"
        "openjdk:jdk"
        "clojure-tools"
        "gpart"
        "wget"
        "curl"
        "unzip"
        "openssl"
        "vscodium"
        "font-iosevka"
        "font-iosevka-aile"
        "sdparm"
        "hdparm"
        "parted"
        "cryptsetup"
        "cpuid"
        "cpuinfo"
        "tree"
        "whois"
        "perftest"
        "the-silver-searcher"
        "bash"
        "zsh"
        "zsh-autosuggestions"
        "less"
        "which"
        "grep"
        "sed"
        "tmux"
        "tar"
        "p7zip"
        "tarlz"
        "gzip"
        "zip"
        "sysfsutils"
        "htop"
        "ncdu"
        "ncurses"
        "rclone"
        "nano"
        "findutils"
        "mlocate"
        "glibc-locales"
        "mcron"
        "fasd"
        "coreutils"
        "hello"
        "make"
        "gcc-toolchain"
        "xcursor-themes"
        "hicolor-icon-theme"
        "font-hack"
        "font-fira-mono"
        "font-gnu-unifont"
        "font-google-noto"
        "font-openmoji"
        "opus"
        "docker-cli"
        "scm"
        "go-ipfs"
        "arc-icon-theme"
        "gnome-icon-theme"
        "gnome-backgrounds"
        "font-fira-code"
        "font-jetbrains-mono"
        "font-abattis-cantarell"
        "font-dejavu"
        "font-liberation"
        "font-awesome"
        "font-google-material-design-icons"
        "gs-fonts"
        "font-ibm-plex"
        "font-wqy-microhei"
        "fastjar"
        "rlwrap"
        "leiningen"
        "babashka"))


On Wed, Dec 15, 2021 at 2:05 PM GNU bug Tracking System <
help-debbugs@gnu.org> wrote:

> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  bug-guix@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 52510@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 52510: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52510
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
>

[-- Attachment #2: Type: text/html, Size: 9427 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52510: guix install - profile build takes forever
  2021-12-15 13:31 ` Ludovic Courtès
@ 2021-12-23 15:40   ` Florian Hoertlehner
  2021-12-23 17:37     ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Hoertlehner @ 2021-12-23 15:40 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 52510

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

With the merge of core-update-frozen this issue went away. :-)
I hope it does not reappear.



On Wed, Dec 15, 2021 at 2:31 PM Ludovic Courtès <ludo@gnu.org> wrote:

> Hi Florian,
>
> Florian Hoertlehner <hoertlehner@gmail.com> skribis:
>
> > I use guix 1.3, and a simple guix install takes forever. It hangs 2-10
> > minutes in the profile build phase.
> > I have a NVME drive, and see 10-80 MB/sec IO Write in this timeframe.
> >
> > In the terminal I see: "building profile with 159 packages..."
> > Then I have to wait 5 minutes.
>
> So it’s really this “building profile” part that takes 5mn, right?
>
> Could you share the output of ‘guix package --export-manifest’ (or ‘guix
> package -I’)?  You can share it privately if you prefer not to make it
> public.
>
> On a 5yo SSD, and with 300+ packages in my profile, this part usually
> takes a few seconds.  But it could be that for some packages, in
> particular packages with lots of propagated inputs, this operation takes
> longer.
>
> Thanks,
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 1602 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52510: guix install - profile build takes forever
  2021-12-23 15:40   ` Florian Hoertlehner
@ 2021-12-23 17:37     ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2021-12-23 17:37 UTC (permalink / raw)
  To: Florian Hoertlehner; +Cc: 52510-done

On Thu, Dec 23, 2021 at 04:40:33PM +0100, Florian Hoertlehner wrote:
> With the merge of core-update-frozen this issue went away. :-)
> I hope it does not reappear.

Great! I am closing this bug. Please let us know if it happens again.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52510: (no subject)
  2021-12-15 13:03 bug#52510: guix install - profile build takes forever Florian Hoertlehner
  2021-12-15 13:31 ` Ludovic Courtès
       [not found] ` <handler.52510.B.163957344926587.ack@debbugs.gnu.org>
@ 2021-12-28 17:13 ` Florian
  2 siblings, 0 replies; 6+ messages in thread
From: Florian @ 2021-12-28 17:13 UTC (permalink / raw)
  To: 52510

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

Content-Type: text/plain
 Hey all,
 I've been having this problem, too. Maybe since I had mentioned it several
 times on IRC, this conversation was sent to me per dm for my answer to it
 from another user. My conclusion after some testing around has been, that
 it was most definitely icon theme packages causing the lag. (which has
 made me able to avoid it better). And this is still around for me, even
 after c-u-f:
 Installing a profile using the appended manifest with two icon themes on my
 thinkpad x230 will take several minutes, unforseen for any other profile
 of two packages that i have installed for now (obviously it goes fluently
 except for the profile building part). I haven't measured anything, bc I
 think it's pretty obvious once you try out, and i'm not sure how to
 measure the profile building phase, but I'll happily send some
  measurements, if you have suggestions.

[-- Attachment #2: manifest with arc+papirus icon theme --]
[-- Type: text/plain, Size: 69 bytes --]

(specifications->manifest
 '("papirus-icon-theme"
   "breeze-icons"))

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-28 18:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 13:03 bug#52510: guix install - profile build takes forever Florian Hoertlehner
2021-12-15 13:31 ` Ludovic Courtès
2021-12-23 15:40   ` Florian Hoertlehner
2021-12-23 17:37     ` Leo Famulari
     [not found] ` <handler.52510.B.163957344926587.ack@debbugs.gnu.org>
2021-12-18 17:25   ` bug#52510: Acknowledgement (guix install - profile build takes forever) Florian Hoertlehner
2021-12-28 17:13 ` bug#52510: (no subject) Florian

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