all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is it normal for `guix pull` to be slow?
@ 2024-03-17 15:04 rczb
  2024-03-18  0:03 ` William
  0 siblings, 1 reply; 3+ messages in thread
From: rczb @ 2024-03-17 15:04 UTC (permalink / raw)
  To: help-guix

Installing a package with Guix shows a normal speed, while invoking 
`guix pull` does not. Is it normal, or due to my own environment?

# Networking

Education network in Mainland China. Specify 
`https://mirror.sjtu.edu.cn/git/guix.git` as a mirror for the Git repo. 
No extra substituter.

# Operating System

```

Operating System: openSUSE Tumbleweed 20240315
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840H with Radeon 780M Graphics
Memory: 27.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 21J2
System Version: ThinkBook 16 G5+ APO

```

# Guix

```

guix (GNU Guix) 5267c6073c3bdc6ba7874fc776c23c928f1ee263
Copyright (C) 2024 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

```



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

* Re: Is it normal for `guix pull` to be slow?
  2024-03-17 15:04 Is it normal for `guix pull` to be slow? rczb
@ 2024-03-18  0:03 ` William
  2024-03-18  1:07   ` rczb
  0 siblings, 1 reply; 3+ messages in thread
From: William @ 2024-03-18  0:03 UTC (permalink / raw)
  To: rczb; +Cc: help-guix

On Sun, 17 Mar 2024 23:04:16 +0800
rczb <rc-zb@outlook.com> wrote:

> Installing a package with Guix shows a normal speed, while invoking 
> `guix pull` does not. Is it normal, or due to my own environment?
> 
> # Networking
> 
> Education network in Mainland China. Specify 
> `https://mirror.sjtu.edu.cn/git/guix.git` as a mirror for the Git
> repo. No extra substituter.
> 
> # Operating System
> 
> ```
> 
> Operating System: openSUSE Tumbleweed 20240315
> KDE Plasma Version: 6.0.2
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.2
> Kernel Version: 6.7.9-1-default (64-bit)
> Graphics Platform: Wayland
> Processors: 16 × AMD Ryzen 7 7840H with Radeon 780M Graphics
> Memory: 27.1 GiB of RAM
> Graphics Processor: AMD Radeon Graphics
> Manufacturer: LENOVO
> Product Name: 21J2
> System Version: ThinkBook 16 G5+ APO
> 
> ```
> 
> # Guix
> 
> ```
> 
> guix (GNU Guix) 5267c6073c3bdc6ba7874fc776c23c928f1ee263
> Copyright (C) 2024 the Guix authors
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> ```
> 
> 

Hello.

It's totally normal and expected, and if Guix wasn't upgraded in a
while (say, for example a month) it'll take even longer time. The
reason being that it has to upgrade the Guix toolset and then fetch new
commits directly from git repos and build a database with said commits,
these databases contain all information required to replicate your
current installed setup, building this database is the slow part of
running pull.

More info on guix pull:
https://guix.gnu.org/manual/en/guix.html#Invoking-guix-pull


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

* Re: Is it normal for `guix pull` to be slow?
  2024-03-18  0:03 ` William
@ 2024-03-18  1:07   ` rczb
  0 siblings, 0 replies; 3+ messages in thread
From: rczb @ 2024-03-18  1:07 UTC (permalink / raw)
  To: William; +Cc: help-guix

Thanks for explanation.
So can I think of *guix pull* as an analogue to *nix flake update* or 
*nix channel --update*, but with *nix-index* and *​nix-env --upgrade 
--attr nixpkgs.nix* or *nix profile upgrade nix* in addition?

On 18/03/2024 08:03, William wrote:
> On Sun, 17 Mar 2024 23:04:16 +0800
> rczb<rc-zb@outlook.com>  wrote:
>
>> Installing a package with Guix shows a normal speed, while invoking
>> `guix pull` does not. Is it normal, or due to my own environment?
>>
>> # Networking
>>
>> Education network in Mainland China. Specify
>> `https://mirror.sjtu.edu.cn/git/guix.git` as a mirror for the Git
>> repo. No extra substituter.
>>
>> # Operating System
>>
>> ```
>>
>> Operating System: openSUSE Tumbleweed 20240315
>> KDE Plasma Version: 6.0.2
>> KDE Frameworks Version: 6.0.0
>> Qt Version: 6.6.2
>> Kernel Version: 6.7.9-1-default (64-bit)
>> Graphics Platform: Wayland
>> Processors: 16 × AMD Ryzen 7 7840H with Radeon 780M Graphics
>> Memory: 27.1 GiB of RAM
>> Graphics Processor: AMD Radeon Graphics
>> Manufacturer: LENOVO
>> Product Name: 21J2
>> System Version: ThinkBook 16 G5+ APO
>>
>> ```
>>
>> # Guix
>>
>> ```
>>
>> guix (GNU Guix) 5267c6073c3bdc6ba7874fc776c23c928f1ee263
>> Copyright (C) 2024 the Guix authors
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> ```
>>
>>
> Hello.
>
> It's totally normal and expected, and if Guix wasn't upgraded in a
> while (say, for example a month) it'll take even longer time. The
> reason being that it has to upgrade the Guix toolset and then fetch new
> commits directly from git repos and build a database with said commits,
> these databases contain all information required to replicate your
> current installed setup, building this database is the slow part of
> running pull.
>
> More info on guix pull:
> https://guix.gnu.org/manual/en/guix.html#Invoking-guix-pull

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

end of thread, other threads:[~2024-03-18  1:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-17 15:04 Is it normal for `guix pull` to be slow? rczb
2024-03-18  0:03 ` William
2024-03-18  1:07   ` rczb

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.