终于解决了2年来解决不了的问题。
竟然是驱动程序不好。NIC statistics:
rx_packets: 401018118
tx_packets: 445680995
rx_bytes: 288161095336
tx_bytes: 163048516777
rx_broadcast: 0
tx_broadcast: 15
rx_multicast: 0
tx_multicast: 0
rx_errors: 0
tx_errors: 0
tx_dropped: 0
multicast: 0
collisions: 0
rx_length_errors: 0
rx_over_errors: 0
rx_crc_errors: 0
rx_frame_errors: 0
rx_no_buffer_count: 0
rx_missed_errors: 510
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: 0
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: 288161095336
rx_csum_offload_good: 395550978
rx_csum_offload_errors: 20001
rx_header_split: 0
alloc_rx_buff_failed: 0
tx_smbus: 0
rx_smbus: 0
dropped_smbus: 0
红色的部分代表ifconfig 中drop的数据包,以前不知产生的原因,后来阅读资料发现跟napi驱动处理数据包方式有关,流量一大就会引起丢包。以后还是使用新版的常规驱动吧,测试已完成,丢包为0,成功解决。
附参考资料:http://www.ajaxstu.com/neiheyuanma/270612.html :lol :lol
页:
[1]