http://askubuntu.com/questions/776/how-i-can-limit-download-upload-bandwidth
http://askubuntu.com/questions/52767/how-do-i-control-the-upload-download-bandwidth-per-user
trickle -u 2 -d 25 chromium-browser
مشكل من اينجاست كه سرعت آپلود و حجم آپلود چه ربطى به هم دارن؟والا منم سوالم اینه، به هر حال مثلا ۳مگ آپ میکنه چه با سرعت ۲کیلوبایت چه ۱مگابایت تهش اینه که بالاخره اون ۳مگ آپ میشه
hsn6@hsn6-desktop:~$ trickle -u 2 -d 25 chromium-browser
trickle: Could not reach trickled, working independently: No such file or directory
[2776:2776:0715/104341:ERROR:CONSOLE(1)] "Uncaught ReferenceError: ntp is not defined", source: (1)
wondershaper. Downloading/uploading:
Now for limiting the speed I use wondershaper. FIrst, install itکد: [انتخاب]sudo apt-get install wondershaper
After that you can easily limit download and upload speed:کد: [انتخاب]sudo wondershaper eth0 1024 512
Here I set download speed to 1024 kbit/s (1 megabit/s) and upload speed to 512 kbit/s for eth0 interface
http://en.blogeek.ru/limit-upload-download-speed-of-app-in-ubuntu/
sudo wondershaper usb0 256 16