l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2003 Jan 27 22:43

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Question regarding network bandwidth...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Question regarding network bandwidth...



Lately, I have been searching for a good answer to the same question. 
My know-how on this subject could be fit into a teacup--so here it all
is:

You might want to take a look at the wondershaper:
http://freshmeat.net/projects/wshaper/?topic_id=87
If your complaint is excessive latency on the link during that big
upload, then this might be your answer.I think that you have to compile
pretty much all the networking options into your kernel to use this.

You could try to set some sort of limit on packet count like people do
for syn flood protection eg:

iptables -A FORWARD -p tcp --syn -m limit --limit 1/s -j ACCEPT

That would be a pain to add a special rule before each big download,
though, and packet count may have little to do with byte count. Maybe
you can count bytes with a similar style of iptables rule...?  


You might want to take a look at 
http://www.docum.org/
This a site devoted to bandwidth shaping.

You might like 
http://lartc.org/
home of the Linux Advanced Routing & Traffic Control web site.

And you might want to take a look at 
http://www.shorewall.net/


Good luck
-Nick





On Mon, 2003-01-20 at 11:53, R. Douglas Barbieri wrote:
> I have a question that I need to ask in terms of an analogy, since true
> network tweaking is still something of a mystery to me (okay, okay, it
> betrays my ignorance in these matters...:-) ).
> 
> When dealing with processor usage, you can "renice" a process and make it
> have a lower priority so it doesn't hog the CPU, and your system will
> "chunk" less. So is there a way to do something like this with a network
> connection?
> 
> Since I have ADSL, it sucks whenever I want to upload a big file and my
> Internet connection is knocked to its knees. It would be great to be able
> to say "this outgoing tcp connection to foo.com gets only 1% of the
> bandwidth" or something like that. Am I making any sense?

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!