E1000

Материал из Wiki
Перейти к: навигация, поиск

e1000 - драйвер для сетевых карт интел

Я получил максимальную производительность при следующих настройках

/usr/sbin/ethtool -A  eth1 rx off
/usr/sbin/ethtool -G eth1 tx 4096 rx 4096


[root@zephyr:etc]#ethtool -S eth1
NIC statistics:
     rx_packets: 246738736284
     tx_packets: 245776647297
     rx_bytes: 138257096875078
     tx_bytes: 137965254840844
     rx_broadcast: 2680276
     tx_broadcast: 4317454
     rx_multicast: 404835
     tx_multicast: 0
     rx_errors: 0
     tx_errors: 0
     tx_dropped: 0
     multicast: 404835
     collisions: 0
     rx_length_errors: 0
     rx_over_errors: 0
     rx_crc_errors: 0
     rx_frame_errors: 0
     rx_no_buffer_count: 78157677
     rx_missed_errors: 11919256
     tx_aborted_errors: 0
     tx_carrier_errors: 0
     tx_fifo_errors: 0
     tx_heartbeat_errors: 0
     tx_window_errors: 0
     tx_abort_late_coll: 0
     tx_deferred_ok: 0
     tx_single_coll_ok: 0
     tx_multi_coll_ok: 0
     tx_timeout_count: 0
     tx_restart_queue: 0
     rx_long_length_errors: 0
     rx_short_length_errors: 0
     rx_align_errors: 0
     tx_tcp_seg_good: 296828
     tx_tcp_seg_failed: 0
     rx_flow_control_xon: 0
     rx_flow_control_xoff: 0
     tx_flow_control_xon: 0
     tx_flow_control_xoff: 0
     rx_long_byte_count: 138257096875078
     rx_csum_offload_good: 243260634064
     rx_csum_offload_errors: 11994302
     alloc_rx_buff_failed: 0
     tx_smbus: 0
     rx_smbus: 0
     dropped_smbus: 0
[root@zephyr:etc]#
01:00.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
        Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 21
        Memory at feae0000 (32-bit, non-prefetchable) [size=128K]
        Memory at feac0000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at dc00 [size=64]
        Expansion ROM at f7e00000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device.
        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

Со стороны каталиста (3550-12Т)

Oberon#sh  interface GigabitEthernet0/8
GigabitEthernet0/8 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is 000d.28e3.cd88 (bia 000d.28e3.cd88)
  Description: ---=== Zephyr.airbites.kh.ua ===---
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 48/255, rxload 47/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, link type is auto, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:09, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 188122000 bits/sec, 43327 packets/sec
  5 minute output rate 188531000 bits/sec, 43531 packets/sec
     3076146713 packets input, 607680061 bytes, 0 no buffer
     Received 4507306 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     238313530 packets output, 175115569 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 30894343 PAUSE output
     0 output buffer failures, 0 output buffers swapped out