commit | 5809052ae1066b0af9d36ae63608621f75d260f6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 26 10:41:47 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 26 11:10:53 2017 +0100 |
tree | b62f83e5f7f1e91072f3ea1a985f01e3d2d50651 | |
parent | fd5efb59364056e23b0dd9bded47b0a6c523b90d [diff] |
CLEANUP: fd: place the lock at the beginning of struct fdtab The struct is not cache line aligned but at least, every time the lock will appear in the same cache line as the fd it will benefit from being accessed first. This improves the performance by about 2% on fd-intensive workloads with 4 threads.