Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dealing with a random upload and download speed for queuing?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Mon Feb 26, 2007 6:05 pm    Post subject: Dealing with a random upload and download speed for queuing? Reply with quote

I noticed that my RoadRunner cable during the day dips down to 5mbit sometime, then during the night it rises up into 10mbit range, and I'm wondering what's the best way to deal with that dynamic change of bandwidth for queuing?

Thanks!
Back to top
View user's profile Send private message
infinite1der
n00b
n00b


Joined: 31 Jan 2006
Posts: 52
Location: Atlanta, GA

PostPosted: Mon Feb 26, 2007 11:23 pm    Post subject: Reply with quote

What's your basis for thinking that it drops? Do you have some mechanism that checks the bandwidth? Is it scriptable? If so, it seems that it'd be fairly easy to setup some traffic shaping via iproute2 that could dynamically change based on your available bandwidth. Granted, you have the ability to enforce sharing within the tools/filters provided by the iproute2 package. Typically those are set to a hard number. E.g. my dsl is 6M down, 512k up; I config my filters to share/queue specific outbound services to a hard limit of 512k. You could easily script your mechanism to change the upper limit and reset the filters via cron.
_________________
----------------------
James A. Thornton
Atlanta, GA

How To Ask Questions the Smart Way
Back to top
View user's profile Send private message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Mon Feb 26, 2007 11:59 pm    Post subject: Reply with quote

infinite1der wrote:
What's your basis for thinking that it drops? Do you have some mechanism that checks the bandwidth? Is it scriptable? If so, it seems that it'd be fairly easy to setup some traffic shaping via iproute2 that could dynamically change based on your available bandwidth. Granted, you have the ability to enforce sharing within the tools/filters provided by the iproute2 package. Typically those are set to a hard number. E.g. my dsl is 6M down, 512k up; I config my filters to share/queue specific outbound services to a hard limit of 512k. You could easily script your mechanism to change the upper limit and reset the filters via cron.


1) For my basis of thinking it drops, I run speakeasy speed tests a few time, and i noticed if I ran it during the midday it tend to report approximately 5 mbit, while if I run it nightly it tends to report approximately 10ish mbit down. The upload seems relatively consistent but it does varies a bit tho.

2) At the moment, I can only check it via speakeasy which uses flash, but there are probably tools out there that can do bandwidth testing that are CLI based so I can try to find them and figure out the scripting thing.

3) Hmm that's a good idea, maybe I could have it poll the bandwidth every so often, then increase or decrease the hard limits on the queue... hmmm....
Back to top
View user's profile Send private message
serge.2k
n00b
n00b


Joined: 23 Feb 2007
Posts: 20

PostPosted: Wed Feb 28, 2007 7:04 pm    Post subject: Reply with quote

Hi Antimatter,
I wouldn't rely on websites claiming to tell you your bandwidth. All they're testing is the connection between your computer and their server. I would guess that it's not really your bandwidth, but the bandwidth of one of the gateways between you. The bandwidth increases during the night probably because the gateways/servers are less loaded. If you still want to use these tests, try using 3 or 4 of them and compare the results.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum