L-ZiX Posted September 7, 2009 Posted September 7, 2009 Приветствую всех. Заменили мы один сервер на коло, после чего новый сервер стал ужасно работать. На нем есть три сетевухи: два броадкома 5704 и интел 100. Ситуация следующая: в один поток отдается не более полутора-двух мегабит. Подумал что всему виной говняный броадком и переключил сервер на интел - стало еще хуже. Порт в свиче рабочий, патчкорды меняли. Думаю что дело в ОС. Куда смотреть? OS CentOS 5.3 x86_64 Вставить ник Quote
terrible Posted September 7, 2009 Posted September 7, 2009 у меня подобное порно было, вылечилось выключением Flow Control Вставить ник Quote
itl2044 Posted September 7, 2009 Posted September 7, 2009 у меня подобное порно было, вылечилось выключением Flow Control +1 Вставить ник Quote
L-ZiX Posted September 7, 2009 Author Posted September 7, 2009 [root@serv]# mii-tool -v eth0 eth0: no autonegotiation, 100baseTx-HD, link ok product info: vendor 00:08:18, model 25 rev 0 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 100baseTx-HD я так понимаю что flow control выключен? [root@serv]# ethtool -a eth0 Pause parameters for eth0: Autonegotiate: on RX: off TX: off Вставить ник Quote
L-ZiX Posted September 7, 2009 Author Posted September 7, 2009 eth0 Link encap:Ethernet HWaddr 00:E0:81:40:30:F6 inet addr:88.88.88.88 Bcast:88.88.88.255 Mask:255.255.255.0 inet6 addr: fe80::2e0:81ff:fe40:30f6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:39453 errors:0 dropped:0 overruns:0 frame:0 TX packets:72884 errors:3 dropped:0 overruns:0 carrier:0 collisions:1457 txqueuelen:1000 RX bytes:3459113 (3.2 MiB) TX bytes:73150281 (69.7 MiB) Interrupt:185 откуда колизии? Вставить ник Quote
itl2044 Posted September 7, 2009 Posted September 7, 2009 Поставте 100 FD принудительно. Вставить ник Quote
L-ZiX Posted September 7, 2009 Author Posted September 7, 2009 [root@serv /]# ifconfig eth0 Link encap:Ethernet HWaddr 00:E0:81:40:30:F6 inet addr:88.88.88.88 Bcast:88.88.88.255 Mask:255.255.255.0 inet6 addr: fe80::2e0:81ff:fe40:30f6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:214689 errors:0 dropped:0 overruns:0 frame:0 TX packets:361858 errors:8 dropped:0 overruns:0 carrier:0 collisions:8340 txqueuelen:1000 RX bytes:21209398 (20.2 MiB) TX bytes:376117821 (358.6 MiB) Interrupt:185 [root@serv /]# ethtool -S eth0 NIC statistics: rx_octets: 21821422 rx_fragments: 0 rx_ucast_packets: 219805 rx_mcast_packets: 630 rx_bcast_packets: 1021 rx_fcs_errors: 0 rx_align_errors: 0 rx_xon_pause_rcvd: 0 rx_xoff_pause_rcvd: 0 rx_mac_ctrl_rcvd: 0 rx_xoff_entered: 0 rx_frame_too_long_errors: 0 rx_jabbers: 0 rx_undersize_packets: 0 rx_in_length_errors: 0 rx_out_length_errors: 0 rx_64_or_less_octet_packets: 150137 rx_65_to_127_octet_packets: 58244 rx_128_to_255_octet_packets: 3941 rx_256_to_511_octet_packets: 1639 rx_512_to_1023_octet_packets: 5212 rx_1024_to_1522_octet_packets: 2283 rx_1523_to_2047_octet_packets: 0 rx_2048_to_4095_octet_packets: 0 rx_4096_to_8191_octet_packets: 0 rx_8192_to_9022_octet_packets: 0 tx_octets: 385779306 tx_collisions: 8773 tx_xon_sent: 0 tx_xoff_sent: 0 tx_flow_control: 0 tx_mac_errors: 8 tx_single_collisions: 852 tx_mult_collisions: 597 tx_deferred: 451 tx_excessive_collisions: 0 tx_late_collisions: 6092 tx_collide_2times: 396 tx_collide_3times: 118 tx_collide_4times: 25 tx_collide_5times: 5 tx_collide_6times: 11 tx_collide_7times: 10 tx_collide_8times: 16 tx_collide_9times: 12 tx_collide_10times: 3 tx_collide_11times: 1 tx_collide_12times: 0 tx_collide_13times: 0 tx_collide_14times: 0 tx_collide_15times: 0 tx_ucast_packets: 369443 tx_mcast_packets: 9 tx_bcast_packets: 0 tx_carrier_sense_errors: 0 tx_discards: 0 tx_errors: 0 dma_writeq_full: 0 dma_write_prioq_full: 0 rxbds_empty: 0 rx_discards: 0 rx_errors: 0 rx_threshold_hit: 1293 dma_readq_full: 0 dma_read_prioq_full: 0 tx_comp_queue_full: 0 ring_set_send_prod_index: 375535 ring_status_update: 414253 nic_irqs: 412642 nic_avoided_irqs: 1611 nic_tx_threshold_hit: 3727 Поставте 100 FD принудительно.а как быть с этим?: link partner: 100baseTx-HDсервер в ДЦ, где ни квм ни ночного персонала нет, если упадет - до утра будет трабла Вставить ник Quote
L-ZiX Posted September 7, 2009 Author Posted September 7, 2009 Поставте 100 FD принудительно. Поставил - не помогло. Хотя поставилось. Вставить ник Quote
Дегтярев Илья Posted September 7, 2009 Posted September 7, 2009 Какой rtt до сервера? Если ядро старое: echo 1 > /proc/sys/net/ipv4/tcp_window_scaling Вставить ник Quote
L-ZiX Posted September 8, 2009 Author Posted September 8, 2009 (edited) Какой rtt до сервера? Если ядро старое:echo 1 > /proc/sys/net/ipv4/tcp_window_scaling rtt откуда ? echo 1 > /proc/sys/net/ipv4/tcp_window_scaling пробовал, не помогает ядро Linux 2.6.18-128.2.1.el5.028stab064.7 #1 SMP Wed Aug 26 15:47:17 MSD 2009 x86_64 x86_64 x86_64 GNU/Linux Edited September 8, 2009 by L-ZiX Вставить ник Quote
itl2044 Posted September 8, 2009 Posted September 8, 2009 Поставте 100 FD принудительно.Поставил - не помогло. Хотя поставилось. Скорее всего просто зависший порт на свиче.Коллизии из за HD Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.