Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2010 10:20:10 +0300
From:      =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
To:        freebsd-net@freebsd.org
Subject:   How to obtain place of low perfomance?
Message-ID:  <364322520.20101029102010@yandex.ru>

next in thread | raw e-mail | index | archive | help
Hi, Freebsd-net.

serv1# ifocnfig nfe0
nfe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=10b<RXCSUM,TXCSUM,VLAN_MTU,TSO4>
        ether 00:13:d4:ce:82:16
        inet 10.11.8.17 netmask 0xfffffc00 broadcast 10.11.11.255
        inet 10.11.8.15 netmask 0xfffffc00 broadcast 10.11.11.255
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
serv1# ifconfig igb0
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:1b:21:45:da:b8
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
serv1# ifconfig vlan7
vlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3<RXCSUM,TXCSUM>
        ether 00:1b:21:45:da:b8
        inet 10.11.15.15 netmask 0xffffff00 broadcast 10.11.15.255
        inet 10.11.7.1 netmask 0xffffff00 broadcast 10.11.7.255
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
        vlan: 7 parent interface: igb0

doing bw test with iperf it show low performance on nfe0.

# iperf -c 10.11.8.17
------------------------------------------------------------
Client connecting to 10.11.8.17, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[  3] local 10.11.8.16 port 63911 connected with 10.11.8.17 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.5 sec    124 MBytes  98.8 Mbits/sec
# iperf -c 10.11.7.1
------------------------------------------------------------
Client connecting to 10.11.7.1, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[  3] local 10.11.7.2 port 61422 connected with 10.11.7.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.3 sec    800 MBytes    653 Mbits/sec

despite on it is integrated I expect about 300-400Mbit throughput
does nfe0 really so poor NIC?


state of nfe0 while 'iperf' testing
# netstat -w 1 -h -d -I nfe0
            input         (nfe0)           output
   packets  errs      bytes    packets  errs      bytes colls drops
      1.6K     0       543K       2.4K     0       1.9M     0     0
      1.8K     0       613K       2.4K     0       1.9M     0     0
      1.7K     0       620K       2.5K     0       1.9M     0     0
      1.8K     0       627K       2.6K     0       2.0M     0     0
      2.1K     0       1.2M       2.8K     0       1.9M     0     0
       28K     0        40M        20K     0       3.0M     0     0
       11K     0        14M       8.3K     0       2.3M     0     0
       12K     0        16M       9.0K     0       2.3M     0     0
      2.8K     0       2.0M       3.1K     0       2.0M     0     0
       11K     0        14M       8.5K     0       2.5M     0     0
      7.8K     0       9.6M       6.4K     0       2.2M     0     0
       12K     0        16M       9.1K     0       2.3M     0     0
      6.9K     0       8.4M       5.8K     0       2.1M     0     0
      3.0K     0       2.5M       3.3K     0       2.0M     0     0
       11K     0        14M       8.2K     0       2.3M     0     0
      1.7K     0       664K       2.6K     0       1.9M     0     0
      1.7K     0       588K       2.4K     0       1.9M     0     0
      1.6K     0       627K       2.3K     0       1.8M     0     0



-- 
С уважением,
 Коньков                          mailto:kes-kes@yandex.ru




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