When I use all my upload bandwidth my ping RTT increases up to 4s. So I cannot use ftp or bittorrent while being on IRC. I looked for a solution in iptables but it looks like it’s not design for this. The most adapted tool is tc (“Traffic Control”). Wondershaper is a nice script to easily use tc. It’s available as a Debian package.