You are not logged in.

#1 2025-04-16 06:49:57

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Pacman parallelization but largest first

Is it possible to have pacmans parallelization to sort the packages by largest first instead of alphabetically?

When doing a full upgrade, I tend to be stuck waiting for large packages to finish downloading. But things like

Linux

only start after most other items have been downloaded. If it started first along with other large items, then everything would finish way quicker.

Offline

#2 2025-04-16 07:11:37

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,619
Website

Re: Pacman parallelization but largest first

It does sort by largest first....

Offline

#3 2025-04-16 07:51:47

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: Pacman parallelization but largest first

Allan wrote:

It does sort by largest first....

Mine seems to sort alphabetically ? it defo starts with packages starting with 'a'

Offline

#4 2025-04-16 08:12:01

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,445
Website

Re: Pacman parallelization but largest first

@fozid do you actually have parallelization turned on? Please post the output of "pacman-conf | grep -i Parallel"

Offline

#5 2025-04-16 08:15:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,619
Website

Re: Pacman parallelization but largest first

Pacman has downloaded largest first for three years:
https://gitlab.archlinux.org/pacman/pac … b05fffd6bd

I'd need to see a recording of what pacman is doing to investigate.

Offline

#6 2025-04-16 08:35:29

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: Pacman parallelization but largest first

gromit wrote:

@fozid do you actually have parallelization turned on? Please post the output of "pacman-conf | grep -i Parallel"

yep, the fact I asked about changing the order as opposed to making it function should answer that, but for the sake of clarity;

pacman-conf | grep -i Parallel
ParallelDownloads = 50

Offline

#7 2025-04-16 08:36:01

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: Pacman parallelization but largest first

Allan wrote:

Pacman has downloaded largest first for three years:
https://gitlab.archlinux.org/pacman/pac … b05fffd6bd

I'd need to see a recording of what pacman is doing to investigate.

ok, ill try to record it next time i run -Syu

Offline

#8 2025-04-16 10:16:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,619
Website

Re: Pacman parallelization but largest first

fozid wrote:
pacman-conf | grep -i Parallel
ParallelDownloads = 50

Ah - most of the time, you are downloading less than 50 packages.  So you are not seeing the effects of sorting.

Offline

#9 2025-04-16 10:23:55

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,445
Website

Re: Pacman parallelization but largest first

I have set it to 6 parallel downloads smile

Offline

Board footer

Powered by FluxBB