[LARTC] poor performance for building route cache
I did a test shown as following diagram. (The DUT is running Linux with NAPI ethernet driver.) I add 1000 routes into DUT then use the Smartbits port1 to send packets (with destinations to all the 1000 networks) to the DUT then receive them back from the port 2. The packets are sending in a rate that is much lower than half of throughput of the DUT. The DUT will lose some packets if the DUT has empty route cache before the packets are sent. Once the DUT builds the route cache, the DUT can properly forward all packets to the other port without any loose. I guess that the issue is caused by heavy loading for building route cache. I just doubt that the system can have such poor performance for building route cache. Does anybody have any comment? Thank you. Smartbits port 1 --- DUT Smartbits port2 ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[LARTC] point-to-point ethernet link
I have an embedded linux board (main board), which has multiple Ethernet interfaces, and a daughter card, which has one Ethernet interface. The diagram is shown as following. +-+ ++ | daughter || ptp | | card |Ethernet | Main board | Ethernet links with IP +-+ | | addresses ++ I am looking for a method to manage the daughter card with single IP address. I tried to build a point-to-point Ethernet link on main board. However, it does not work. Is there any solution to route packets to ptp port while the ptp port does not have an IP address? ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[LARTC] PowerPC can not accurately run HTM
I am running HTB on a PowerPC platform and using following script to do rate limit. When I set rate of class 1:11 lower than 4mbit, I can get traffic rate close to the setting. However, if I set the rate higher than 4mbit, I will get much lower bandwidth (roughly 4.5mbit) than the setting, no matter how big the setting is. To verify the script, I run it on PC with then I got correct result. Could anybody give me some hints? Thank you Dennis tc qdisc add dev wan1 root handle 1: htb default 10tc class add dev wan1 parent 1: classid 1:1 htb rate 100mbittc class add dev wan1 parent 1:1 classid 1:10 htb rate 1mbit ceil 2mbittc class add dev wan1 parent 1:1 classid 1:11 htb rate 8mbit ceil 8mbittc filter add dev wan1 protocol ip parent 1: u32 match ip dst 11.1.1.1 flowid 1:11 ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc