Bandwidth control in Linux

I’ve experienced a really weird issue while I’m browsing the web and downloading a file.. it seems that the download takes all the bandwidth of my connection.. well.. after googling around I’ve found these solution for both, Ubuntu and Fedora..

Ubuntu

Create the next file

 /etc/apt/apt.conf.d/76download

With this content:

Acquire
{
Queue-mode "access";
http
{
Dl-Limit "65";
};
};

Fedora

Edit the yum.conf (sudo gedit /etc/yum.conf) and add these lines at the end of the file:

# 70% of your connection bandwidth
throttle=70%
bandwidth=64000

That’s it…
Hope to be helpful…

Advertisements