fet vs vr driver ? (long)

Mike Tancsa mike at sentex.net
Thu Aug 26 09:05:25 PDT 2004


While trying to sort out some serial port issues with a VIA MB, I noticed 
that VIA actually supplies its own VT6102 ethernet drivers for FreeBSD 
(http://downloads.viaarena.com/drivers/LAN/VT6107_VT8231_VT8233_VT8235_VT8237v37MVIA.zip). 
Does anyone have any experience with this driver ? Is it more stable than 
the vr version ?


vr0 at pci0:18:0:  class=0x020000 card=0x01021106 chip=0x30651106 rev=0x74 
hdr=0x00
     vendor   = 'VIA Technologies Inc'
     device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
     class    = network
     subclass = ethernet
vs
fet0 at pci0:18:0: class=0x020000 card=0x01021106 chip=0x30651106 rev=0x74

I ran netperf to and from the machine and the fet driver seems to perform a 
little better sending out, at least under RELENG_4.

Any reason not to use the fet driver ?

Netperf results are below.


The first set of tests are against the via box and the second from the via box


non-itx# ./snapshot_script 192.168.43.215
Netperf snapshot script started at Wed Aug 25 17:31:51 EDT 2004
Starting 56x4 TCP_STREAM tests at Wed Aug 25 17:32:25 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 57344 -S 57344 -m 4096

TCP STREAM TEST to 192.168.43.215 : +/-2.5% @ 99% conf. : histogram
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  57344  57344   4096    60.00      94.07   vr
  57344  57344   4096    60.00      94.07   fet

Starting 32x4 TCP_STREAM tests at Wed Aug 25 17:35:25 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 4096

TCP STREAM TEST to 192.168.43.215 : +/-2.5% @ 99% conf. : histogram
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  32768  32768   4096    59.99      94.08    vr
  32768  32768   4096    59.99      94.07    fet


Starting 1,1 TCP_RR tests at Wed Aug 25 17:38:25 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_RR -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -r 1,1

TCP REQUEST/RESPONSE TEST to 192.168.43.215 : +/-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

32768  57344  1        1       59.99    10355.88   vr
32768  57344  1        1       59.99    10117.66   fet



Starting 1,1 UDP_RR tests at Wed Aug 25 17:41:37 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_RR -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -r 1,1

UDP REQUEST/RESPONSE TEST to 192.168.43.215 : +/-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   41600  1        1       59.99    10675.49   vr
9216   41600  1        1       59.99    10611.40   fet


Starting 512,4 UDP_RR tests at Wed Aug 25 17:44:49 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_RR -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -r 516,4

UDP REQUEST/RESPONSE TEST to 192.168.43.215 : +/-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   41600  516      4       59.99    5444.54   vr
9216   41600  516      4       59.99    5426.15   fet

Starting 32x4 UDP_STREAM tests at Wed Aug 25 17:48:01 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 4096

UDP UNIDIRECTIONAL SEND TEST to 192.168.43.215 : +/-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      175312 13026126      95.76  vr
  32768           59.99      175312             95.76    vr
  32768    4096   59.99      175312 13004020      95.76  fet
  32768           59.99      175312             95.76    fet



Starting 32x1 UDP_STREAM tests at Wed Aug 25 17:51:13 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 1024

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

  32768    1024   59.99      687904 15103646      93.94 vr
  32768           59.99      687904             93.94   vr
  32768    1024   59.99      687904 15079199      93.94 fet
  32768           59.99      687904             93.94   fet










+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

vr

iolite4a# ./snapshot_script 192.168.43.215
Netperf snapshot script started at Wed Aug 25 20:50:06 EDT 2004
Starting 56x4 TCP_STREAM tests at Wed Aug 25 20:50:40 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 57344 -S 57344 -m 4096

TCP STREAM TEST to 192.168.43.215 : +/-2.5% @ 99% conf. : histogram
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  57344  57344   4096    60.00      94.07


Starting 32x4 TCP_STREAM tests at Wed Aug 25 20:53:40 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 4096

TCP STREAM TEST to 192.168.43.215 : +/-2.5% @ 99% conf. : histogram
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  32768  32768   4096    59.99      94.07


Starting 1,1 TCP_RR tests at Wed Aug 25 20:56:40 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_RR -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -r 1,1

TCP REQUEST/RESPONSE TEST to 192.168.43.215 : +/-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

32768  57344  1        1       59.99    10117.66
32768  57344


Starting 1,1 UDP_RR tests at Wed Aug 25 20:59:52 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_RR -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -r 1,1

UDP REQUEST/RESPONSE TEST to 192.168.43.215 : +/-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   41600  1        1       59.99    10611.40
9216   42080


Starting 512,4 UDP_RR tests at Wed Aug 25 21:03:04 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_RR -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -r 516,4

UDP REQUEST/RESPONSE TEST to 192.168.43.215 : +/-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   41600  516      4       59.99    5426.15
9216   42080
Starting 32x4 UDP_STREAM tests at Wed Aug 25 21:06:17 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 4096

UDP UNIDIRECTIONAL SEND TEST to 192.168.43.215 : +/-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      175312 13004020      95.76
  32768           59.99      175312             95.76



Starting 32x1 UDP_STREAM tests at Wed Aug 25 21:09:29 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 192.168.43.215 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 1024

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

  32768    1024   59.99      687904 15079199      93.94
  32768           59.99      687904             93.94



Tests completed at Wed Aug 25 21:12:41 EDT 2004

If you wish to submit these results to the netperf database at
http://www.cup.hp.com/netperf/NetperfPage.html, please submit each
datapoint individually. Individual datapoints are separated by
lines of dashes.

Other direction


--------------------------------------------------------------------------------
vr
mini-itx2# ./snapshot_script 192.168.43.181
Netperf snapshot script started at Wed Aug 25 21:16:45 EDT 2004
Starting 56x4 TCP_STREAM tests at Wed Aug 25 21:17:19 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 192.168.43.181 -i 10,3 -I 
99,5 -- -s 57344 -S 57344 -m 4096

TCP STREAM TEST to 192.168.43.181 : +/-2.5% @ 99% conf. : histogram
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  57344  57344   4096    60.01      87.09   vr
  57344  57344   4096    60.01      93.95   fet


Starting 32x4 TCP_STREAM tests at Wed Aug 25 21:20:19 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_STREAM -l 60 -H 192.168.43.181 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 4096

TCP STREAM TEST to 192.168.43.181 : +/-2.5% @ 99% conf. : histogram
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  32768  32768   4096    60.01      87.14   vr
  32768  32768   4096    60.01      93.94   fet

Starting 1,1 TCP_RR tests at Wed Aug 25 21:23:19 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t TCP_RR -l 60 -H 192.168.43.181 -i 10,3 -I 
99,5 -- -r 1,1

TCP REQUEST/RESPONSE TEST to 192.168.43.181 : +/-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

32768  57344  1        1       60.01    9405.08  vr
32768  57344  1        1       60.01    9583.64  fet


Starting 1,1 UDP_RR tests at Wed Aug 25 21:26:31 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_RR -l 60 -H 192.168.43.181 -i 10,3 -I 
99,5 -- -r 1,1

UDP REQUEST/RESPONSE TEST to 192.168.43.181 : +/-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  1        1       60.01    9854.77   vr
9216   42080  1        1       60.01    9946.98   fet


Starting 512,4 UDP_RR tests at Wed Aug 25 21:29:43 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_RR -l 60 -H 192.168.43.181 -i 10,3 -I 
99,5 -- -r 516,4

UDP REQUEST/RESPONSE TEST to 192.168.43.181 : +/-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       60.01    5243.07   vr
9216   42080  516      4       60.01    5371.42   fet

Starting 32x4 UDP_STREAM tests at Wed Aug 25 21:32:55 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 192.168.43.181 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 4096

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

  32768    4096   60.01      164546 2098607      89.86  vr
  32768           60.01      164450             89.80   vr
  32768    4096   60.00      174447 2384128      95.26  fet
  32768           60.00      174362             95.22   fet



Starting 32x1 UDP_STREAM tests at Wed Aug 25 21:36:07 EDT 2004

------------------------------------
Testing with the following command line:
/usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 192.168.43.181 -i 10,3 -I 
99,5 -- -s 32768 -S 32768 -m 1024

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

  32768    1024   60.01      677923 1722181      92.55  vr
  32768           60.01      677598             92.51   vr
  32768    1024   60.00      684300 2454099      93.42  fet
  32768           60.00      683905             93.37   fet



Tests completed at Wed Aug 25 21:39:19 EDT 2004



--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike at sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



More information about the freebsd-current mailing list