Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Severe performance degradation in "Compressing package..." phase. #1168

Open
raven2cz opened this issue Mar 27, 2024 · 6 comments
Open

Severe performance degradation in "Compressing package..." phase. #1168

raven2cz opened this issue Mar 27, 2024 · 6 comments

Comments

@raven2cz
Copy link

Affected Version

paru v2.0.3 - libalpm v14.0.0

Description

About 10 days after the release of new versions of pacman, I've been facing a problem with paru. I've documented the problem on pacman in this issue:
https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/issues/23

However, I feel like I might be crying over the wrong grave since I can't find many people who would have similar issues. Moreover, if you read the responses in that issue, it's a very sad story and there's no progress.

I primarily use paru and, of course, this occurs when I use it. I need you to test it and find out where the mistake is. I'm really tired of this problem. Have you tried testing paru with the new setting in /etc/makepkg.conf? Does anyone else have similar problems as I do? Please don't just tell me that "just" configuring this file and going on as before is enough. That's not the point. The new setting is default for all users.

Mainly, I don't know yet whether this is related, or if there's a different issue in paru! I can't determine this and need someone to look into it. In the end, it's a very serious problem because AUR processing now often takes 8-10 times longer on 10 different stations, and you can barely use the computer due to CPU load.

Output

Default files. Details see in upstream attached issue.

cat /etc/makepkg.conf
@omentic
Copy link

omentic commented Mar 31, 2024

Yes, I also see this issue (see my comment in #1145). It is not present in other AUR helpers like pakku, though I might just have switched at a funny time.

@raven2cz
Copy link
Author

raven2cz commented Apr 2, 2024

Yes, I also see this issue (see my comment in #1145). It is not present in other AUR helpers like pakku, though I might just have switched at a funny time.

No, this new configuration change in Pacman will affect all wrappers that will use the new settings from /etc/makepkg.conf. It's not just about debugging, but specifically about the new ZSTD parameters, which is quite "lethal" for wrappers and is now the default.

I would recommend thoroughly testing with this setting, as I have already received similar reports of problems from several people, so the fire will spread, especially at the time of new installations, where this is already the default.
We need to come to some arrangement with them.

@omentic
Copy link

omentic commented Apr 3, 2024

It does very much seem to be an upstream issue. It is strange that makepkg -si installs a debug package now by default.

(I would express this sentiment upstream but GitLab registrations appear closed...)

@raven2cz
Copy link
Author

raven2cz commented Apr 4, 2024

It does very much seem to be an upstream issue. It is strange that makepkg -si installs a debug package now by default.

(I would express this sentiment upstream but GitLab registrations appear closed...)

It seems to me that no one is commenting there, and it feels quite impossible, given the performance issue that it is. Try following the instructions mentioned above, write a registration request to: [email protected].

@omentic
Copy link

omentic commented Apr 4, 2024

It's a bit too much of a pain...

@vinylSummer
Copy link

same issue! my laptop i3-1115G4 multi-threaded dual core takes literally forever on the Compressing package step for AUR packages.. one core is pinned at 100% while the other one isn't loaded much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants