Conversation
jacobgkau
left a comment
There was a problem hiding this comment.
Built an iso with this PR, confirmed that it uses mirrors.ubuntu.com for its sources.
With both the current released iso (nvidia_9) and the mirrors iso, performed the following:
- Installed without internet connection, rebooted into the new installation & completed first-time user setup.
- Plugged in Ethernet & immediately ran
sudo apt update, then ran it a second time.
First update:
- us.archive.ubuntu.com, first update: 5.27 seconds
- mirrors.ubuntu.com, first update: 10.27 seconds
Second update:
- us.archive.ubuntu.com, second update: 1.27 seconds
- mirrors.ubuntu.com, second update: 5.03 seconds
Video (with timer) for us.archive.ubuntu.com: https://www.dropbox.com/s/4c8a4mwagusly21/us-archive-updateonly.webm?dl=0
Video (with timer) for mirrors.ubuntu.com: https://www.dropbox.com/s/7hux7jbvytm06ss/mirrors-updateonly.webm?dl=0
Running out of time for this today, but I'd like to do another test where I install some packages after updating the metadata, to demonstrate whether the seconds lost from metadata are made back up when downloading packages (although that will depend a lot on users' locations.)
|
Doing another round of testing, at least in some instances, the mirrors:// format appears to be slower than us.archive.ubuntu.com not just in updating metadata, but also in downloading packages. Us.archive update: 00:05.50 Mirrors update: 00:58.63 (it seemed to get stuck on one that wasn't responding for a while) (For the timers, the "apt update" timer stopped when the command finished to be consistent with the tests from last week, but the "apt install" timer stopped when it got done with the actual download portion.) |
This will select better sources for non-US users, and potentially improve package download speeds for all users.
Metadata download speeds may be negatively impacted, should be tested with a freshly installed ISO built from this branch.