hapi píše:nevim či je to primárně způsobený a nechci tady kecat kraviny ale faktem je, že mikrotik padá na hubu pod zátěží IRQ. Nechci se tu dohadovat co je msi-x a čim dělá to že nevytěžuje procesor IRQčkama ale faktem je že linux s ethernety jede na msi-edge a je bez IRQ zátěže.
Pokud někdo ví jak se dostat do shellu linuxu pod mikrotikem, tak prosim PM.
Extended Message-Signaled Interrupts (MSI-X)The ability to communicate efficiently between queues and
particular processor cores is handled by MSI-X. MSI-X is the next
generation of MSI, which passes interrupts to a single processor
core. Conversely, MSI-X provides multiple interrupt vectors, which
allow multiple interrupts to be handled simultaneously and loadbalanced
across multiple cores. This improvement helps improve
CPU utilization and lower latency.
The Intel 82575 Gigabit Ethernet Controller and the Intel 82598
10 Gigabit Ethernet Controller give each queue its own set of
MSI-X controllable interrupt vectors, which permits efficient
packet management and fine tuning of the processor load. With
an interrupt vector for each queue, the controller can handle
multiple interrupts simultaneously, preventing the bottlenecks
associated with funneling all interrupts through a single vector.
Figure 2 shows how these features work together to distribute
Ethernet traffic across CPU cores in a multi-core system
Více na
http://download.intel.com/support/netwo ... 001us2.pdfDůležité je spojit vše dohromady, je to na figure 2 toho PDFka.
Proto jsem při testování zapl CFLAGS_EXTRA=-DCONFIG_E1000E_SEPARATE_TX_HANDLER, InterruptThrottleRate dal na 3000 a IntMode dal na MSI-X. Mimochodem omlouvám se za chybu, při 3000 není latence na kartě 0,33ms, díky rozděleným frontám a rozkládání packetů na všechny jádra je to 0,33ms/4 tj. 0,0825 ms, vezmu latenci cpu, to že jedna karta je in a druhá out apod. a dostanete se právě na cca 0,2ms...
Říkejte mi o bezdrátu co chcete ale drát je drát, resp. vlákno je vlákno :)
tom@iczech.net