False-sharing in TCP hash buckets, plus size increase
This was found by Joyent as "OS-299", and fixed in the Joyent Illumos batch.
TCP hash bucket mutexes are too close together and cause false-sharing. Pad them to 64-bytes where appropriate. Also, Joyent claims the number of buckets should also be larger.
Updated by Garrett D'Amore almost 10 years ago
- HG changeset patch
- User Jerry Jelinek <email@example.com>
- Date 1303430797 14400
- Node ID 20c193a013b852a0435f528a95759f9684d9115a
- Parent 7691b36f7461c3dda050d37858a5831a40fc2c11
916 False-sharing in TCP hash buckets, plus size increase
Reviewed by: Dan McDonald <firstname.lastname@example.org>
Reviewed by: Richard Lowe <email@example.com>
Approved by: Richard Lowe <firstname.lastname@example.org>