I recall a compression algorithm change used by pacman years ago, but don't recall noticing anything significant. Is zstd current as in new technology compared to what we're currently using?
Would also be interesting to compare numbers of the compression algorithm used years ago to zstd.
Because of parental leave there has been a (understandable) lack of response to the pull-requests we need merged, and some collaboration, for us to leverage dracut. Currently waiting the dev to come back and see if there is any interest from dracut to fix the issues :)
Sure enough but hey, the criticity happened one year ago (when libarchive started supporting zstd). Doesn't seem that critical to me since Arch is supposed to be updated quite often.
It's a breaking change if you haven't updated in a very long time
If I understood correctly, it should work as long as you have a fairly modern libarchive version (from September 2018 onwards), it is just not the default yet (but will soon be, after the Pacman 5.2 release).
This facebook algorithm called zstd, it is fast compressing and decompressing, a bit faster than xz, but are the resulting pkg files smaller or larger? If compression size is held comparable are the times equally impressing?
If what I am suspecting is true, faster compression bigger file, then what you save in building packages you lose in time needed to mirror transfer, and from mirrors to users' systems. Not everyone using arch has the fastest internet connection. I sometimes go and read the log of what has really changed and skip editions if I consider the (kernel, browser, office-suite, linux-firmware) pkg of no interest. That is because it is a big deal to download such large packages.
The compression, and decompressions are magnitudes faster than xz. The sizes are smaller, but we'd have settled for a tiny bit larger files if we had to.
35 comments
Deleted before we saved it.
I'm solely convinced you just did the changelog for funsies to hold us at the edge of our seats for another 2-3 months.
So long as the issue template is ready that's the main thing.
So, If I've run a
pacman -Syuin the past year I'm good?Yes
Deleted before we saved it.
Ye, run
pacman -Qs libarchiveif you want to checkin case you aren't sure how, you can check your current installed version of libarchive by using the following command:
Any numbers available as to the speed increase.
I recall a compression algorithm change used by pacman years ago, but don't recall noticing anything significant. Is zstd current as in new technology compared to what we're currently using?
Would also be interesting to compare numbers of the compression algorithm used years ago to zstd.
EDIT:
A quick search resulted in : https://engineering.fb.com/core-data/smaller-and-faster-data-compression-with-zstandard/
https://lists.archlinux.org/pipermail/arch-dev-public/2019-March/029520.html
https://lists.archlinux.org/pipermail/arch-dev-public/2019-March/029542.html
https://facebook.github.io/zstd/
Thanks.
Attempted humor:
I'm also curious if anyone has taken into consideration, the potential benefits besides the speed and efficiency increases.
Arch Linux: The distro that uses stuff from Facebook.
Ah, so the large improvement is largely due to the justified reluctance to enable xz multithreading.
Beautiful.
Any news about Dracut btw?
Because of parental leave there has been a (understandable) lack of response to the pull-requests we need merged, and some collaboration, for us to leverage dracut. Currently waiting the dev to come back and see if there is any interest from dracut to fix the issues :)
Just out of curiosity, what are those pull requests?
Deleted before we saved it.
Hmm... Why is it already working for me right now? :))
For example: http://repo-ck.com/x86_64/ (pacman 5.1.3-1).
Because support was added over a year ago, as per our news post :)
This is to inform any last holdouts, as we plan to roll this out on our official repositories at some point.
Neat. I assume I just fiddle with
makepkg.confin order to utilisezstd?Its a breaking change if you havent updated in a very long time.
This is a bumkick to those who want to update the day after it drops to let them know that the update has to happen now!!
Sure enough but hey, the criticity happened one year ago (when
libarchivestarted supporting zstd). Doesn't seem that critical to me since Arch is supposed to be updated quite often.One year seems quite safe. ;)
If I understood correctly, it should work as long as you have a fairly modern libarchive version (from September 2018 onwards), it is just not the default yet (but will soon be, after the Pacman 5.2 release).
This facebook algorithm called zstd, it is fast compressing and decompressing, a bit faster than xz, but are the resulting pkg files smaller or larger? If compression size is held comparable are the times equally impressing?
If what I am suspecting is true, faster compression bigger file, then what you save in building packages you lose in time needed to mirror transfer, and from mirrors to users' systems. Not everyone using arch has the fastest internet connection. I sometimes go and read the log of what has really changed and skip editions if I consider the (kernel, browser, office-suite, linux-firmware) pkg of no interest. That is because it is a big deal to download such large packages.
The compression, and decompressions are magnitudes faster than xz. The sizes are smaller, but we'd have settled for a tiny bit larger files if we had to.
https://lists.archlinux.org/pipermail/arch-dev-public/2019-March/029542.html
Awesome!
deleted ^^^^^^^^^^^^^^^0.4851 [^^What ^^is ^^this?](https://pastebin.com/FcrFs94k/51543)