Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 11:56:45 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Luigi Rizzo <rizzo@aciri.org>, net@FreeBSD.ORG
Subject:   Re: Revised polling code (some stats)
Message-ID:  <5.1.0.14.0.20011127113111.04f0b390@marble.sentex.ca>

next in thread | raw e-mail | index | archive | help

Hi, just as an FYI, I did some simple tests using netperf of the polling 
code. On first blush, it does look quite nice.  I am going to try and 
simulate  what the effect is under network load while at the same time, 
trying to bring up a BGP peer with a full view.

Machine A is a PIII 800 with a D-Link 4port NIC using the dc 
driver.  Connected to it was a PIV 1.5 845 chipset board with integrated 
fxp running the server portion of netperf

On the PIII with the Dlink card I ran the tests only varying
net.xorp.polling: 0
vs
net.xorp.polling: 1


The other nice thing of course of the polling code that does not show up in 
the figures below is the load average, which on the stream test at least 
shows .


                     /0   /10  /20  /30  /40  /50  /60  /70  /80  /90  /100
              <idle> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+POLL        <idle> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 
-- -s 57344 -S 57344 -m 4096
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  57344  57344   4096    60.06      60.10   +POLL
  57344  57344   4096    60.00      59.37


/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 
-- -s 32768 -S 32768 -m 4096
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  32768  32768   4096    59.99      61.31   +POLL
  32768  32768   4096    60.16      60.73


/usr/local/netperf/netperf -t TCP_RR -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 -- 
-r 1,1
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate
bytes  Bytes  bytes    bytes   secs.    per sec

16384  16384  1        1       59.99    8260.80   +POLL
16384  16384  1        1       59.99    6072.08


/usr/local/netperf/netperf -t UDP_RR -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 -- 
-r 1,1
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate
bytes  Bytes  bytes    bytes   secs.    per sec

9216   42080  1        1       59.99    10398.39   +POLL
9216   42080  1        1       59.99    9248.39


/usr/local/netperf/netperf -t UDP_RR -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 -- 
-r 516,4
UDP REQUEST/RESPONSE TEST to 10.1.1.1 : +/-2.5% @ 99% conf. : histogram
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate
bytes  Bytes  bytes    bytes   secs.    per sec

9216   42080  516      4       59.99    5857.40   +POLL
9216   42080  516      4       59.99    5482.58



/usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 
-- -s 32768 -S 32768 -m 4096

UDP UNIDIRECTIONAL SEND TEST to 10.1.1.1 : +/-2.5% @ 99% conf. : histogram
Socket  Message  Elapsed      Messages
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

  32768    4096   59.99      115161 10324576      62.90 +POLL
  32768           59.99      114009             62.27 +POLL
  32768    4096   59.99      108361 7401883      59.19
  32768           59.99      108342             59.18

  32768    1024   59.99      478638 13513083      65.36 +POLL
  32768           59.99      478475             65.34 +POLL
  32768    1024   59.99      452463 8759390      61.79
  32768           59.99      451930             61.71


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20011127113111.04f0b390>