[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Grant Sewell wrote: > > Is there any way to restrict the network bandwidth usage a given > application can use? Yes Linux Advanced Routing and Traffic Control is the magic phrase (LARTC). > For instance, I want to restrict the amount of > bandwidth the machine doing a lengthy "apt-get upgrade" can use so that > the other computers on my network can still use the Internet reliably. Wondershaper is the usual recommendation of "blackbox" style script, that uses LARTC for this. Already packaged in Debian and most derivatives. Be aware one can only control the sent data rate reliably, so whilst wondershaper will help, it is a lot more effective if the traffic is limited from the server end. I'm pretty sure that some of the UK Debian mirrors operate some sort of rate limiting or "fair share" policy. However one can rate limit the ACKs in a download, which has some effect on regulating the download speed. Personally I use "apticron" and/or "cron-apt" to ensure that the downloads take place at a sensible time of day. If you have multiple identical boxes consider also using a caching proxy (make sure it caches files this big), or apt-proxy. -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html