You are not logged in.

#1 2020-04-23 10:12:31

LeSnake
Member
Registered: 2020-04-23
Posts: 3

It is possible to enable multicore for pacman?

I saw that while installations with pacman only one core is used. Is there an way to enable multicore for pacman with an line in the pacman.conf file?

I was able to enable multicore for AUR by editing MAKEFLAGS in cmake config file. It would be very nice if i should do it also with pacman.

Offline

#2 2020-04-23 10:44:12

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,704
Website

Re: It is possible to enable multicore for pacman?

What would be the purpose of that.
Multicore processing usually is applied, when parallel processing can speed things up.
Pacman basically does two main things:
1) Download packages.
2) Install packages.

In the first case the bottleneck is you network / internet bandwidth.
In the second case the bottleneck is the disk I/O speed.

In both cases multicore processing would not speed up anything.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2020-04-23 10:52:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,654
Website

Re: It is possible to enable multicore for pacman?

Mod note: Moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2020-04-23 19:47:34

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: It is possible to enable multicore for pacman?

Following @schard and to put it simply, files downloaded and installed via pacman are already compiled so you don't have to "make" anything, whereas AUR packages are not.

Cheers
Paul.

Offline

#5 2020-04-23 23:10:08

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: It is possible to enable multicore for pacman?

You can use powerpill to parallelize the downloads.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB