traffic control, ip prioriting

traffic control, ip prioriting

Post by Philipp Koc » Sat, 14 Aug 1999 04:00:00



Hello

I'm using a linux pc as a router (ip masquerading) to access the internet.
Now I'd like to set some ips more prioritiy than other ones (to get faster
internet access to some ips). Does somebody know a tool?

Thanks for helping.

Phil

 
 
 

traffic control, ip prioriting

Post by Mike Jagd » Sat, 14 Aug 1999 04:00:00



>I'm using a linux pc as a router (ip masquerading) to access the internet.
>Now I'd like to set some ips more prioritiy than other ones (to get faster
>internet access to some ips). Does somebody know a tool?

Yes, it's called Linux :-). Unfortunately actually setting things
up can be, ah, "a bit obscure" even if you think you have a good
idea of how it should all work. Then again, today I came across
http://www.ittc.ukans.edu/~rsarav/howto/ which should give you
enough to get something not too basic working.

                                Mike

--
    A train stops at a train station, a bus stops at a bus station.
    On my desk I have a work station...
.----------------------------------------------------------------------.

|  Roan Technology Ltd.         |                                      |
|  2 Markham Mews, Broad Street |  Telephone:  +44 118 989 0403        |
|  Wokingham ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

 
 
 

1. Traffic Control traffic unexpectedly dipping

I am using traffic control with a 2.6.26 kernel. During my testing, I
am intentionally sending in more best effort traffic than my hardware
can handle and I am seeing that the traffic control is dropping it, as
it should.  Occasionally, I see a dip in the traffic in the queues I
have defined for higher priority traffic.  This traffic is running
below the minimum rate.  When this happens, I see the following qdisc
statistics (sampling every 3 seconds):

qdisc htb 9997: root r2q 10 default 9999 direct_packets_stat 0
 Sent 299188596 bytes 197913 pkt (dropped 162746, overlimits 377808
requeues 0)
 rate 0bit 0pps backlog 0b 999p requeues 0

qdisc htb 9997: root r2q 10 default 9999 direct_packets_stat 0
 Sent 300330198 bytes 198669 pkt (dropped 163401, overlimits 379300
requeues 0)
 rate 0bit 0pps backlog 0b 1000p requeues 0

qdisc htb 9997: root r2q 10 default 9999 direct_packets_stat 0
 Sent 300818616 bytes 198993 pkt (dropped 163684, overlimits 380146
requeues 0)
 rate 0bit 0pps backlog 0b 571p requeues 0

qdisc htb 9997: root r2q 10 default 9999 direct_packets_stat 0
 Sent 301102914 bytes 199182 pkt (dropped 163684, overlimits 380626
requeues 0)
 rate 0bit 0pps backlog 0b 81p requeues 0

qdisc htb 9997: root r2q 10 default 9999 direct_packets_stat 0
 Sent 303284730 bytes 200625 pkt (dropped 163684, overlimits 382126
requeues 0)
 rate 0bit 0pps backlog 0b 753p requeues 0

qdisc htb 9997: root r2q 10 default 9999 direct_packets_stat 0
 Sent 304795218 bytes 201624 pkt (dropped 164095, overlimits 383623
requeues 0)
 rate 0bit 0pps backlog 0b 1000p requeues 0

As you can see, backlog goes from  999p to 1000p to 571p to 81p to
753p to 1000p.  Is this dip in the backlog to be expected?  Does
traffic control occasionally flush the backlog if it is staying around
1000p? I have verified that the incoming data, generated by iperf, is
constant and does not dip like this.  Note: while the backlog stays
well under 1000p, the number dropped stays at 163684.  Also, how can
backlog be 1000p but 0b?  (I assume that means 1000 packets and 0
bits.)

2. Help: Internet sharing with 2.4 kernal

3. Should traffic control root qdisc & child class limit traffic?

4. Kermit scripts over telnet?

5. Traffic control of input ip packets

6. How to make this change?

7. IP Traffic Limiter / Control....... Heeelp :=)

8. Getting directory info int C++

9. Any help on IP Traffic / data rate control in Linux

10. How to control ip-traffic in a lan ?

11. Can You control amount of traffic from each machine in Linux IP MASQ?

12. How to do IP access control AND password control

13. can I "listen" to IP traffic without own IP number?