Networking Forums

Networking Forums > Computer Networking > Linux Networking > Balancing the net throughput

Reply
Thread Tools Display Modes

Balancing the net throughput

 
 
* Tong *
Guest
Posts: n/a

 
      12-04-2003, 01:51 PM
Hi,

Is there any tools in Linux to automatically balance the Internet
throughput, between streams from difference applications/users?

I'm dialing up into the Internet. It makes me thing of things that
never occur to me: For example, how Linux handles the situation
when the network throughput is at its top capacity. Here is what I
observed:

When I'm downloading something, all the rest of the web browsing
will be jerky: connection refused/not established, connection
timeout, page returned blank are all the 'normal' scenarios. The
worst case is DNS failure, lookup 'google.com' failed, which
happened quite often.

So, I'm just wondering, if there is any QOS kind of service under
Linux, which automatically balance the Internet throughput between
streams from difference applications/users: If two applications
are sharing the net, both will get half of the network throughput
capacity. The more streams/applications, the less they share. The
point is that all of them are treated equal, not letting a single
application/user to hog the net. Is it feasible?

Thanks


--
Tong (remove underscore(s) to reply)
*niX Power Tools Project: http://xpt.sourceforge.net/
- All free contribution & collection
 
Reply With Quote
 
 
 
 
Andrew Schulman
Guest
Posts: n/a

 
      12-04-2003, 02:05 PM
> Is there any tools in Linux to automatically balance the Internet
> throughput, between streams from difference applications/users?


http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/index.html

--
To reply by email, replace "deadspam.com" by "alumni.utexas.net"
 
Reply With Quote
 
Leon.
Guest
Posts: n/a

 
      12-05-2003, 04:57 AM


For users on difference machines you can do it easily.
The advance routing howto would tell you ...



> Is there any tools in Linux to automatically balance the Internet
> throughput, between streams from difference applications/users ?


No, why would you, tcp/ip does this perfectly well.

The rest of your question drones on with this idea that an application can
hog the network.

The network is hogged when an application starts a lot of tcp/ip sessions
and downloads simulataneously.

IE some of the download accelerators can use the "resume" feature of web
servers to download a part of the file, and they can do this 10 times at
once.

Now if there is already 90 downloads running in your office (and the role of
your office is to download , so lets not worry about uploads or anything
else ), and one person starts this download accelerator with 10 connections,
then this one person jumps from getting 1/90th of the traffic to 10/100ths
of the traffic (unless he overloads the web service that he is downloading
from .)

So you can see, that 1. its just possible to get more than your fair share,
2. its not really a huge network hog to do so. probably 10% of the link is
still slow.

saturation can only be solved by getting a bigger pipe.











 
Reply With Quote
 
joseph philip
Guest
Posts: n/a

 
      12-05-2003, 05:27 AM
On Thu, 04 Dec 2003 14:51:32 +0000, * Tong * wrote:

> Hi,
>
> Is there any tools in Linux to automatically balance the Internet
> throughput, between streams from difference applications/users?
>
> I'm dialing up into the Internet. It makes me thing of things that
> never occur to me: For example, how Linux handles the situation
> when the network throughput is at its top capacity. Here is what I
> observed:
>
> When I'm downloading something, all the rest of the web browsing
> will be jerky: connection refused/not established, connection
> timeout, page returned blank are all the 'normal' scenarios. The
> worst case is DNS failure, lookup 'google.com' failed, which
> happened quite often.
>
> So, I'm just wondering, if there is any QOS kind of service under
> Linux, which automatically balance the Internet throughput between
> streams from difference applications/users: If two applications
> are sharing the net, both will get half of the network throughput
> capacity. The more streams/applications, the less they share. The
> point is that all of them are treated equal, not letting a single
> application/user to hog the net. Is it feasible?
>
> Thanks



man tc


tc qdisc add dev ppp0 sfq perturb 10

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
throughput and qos William Wireless Internet 2 04-18-2007 12:51 AM
measure throughput? linuxnooby Linux Networking 8 03-31-2005 11:22 PM
Can't get DSL Xtreme throughput Scot Montgomery Broadband Hardware 1 06-11-2004 11:32 PM
Throughput Geoff Lane Home Networking 4 12-19-2003 12:46 PM
WU-ftp throughput option A. Loonstra Linux Networking 0 11-05-2003 09:54 AM



1 2 3 4 5 6 7 8 9 10 11