On Mon, 2 May 2011 19:10:03 -0700,
Tom Eastep <[email protected]> wrote :

Hello,

> Note the 'Added in shorewall 4.4.13'.

Even when not including the OUT-BANDWIDTH in 4.4.11.6, is there a way
with Simple TC to react on port types ?  To have destination port 3000
given less priority than destination port 80 ?

I have tried with 4.4.19.1 and the problem still remains.  The laptop
has two wget instances (ports 80 and 3000) fetching a 500MB file from
the server:

       laptop  <-> eth2 router eth1 <-> HTTP server

The router has the following configuration (see also attached
compressed sh_dump2) - this is now with 4.4.19.1:

cat tcinterfaces
#INTERFACE      TYPE      IN-BANDWIDTH  OUT-BANDWIDTH
eth2            External  -             100mbit

cat tcpri
#BAND   PROTO   PORT(S)
1       TCP     80
3       TCP     3000

During the transfer:

# tc -s -d class show dev eth2

class tbf 1:1 parent 1: leaf 101:

class prio 101:1 parent 101: leaf 1011:
 Sent 548212535 bytes 362490 pkt (dropped 16, overlimits 0 requeues 33015)
 backlog 0b 23p requeues 33015
class prio 101:2 parent 101: leaf 1012:
 Sent 5978 bytes 41 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
class prio 101:3 parent 101: leaf 1013:
 Sent 548297607 bytes 362682 pkt (dropped 94, overlimits 0 requeues 10822)
 backlog 0b 121p requeues 10822

And the wget stats at the end of the transfers:

6.04 MB/s - for port 80
5.53 MB/s - for port 3000

Certainly, the dramatic difference as observed when using Internal TC
is not seen (TC configuration dependent) but I'd expect to see some
larger difference between bands 1 and 3 in Simple TC.  Would that be
actually the case - to actually notice a good difference between bands
1 and 3 in such a two-500MB file transfer test ?  Or should there be
more simultaneous traffic put through to exercize it more and see more
noticeable results ?

Thanks.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to