Felix Radensky writes:
> Thanks for your help, Ben. What is skb-recycle patch
> and where can I find it ?
It's experimental and not updated for almost a year and current
implementation does not add anything to SMP. Got some idea how
to improve this... but try to keep to slab as long as possible
it has been improved.
Routing/bridging on SMP has affinty problem. If you are passing
skb's say from eth0 to eth1 and they are bound on different CPU's
you get cache boucing since the TX-interrupts come on another CPU.
In a recent test with pktgen:
300 kpps with TX interrupts on same CPU as sender.
198 kpps with TX intr on different CPU as sender.
Recycling tries to address this but current implementation fails
as said.
But you are probably hit by something else... Check were the drops
happens qdisc?. NIC ring RX/TX size, Number of interrupts. ksoftird
priority, link HW_FLOW control, checksumming, affinity etc.
Cheers.
--ro
|