You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, if I either omit the RSS value, or set it to anything other than 1, PF_RING will drop all packets. Is this to be expected? What would cause that behavior? It seems counter-intuitive that a single RX queue would perform better than multiple RX queues. It's as if the PF_RING library has internally deadlocked in its worker thread.
Does one have to do anything differently in userland to properly use multiple RX queues? What's the benefit/cost tradeoffs to having a single vs. multiple RX queues?
Thanks!
The text was updated successfully, but these errors were encountered:
If you are using ZC, you are probably capturing from the first queue only (ethX == ethX@0),
you should explicitly capture from all the queues when multiqueue is enabled. You have benefits
using multithreaded/multiprocess applications, otherwise better to use 1 queue.
For some reason, if I either omit the RSS value, or set it to anything other than 1, PF_RING will drop all packets. Is this to be expected? What would cause that behavior? It seems counter-intuitive that a single RX queue would perform better than multiple RX queues. It's as if the PF_RING library has internally deadlocked in its worker thread.
Does one have to do anything differently in userland to properly use multiple RX queues? What's the benefit/cost tradeoffs to having a single vs. multiple RX queues?
Thanks!
—
Reply to this email directly or view it on GitHub #35.
RSS hash is based on src/dst ip and port (bidirectional thanks to the ZC library reprogramming the hw hashing function),
thus traffic gets load-balanced across queues based on sessions (flows).
For some reason, if I either omit the RSS value, or set it to anything other than 1, PF_RING will drop all packets. Is this to be expected? What would cause that behavior? It seems counter-intuitive that a single RX queue would perform better than multiple RX queues. It's as if the PF_RING library has internally deadlocked in its worker thread.
Does one have to do anything differently in userland to properly use multiple RX queues? What's the benefit/cost tradeoffs to having a single vs. multiple RX queues?
Thanks!
The text was updated successfully, but these errors were encountered: