Select() vs Netmap
Fred Pedrisa
fredhps10 at hotmail.com
Sun Jun 1 16:39:42 UTC 2014
Hey, guys.
I'm currently experiencing a strange issue in my program (Using netmap).
Sometimes, when I call select() in a FD, it gets like 4~8 packets per event,
however suddenly it drops to 1~2 packets per event, losing a lot of
performance and increasing the number of select calls necessary to poll the
NIC for new packets.
Is there any type of tweak I can do, to make this behavior becomes linear
and sustain the performance in such case without these oscillations ?
The behavior happens under the same stressing circumstances, around 1.4
Mpps~ (64 byte packets).
Sincerely,
Fred
More information about the freebsd-current
mailing list