24
submitted 7 months ago by Braintrain@lemmy.ml to c/kde@lemmy.kde.social

Hi, sadly I have a very limited internet connection (10 Mbit). When I'm watching a video and then install something in Discover, it takes almost all the bandwidth and the video begins to stutter & buffer. Somebody knows if there's a way to limit the download speed for discover - preferably without installing additional software?

top 12 comments
sorted by: hot top controversial new old
[-] impure9435@kbin.run 9 points 7 months ago

Discover doesn't actually download stuff, it's just a frontend for a package manager like apt, pacman, Flatpak or Snap. The package manager would need to support a speed limit feature.

[-] Plopp@lemmy.world 6 points 7 months ago

Very good question and one that I can't answer. However I would check to see if your router supports QoS. If it does you might be able to ger the router to prioritize important data such as video playback, gaming, video calls etc. I've done that in my router and it made it so much easier to live with 10 Mbit.

[-] boredsquirrel@slrpnk.net 1 points 7 months ago

This only works when not using a VPN, do it is not a solution for all

[-] Plopp@lemmy.world 2 points 7 months ago

That depends on the setup. I use a VPN 24/7, but it's configured on the router so most of my devices are routed through the VPN at all times while at home without them having to run a VPN client themselves, and can also take advantage of DNS-based ad blocking. But yes, it's not a setup for everyone.

[-] boredsquirrel@slrpnk.net 1 points 7 months ago

I think using a VPN on the router is great, but this doesnt work for mobile devices at all. Especially the situation "public wifi" is not dealt with.

[-] Plopp@lemmy.world 1 points 7 months ago

What do you mean doesn't work for mobile devices "at all"? It works in many ways. If you have a VPN client on your phone, just disable it while you're connected to your home wifi.

[-] boredsquirrel@slrpnk.net 1 points 7 months ago

Yeah but then it is not the only solution.

[-] BendyLemmy@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

On a limited connection, I'd advise not updating whilst watching a video. It's also possible to download a video and watch it whilst updating.

Beyond that it's not easy to answer - as I don't use discover, but also never do updates without paying attention, so that watching a video at the same time isn't something I'd contemplate.

[-] tun@lemm.ee 2 points 7 months ago

Look into Bufferbloat and SQM.

One way is to replace your router with a router with good SQM (smart queue management). You can find recommended router at https://www.waveform.com/tools/bufferbloat

[-] michael_palmer@lemmy.sdf.org 2 points 7 months ago

Switching to slow mirror can help (if such mirror exists)

[-] subignition@fedia.io 1 points 7 months ago

You may or may not have a mechanism to limit bandwidth on the whole connection. It could be at the router level or possibly an option on your network card configuration. If you have the capability, setting a limit at 90% of your bandwidth should leave enough room to minimize the issues you're seeing.

[-] cobra89@beehaw.org 1 points 7 months ago

Yeah as others have hinted at this is going to be easier with a router/network level feature.

I'm sure there's a way to do this by setting up a special virtual interface, limiting the bandwidth on that interface and then using iptables to redirect the apt traffic to that interface or something to that effect but I'm not a network engineer and I don't have the experience to help with something like that. There might also be a way to do this with cgroups to limit the bandwidth but again that's above my level of expertise.

this post was submitted on 27 Apr 2024
24 points (96.2% liked)

KDE

5391 readers
65 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS