From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nai-Hsien" Date: Wed, 24 May 2006 12:45:43 +0000 Subject: [LARTC] poor performance for building route cache Message-Id: <0a4701c67f2f$f8b48b50$0102000a@loop.com.tw> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1265862664==" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============1265862664== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0A44_01C67F73.06594C80" This is a multi-part message in MIME format. ------=_NextPart_000_0A44_01C67F73.06594C80 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0A44_01C67F73.06594C80 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
I did a test shown as following = diagram. (The=20 DUT is running Linux with NAPI ethernet driver.)
I add 1000 routes into DUT then use = the=20 Smartbits
port1 to send packets (with = destinations to=20 all the 1000 networks) to the DUT then receive
them back from the port 2. = The packets are=20 sending in a rate that is much = lower than=20 half of
throughput of the DUT.
 
The DUT will lose some packets if = the DUT has=20 empty route cache before the packets are sent.
Once the DUT builds the route = cache, the=20 DUT can properly forward all packets to the other port
without any loose.
 
I guess that the issue is = caused by=20 heavy loading for building route cache.
I just doubt that the system can = have=20 such poor performance for building route cache.
Does anybody have any comment? Thank = you.
 
 
Smartbits port 1 ----------- DUT = ------------=20 Smartbits port2
------=_NextPart_000_0A44_01C67F73.06594C80-- --===============1265862664== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1265862664==--