On Wed, 2012-07-11 at 14:15 +0800, Li Yu wrote:
于 2012年07月11日 12:03, Eric Dumazet 写道:
quoted
You said that some 'buggy' drivers set rxhash to zero, but its a valid
operation.
You said 'it seems that RPS hashing can not work well for some corner
cases', but its a known fact.
Em, we really are able to verify RPS imbalance by checking the last
column of /proc/net/softnet_stat, but skbtrace can give us more details
of RSS/RPS hashing. For improper RPS hashing case, it can provide more
details of what really happen in real time.
A hash is a hash. Its rarely perfect.
RPS is a best effort, and not suitable for all needs.
If you follow netdev, maybe you saw that I suggested to use a BPF to
compute the hash, for specialized needs.
Of course, RFS can also help right now.