uropek Posted April 18, 2014 Поставил в сервер карточку двухпортовую на Intel 82576 скорость упала в два раза по сравнению со встроенной. которая на Intel 82574. Было где 350-400 Мбит стало чуть больше 200 Мбит.Загрузка sirq по ядрам выше 10% не повышалась даже в час пик. На сервере крутится accel-pppd -- 700 сессий макс. шейпер HTB. В iptables включен CT --notrack. Ядро: uname -a Linux vpn1 3.4.36-build-0003 #2 SMP Thu Mar 21 13:48:23 YEKT 2013 i686 GNU/Linux Драйвер для карточки # ethtool -i eth3 driver: igb version: 3.2.10-k firmware-version: 1.2-1 bus-info: 0000:02:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no Процессор один четырехядерный cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 58 model name : Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz Прерывания прибил к ядрам по 1 RX TX на ядро: # interrupts for external eth2 # eth2-RX echo 1 > /proc/irq/51/smp_affinity echo 2 > /proc/irq/52/smp_affinity echo 3 > /proc/irq/53/smp_affinity echo 4 > /proc/irq/54/smp_affinity # eth2-TX echo 1 > /proc/irq/55/smp_affinity echo 2 > /proc/irq/56/smp_affinity echo 3 > /proc/irq/57/smp_affinity echo 4 > /proc/irq/58/smp_affinity # interrupts for external eth3 # eth3-rx echo 1 > /proc/irq/60/smp_affinity echo 2 > /proc/irq/61/smp_affinity echo 3 > /proc/irq/62/smp_affinity echo 4 > /proc/irq/63/smp_affinity # eth3-tx echo 1 > /proc/irq/64/smp_affinity echo 2 > /proc/irq/65/smp_affinity echo 3 > /proc/irq/66/smp_affinity echo 4 > /proc/irq/67/smp_affinity Оффлоадинг выключен. Куда еще можно посмотреть? Share this post Link to post Share on other sites More sharing options...
Antares Posted April 18, 2014 ifconfig покажи Share this post Link to post Share on other sites More sharing options...
nuclearcat Posted April 18, 2014 ethtool -S eth3 ethtool -S eth2 mpstat -P ALL 1 Share this post Link to post Share on other sites More sharing options...
nuclearcat Posted April 18, 2014 и самое главное ethtool -k eth3 ethtool -k eth2 Share this post Link to post Share on other sites More sharing options...
s.lobanov Posted April 18, 2014 и самое главное ethtool -k eth3 ethtool -k eth2 +100500. на 146% можно быть уверенным, что во всё виновато TSO Share this post Link to post Share on other sites More sharing options...
rm_ Posted April 18, 2014 Куда еще можно посмотреть? Я бы ещё Flow control посмотрел (ethtool -a/-A), пару раз его отключение решало проблемы со странным падением скорости. ну или если и так выключен, то попробовать включить. Share this post Link to post Share on other sites More sharing options...
uropek Posted April 21, 2014 Проблемы с флоу контрол были, нашел я их. А проблема была в неправильной настройке шейпера, как оно до этого работало вообще не знаю :( Share this post Link to post Share on other sites More sharing options...