> The per bucket locks apparently perform well for outgoing traffic,
No, hash table simply is not used for outgoing traffic,
destinations are cached in socket.
> but they are very bad for incoming traffic because it usually tends
> to hit the same lock. Hmm....
This phenomenon is known more than for year. BTW Andi, it was you who explained
It appeared that this ping-pong lock is washed out in real life
due to "statistical" bucket decoupling, so that there were no reasons
to be bothered about this.
More intersting case is net_rx_action. It has _no_ ping-pongs now,
does almost no work and it is still visible in profiles. It is strange.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:19 EST