Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In windows there is a registry entry called Reserve bandwidth. With that system was reserved some bandwidth from my INTERNET connection so that when i am downloading all other connected application can run with minimum INTERNET support.

Like reserve bandwidth help to keep other application (all kind of messenger) on-line when i was downloading. But in Ubuntu my connection speed is good enough but problem arise when i am downloading a file, all my messenger gets off-line status. Can any one tell how can i fix such problem? Or why this is happening?

share|improve this question
    
see this answer: superuser.com/a/66575/33303 –  Janus Troelsen Jul 27 '12 at 15:58
add comment

2 Answers 2

up vote 12 down vote accepted
+50

(Credit goes to the answerer of this post in Super User)

  • Install trickle with this command:

    sudo apt-get install trickle
    

    Or using Software Center:

    Install via the software center

  • Start any program with trickle specifying it's download limits. For example, opening a new Firefox instance with 20 KB/s download limit, use this command

    trickle -s -d 20 firefox
    

    Here, -s saying trickle is running in standalone without any daemon, -d is doing the limit on download speed. You can also use -u option to specify an upload speed.

See the trickle manual page for more help.


If you want to limit the bandwidth of the interface card

There is also another tool which can be used to limit the speed of a Network interface. It's called wondershaper. With this tool you can limit the speed of the interface card.

  • Install it with this command:

    sudo apt-get install wondershaper
    

    Or using Software Center:

    Install via the software center

  • To limit the download speed of eth1 interface to 2000 Kilobit/sec, I'd run this command:

    wondershaper eth1 2000

    The exact syntax is

    wondershaper [ interface ] [ downlink ] [ uplink ]

Manual page for wondershaper

share|improve this answer
    
Can I ask the downvoter the reason of their downvotes? –  Anwar Shah Jul 30 '12 at 3:45
    
+1 Nice answer :) –  atenz Aug 1 '12 at 18:10
add comment

Try pyshaper: http://freecode.com/projects/pyshaper

Let me know if it is useful.

Also checkout iftop via software-center for a visualiation of what is going on with your network.

share|improve this answer
    
Seems to be dead –  totti Jan 10 at 16:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.