regarding TC when windows as a client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

First I will explain my setup , my setup is like this

                |
                |
Linux Box with TC to set the bandwidth ( Traffic controller )
                |
                |
                |
     Client ( Win 95 or Linux box) 172.16.16.2

When Linux box as a client and connected to linux Box traffic controller and set the different values of bandwidth , I am getting exact values. 

When the same experiment is done with win-95/98/NT as a clinet , the values are not at all matching anywhere it is giving me some unexpected values. when bandwidth set to 4Mbps and I am getting around 1.02Mbps where as in linux case I am getting around 3.96Mbps.  

Comapring these two set of values , when linux box as a client ,  it is giving me an expected or acceptable values. But as win-95/98  these set of values are no where matching.  Only for high speed values i.e. for bandwidth in terms of MBPS only. for small values it is OK.

WHAT WOULD BE THE PROBLEM ?
HOW TO SOLVE THIS PROBLEM ?


These two systems are connectd with cross cable no hub/switch.

The TC command which I have used to control the traffic is as follows.

#!/bin/sh
TC=/tc/iproute2/tc/tc

$TC qdisc add dev eth1 root handle 15: cbq bandwidth 10MBit avpkt 1000 
$TC class add dev eth1 parent 15:0 classid 15:1 cbq bandwidth 10MBit rate 10MBit allot 1514 weight 1MBit prio 7 maxburst 20 avpkt 1000 


$TC class add dev eth1 parent 15:1 classid 15:10 cbq bandwidth 10MBit rate 4MBit allot 1514 weight 4KBit prio 7 maxburst 20 avpkt 1000 bounded 


$TC  qdisc add dev eth1 parent 15:10 sfq quantum 1514b perturb 15 

$TC filter add dev eth1 parent 15:0 protocol ip prio 500 u32 match ip dst 172.16.16.2 flowid 15:10

any help is anticipiated.

Thanks in advance.

Regards

Venkat Hallale



Get your small business started at Lycos Small Business at http://www.lycos.com/business/mail.html
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux