LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-29-2004, 12:10 PM   #1
chasingmytail
LQ Newbie
 
Registered: Jun 2004
Distribution: Slack 10-current
Posts: 23

Rep: Reputation: 15
Bandwidth Throttling


Others have been having troubles with my downloads at work. It seems that my computer (on the top level router, hehehe) will hog all the bandwith, with absolutely no competition. Now this is no problem for me, however, when I start downloading large items, everyone else's connection is dropped to a crawl.

After much searching I found this simple solution and was suprized is wasn't better documented.

Using wget set the option --limit-rate=##### (in b). I like using 10240 for a 10K download. My downloads are a little slower, but I can normally spare the extra time to take a walk for a cup of coffee.


Hope this is helpful to somebody ....


Jordan
 
Old 06-29-2004, 07:04 PM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
I was having a similar problem on my system, but I'm on dial-up (I hear you laughing out there) and wget's throttle doesn't work too well for lower BW (< 3kb/sec). But I found a great little utility called trickle that adds the ability to limit bandwidth to any application (wget, ftp, etc.). It's really simple and allows you to set different limits for upload and download, and it can run as non-root or can be set up by root to run as a daemon.

Enjoy!
--- Cerbere
 
Old 06-29-2004, 09:08 PM   #3
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
Cerbere - Thanx for the heads up on trickle.........
 
Old 06-29-2004, 09:57 PM   #4
chasingmytail
LQ Newbie
 
Registered: Jun 2004
Distribution: Slack 10-current
Posts: 23

Original Poster
Rep: Reputation: 15
Nice!

I knew there had to be something like this out there; the purpose of my post was to elicit just such a response.

The link's much appreciated. Thanks!
 
Old 06-30-2004, 12:42 AM   #5
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
I would think the kernel has support for this too right? QoS?
 
Old 06-30-2004, 02:07 AM   #6
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
That's right, QoS. See http://www.lartc.org/ (Linux Advanced Routing and Traffic Control) for a good HOWTO and more..
But if the solution provided here does work I think that would be easier to implement
 
Old 06-30-2004, 10:38 AM   #7
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
QoS wont work, becouse CBQ and HTB can limit only upload speed. Try out with a bytelimit kernel patch for iptables. I think it can be found on patch-o-matic download page:
http://netfilter.org/patch-o-matic/index.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bandwidth throttling z0mb1 Linux - Networking 4 11-27-2005 07:20 AM
Bandwidth throttling joeljkp Linux - Networking 4 07-28-2005 12:59 PM
bandwidth throttling greenmeanie Debian 1 07-10-2005 09:06 PM
Bandwidth Throttling... dolvmin Linux - Networking 3 09-21-2004 08:56 AM
Bandwidth Throttling bg_27 *BSD 3 07-22-2003 08:09 PM


All times are GMT -5. The time now is 12:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration