You are not logged in.

#1 2025-07-08 04:35:18

Asakusa
Member
Registered: 2025-06-10
Posts: 13

[SOLVED]takes a lot of cpu resource when compiling package from Aur

Hey all, every time I install AUR packages like Thunderbird, the build process pushes my CPU usage up to around 90% to 100%. I'm on an Intel 14900K, so I’m just wondering — is that normal for AUR builds, or could something in my Arch setup be causing it?
I'm using  command:

yay -Syu

when trying to install the package.

here's screnshoot link of the system load when compile the pkg
https://media.discordapp.net/attachment … height=842

Last edited by Asakusa (2025-07-08 06:09:08)

Offline

#2 2025-07-08 04:53:18

johnpiers
Member
From: Somerset West, Cape Town
Registered: 2012-07-22
Posts: 51

Re: [SOLVED]takes a lot of cpu resource when compiling package from Aur

Have a look here and see if you can get some pointers: https://wiki.archlinux.org/index.php/ma … ompression

To skip compression when building packages from the Arch User Repository (AUR), you can modify the PKGEXT variable in makepkg.conf. By setting PKGEXT to .pkg.tar instead of the default .pkg.tar.zst (or similar), you can prevent compression. This can be done either by editing the system-wide makepkg.conf or by creating a user-specific configuration file to override it.

Your best best is to scour the Arch Wiki and most of the time you will find your answers there. Cheers

Last edited by johnpiers (2025-07-08 05:07:02)

Offline

#3 2025-07-08 05:22:56

mithrial
Member
Registered: 2017-03-05
Posts: 149

Re: [SOLVED]takes a lot of cpu resource when compiling package from Aur

Your screenshot does not show which process is using the CPU but you're compiling a very large application from source, so of course, it's using a lot of CPU.

Offline

#4 2025-07-08 06:07:40

Asakusa
Member
Registered: 2025-06-10
Posts: 13

Re: [SOLVED]takes a lot of cpu resource when compiling package from Aur

mithrial wrote:

Your screenshot does not show which process is using the CPU but you're compiling a very large application from source, so of course, it's using a lot of CPU.

Yeah, I think the screenshot's a bit off. But high resource usage during compilation is normal, right?

Offline

#5 2025-07-08 06:08:51

Asakusa
Member
Registered: 2025-06-10
Posts: 13

Re: [SOLVED]takes a lot of cpu resource when compiling package from Aur

johnpiers wrote:

Have a look here and see if you can get some pointers: https://wiki.archlinux.org/index.php/ma … ompression

To skip compression when building packages from the Arch User Repository (AUR), you can modify the PKGEXT variable in makepkg.conf. By setting PKGEXT to .pkg.tar instead of the default .pkg.tar.zst (or similar), you can prevent compression. This can be done either by editing the system-wide makepkg.conf or by creating a user-specific configuration file to override it.

Your best best is to scour the Arch Wiki and most of the time you will find your answers there. Cheers

I'll read it, thanks for the link. I guess I'll mark this thread as solved. Thanks, man

Offline

#6 2025-07-08 06:14:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]takes a lot of cpu resource when compiling package from Aur

You can limit the amount of cores used, at the expense of longer build times.
https://wiki.archlinux.org/title/Makepk … ompilation

Offline

Board footer

Powered by FluxBB