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?

  • impure9435@kbin.run
    link
    fedilink
    arrow-up
    9
    ·
    6 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
    link
    fedilink
    arrow-up
    6
    ·
    6 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.

      • Plopp@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        6 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
          link
          fedilink
          arrow-up
          1
          ·
          6 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
            link
            fedilink
            arrow-up
            1
            ·
            6 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.

  • Ben@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    6 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.

  • subignition@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    6 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
    link
    fedilink
    arrow-up
    1
    ·
    6 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.