swupd-client
swupd-client copied to clipboard
swupd has terrible download speed
Hi, I had jumped over to Clear Linux. I've just found out that swupd only used ~25% of the bandwidth. Because whenever I downloads the ISO file from the alternative CDN, it uses the whole bandwidth (5.7MB/s), but when I download the packages bundle with swupd, the speed is just reaches ~1.7MB/s. I do know about --max-parallel-download but it's still happen the same. How do I resolve this issue? Thanks.
Thank you for the report.
Are you using the same mirror for the ISO download and the swupd? You can check that by running
swupd mirror
If not, try to set the mirror using
swupd mirror -set <url_to_mirror>
I've tried: download.clearlinux.org
, cdn.download.clearlinux.org
, cdn-alt.download.clearlinux.org
and they're all the same one, same CDN deploy from one server but alternative subdomain.
Note: I do know about swupd mirror
since I had read all the docs before rolled to Clear Linux
Nice. I'll set this as a feature request then. We had an effort on getting download speed better in the past, but it looks like something we need to readdress. Thank you for the feedback.
I suggest to add something like parallel threads downloading for it.
For what is worth as another data-point;
I'm down in Australia but on a 100/40mbps fiber connection.
The highest swupd
download speed I've recorded in the last few months is 100KB/sec, with an average of around 50KB/sec. This is very tediously slow.
Would love a way to run threads in parallel for the same file as the bundle-add
often bogs down when it hits a 100MB+ bundle.
It's look like getting hard for devs to solving the swupd
's problems in milestones since the spread of COVID-19.
Any progress on this ?
Any progress on this ?
Pretty sure nope. I have waited so long so I chose Fedora anyways.
Don't think anything has changed much. Feels like for myself at least, that files are not staying cached for longer than an hour or so.
If I update two machines back to back, the second one is nice and fast (200mbit or so), by the first one is painfully slow.
If I do one machine in the morning and one in the afternoon both are very slow.
It is still incredible slow, swupd can average around a few kbit/s while other CDNs can average around 300-500 Mbit/s on the same machine under the same conditions.
I tried to compare the speed of the repo server with debian's. Download speeds on Debian repos reach 60MBps while Clear Linux is only about 4.8MBps.
Test using the OS files available in the repo.
Wow, it's been 2 years already and I forgot about this issue! I currently am using Arch Linux, it was a great journey along the way.
Yup, still the case. Would be great if the mirrors would be auto selected.
better leave it auto update, as cached on akaimai
I can confirm also that the speed was so low after 2h still was downloading packages. I ended up ditching this distro because of this low mirror speed. Unfortunately. Hope for a fix in the future, i was really eager to try it on my nas.
will this be ever addressed?
we are constantly keeping an eye out but it seems to greatly depend on where in the world you are for the CDN to decide to be slow or fast
On Mon, Nov 13, 2023 at 4:04 PM Hmmm @.***> wrote:
will this be ever addressed?
— Reply to this email directly, view it on GitHub https://github.com/clearlinux/swupd-client/issues/1341#issuecomment-1809327584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FKVEZST6R2VKRIUC7TYEKYR5AVCNFSM4K767D22U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBQHEZTENZVHA2A . You are receiving this because you are subscribed to this thread.Message ID: @.***>