Why? I haven't clicked on that linked issue in the changelog, but my download speed is bottlenecked by the request time of each package until the server responds with data, and parallel downloads solved that problem when the number of downloads is set to a high enough value, so that there are (almost always) enough ongoing requests/downloads that can utilize the available bandwidth of my connection to the server (usually 1Gbit/s). Sorting packages by size and requesting them in that order would mean that packages with smaller sizes are grouped together, either at the beginning or the end of all package downloads, making it way more likely to cause a bottleneck again, because the number of parallel downloads won't be enough to use the available bandwidth due to HTTPS request+response delays of small individual requests.
Ok, so the idea was that large downloads (like a kernel for example) at the end kill the parallelism when that large download is the only one left, but since we're downloading from one server anyway, parallel downloads most of the time only solve the request+response time issue of small packages. Having parallel downloads at all costs doesn't guarantee the highest overall throughput.
I remember having a discussion with someone when 6.0.0 released about this, I think it was a 2-3% improvement in time to download them in size order for a "usual" update. Having a larger percentage of smaller packages would increase the chances of running into the handshake bottleneck again, but you'd just need a couple more parallels to overcome it.
I think it's one of those things where the time you lose on the small ones is made back by the big ones, and you'd really only see a difference of a couple percentage points in the long run.
I live on the countryside and have a poor internet connection (download peak at about 1Mo/s) so I rather start my big downloads first.
But I understand that it would be useful to get it the other way with a good one, maybe on option for the sorting would be the best solution to adapt to everyone?
Anyone know if we'll get a feature that displays what every package's size is? So, if both firefox, and python has an update you can see that firefox is 80 MB and python is 5 MB, and not just that it's 85 MB total. You used to be able to see that before 6.0, but I don't think you can after that unless I've misconfigured something. Pretty sure it was part of the TotalDownload option.
32 comments
I had more commits. So I should get the reddit karma!
Admittedly, if I have not missed a language updating the translations, and made the news update and bumped the version number...
Admittedly, If I had not made all the bugs....
Deleted before we saved it.
Looking forward to progress on the x86-64-v3 package repo efforts now that this is out.
can you give me a little info in this?
More optimizations for newer processors. It's Haswell +.
Are they actually doing this? Last I heard it was just an idea.
https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0002-march.rst
It's nice to get ordered downloads :)
Why? I haven't clicked on that linked issue in the changelog, but my download speed is bottlenecked by the request time of each package until the server responds with data, and parallel downloads solved that problem when the number of downloads is set to a high enough value, so that there are (almost always) enough ongoing requests/downloads that can utilize the available bandwidth of my connection to the server (usually 1Gbit/s). Sorting packages by size and requesting them in that order would mean that packages with smaller sizes are grouped together, either at the beginning or the end of all package downloads, making it way more likely to cause a bottleneck again, because the number of parallel downloads won't be enough to use the available bandwidth due to HTTPS request+response delays of small individual requests.
https://bugs.archlinux.org/task/70172
Ok, so the idea was that large downloads (like a kernel for example) at the end kill the parallelism when that large download is the only one left, but since we're downloading from one server anyway, parallel downloads most of the time only solve the request+response time issue of small packages. Having parallel downloads at all costs doesn't guarantee the highest overall throughput.
I remember having a discussion with someone when 6.0.0 released about this, I think it was a 2-3% improvement in time to download them in size order for a "usual" update. Having a larger percentage of smaller packages would increase the chances of running into the handshake bottleneck again, but you'd just need a couple more parallels to overcome it.
I think it's one of those things where the time you lose on the small ones is made back by the big ones, and you'd really only see a difference of a couple percentage points in the long run.
I live on the countryside and have a poor internet connection (download peak at about 1Mo/s) so I rather start my big downloads first. But I understand that it would be useful to get it the other way with a good one, maybe on option for the sorting would be the best solution to adapt to everyone?
Anyone know if we'll get a feature that displays what every package's size is? So, if both firefox, and python has an update you can see that firefox is 80 MB and python is 5 MB, and not just that it's 85 MB total. You used to be able to see that before 6.0, but I don't think you can after that unless I've misconfigured something. Pretty sure it was part of the TotalDownload option.
I think you're looking for the
VerbosePkgListsoption. From the options section of the pacman.conf manpage:VerbosePkgLists Displays name, version and size of target packages formatted as a table for upgrade, sync and remove operations.
Oh thanks. I guess I forgot to enable that after the update.
Huh and I was just thinking yesterday about patching pacman-key to use --skip-trustdb-update or whatever the GnuPG option is.
so this a lazy bug report:
if i repo-add a new
packageand pacman -Sypackageit is not found.i have to rerun pacman -S
packageand it worksDeleted before we saved it.
switch to wayland then :p