From: Leroy van Logchem <leroy.vanlogchem@wldelft.nl>
To: lartc@vger.kernel.org
Subject: [LARTC] tc qdisc TEQL limited to two interfaces? [ 1.8Gbps ]
Date: Thu, 19 Jul 2007 12:55:55 +0000 [thread overview]
Message-ID: <469F5F5B.5010107@wldelft.nl> (raw)
I'am using the following script to aggregate the bandwidth of one quad
gigabit ethernet controller (pci-express).
#!/bin/bash
sysctl -w net.ipv4.tcp_reordering = 30
ifconfig eth1 up
ifconfig eth2 up
ifconfig eth3 up
ifconfig eth4 up
modprobe sch_teql
tc qdisc add dev eth1 root teql0
tc qdisc add dev eth2 root teql0
tc qdisc del dev eth3 root teql0
tc qdisc del dev eth4 root teql0
ip link set dev teql0 up
ip addr flush dev eth1
ip addr flush dev eth2
ip addr flush dev eth3
ip addr flush dev eth4
ip addr flush dev teql0
ip addr add dev eth1 10.0.0.3/31
ip addr add dev eth2 10.0.0.5/31
#ip addr add dev eth3 10.0.0.7/31
#ip addr add dev eth4 10.0.0.9/31
ip addr add dev teql0 10.0.0.11/31
echo 0 > /proc/sys/net/ipv4/conf/eth1/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth3/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth4/rp_filter
route add -host 10.0.0.2 gw 10.0.0.10
route add -host 10.0.0.4 gw 10.0.0.10
route del -host 10.0.0.6 gw 10.0.0.10
route del -host 10.0.0.8 gw 10.0.0.10
This setup, using just two interfaces, gives a nice and stable iperf
bandwidth of 1.85Gbit/s ( 231MB/s ).
But when configure all four interfaces the bandwidth drops below 1Gbit/s?
Any tips or ideas are welcome!
--
Leroy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
reply other threads:[~2007-07-19 12:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=469F5F5B.5010107@wldelft.nl \
--to=leroy.vanlogchem@wldelft.nl \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.