News for hackers. Stuff that matters.
Re:Make Ubuntu packages 90% faster by rebuilding them by serbuvlad on Wednesday March 19, 2025 @12:52AM (#43408368)
I'd like to bring attention to the ALHP repos[1].

These are the Arch packages built for x86-64-v2, x86-64-v3 and x86-64-v4, which are basically names for different sets of x86-64 extensions. Selecting the highest level supported by your processor should get you most of the way to -march=native, without the hassle of compiling it yourself.

It also enables -O3 and LTO for all packages.

[1]: https://github.com/an0nfunc/ALHP

Re:Make Ubuntu packages 90% faster by rebuilding them by eru on Wednesday March 19, 2025 @02:14AM (#43408715)
Nice, I'll try them out!

LTO is great, but I have my doubts about -O3 (vs the more conservative -O2).

UPDATE: bah, ALHP repos don't support the nvidia drivers. And I don't want to muck around with setting everything up again.

Another update: I moved to nvidia-open, so now I can try the suggested repos.

Re:Make Ubuntu packages 90% faster by rebuilding them by alessandroberna on Wednesday March 19, 2025 @03:35AM (#43409143)
You should be able to use the regular arch repos as a fallback (and even repos from alhp with a lower feature level https://somegit.dev/ALHP/ALHP.GO/issues/255#issuecomment-333...)

doing this should allow you to use as many optimized packages as possible while still being able to install packages not supported by the alhp

Re:Make Ubuntu packages 90% faster by rebuilding them by darkwater on Wednesday March 19, 2025 @03:20AM (#43409066)
All in under 2 hours. You were totally nerd-sniped.
Re:Make Ubuntu packages 90% faster by rebuilding them by eru on Wednesday March 19, 2025 @05:29AM (#43409816)
Well, I moved to the new repos. But I had to change to the dkms drivers.

Seems to work so far, but nothing 'feels' faster either.