On 04/11/2013 05:32 AM, Jon Schipp wrote:
What is the purpose of the kernel pull option?
-k|--kernel-pull <uint> Kernel batch interval in us (def: 10us)
Is that where after every 10 microseconds the data in the ring buffer is
then transmitted out the net device?
Yes, each 10us (or depending on your value), you'll issue an async sendto()
call with no parameters except the socket, and then the kernel will walk
through the ring and send out those frames that are marked for the kernel.
Are there any notable values for performance other than the default?
Probably, if you have a big ring, you could try to increase this value and
e.g. see with ifpps on the other side, if it gives you a better throughput.
I found the 10us reasonable when I did an evaluation of this back some years
ago on a IBM blade server. But likely that might depend on many values,
and needs to be determined for your specific scenario if you want to get
some slightly more packets out of it - hard to say, 10 us seem to be quite
good though.
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.