aojea / kube-netpol

Apache License 2.0
8 stars 2 forks source link

Use --queue-balance instead of --queue-num #24

Open aroradaman opened 7 months ago

aroradaman commented 7 months ago

NFQueue has an option to load-balance between multiple userland queues. Maybe we can use that or let the consumer define the number of queues as a configuration.

aojea commented 7 months ago

I didn't experiment with that but right now, without network policies and current config, the p99 duration for processing a packet with 8k packets per seconds is 500 microseconds

I'd like to avoid premature optimization until we have more evidence of the problem