Re: [PATCH] net: dst: Avoid false sharing between tclassid and __rcuref
From: Jiebin Sun
Date: Fri Nov 20 2026 - 01:10:15 EST
Hi Eric,
Thanks for the review. I tested the field swap. On x86-64, dst_entry
stays at 136 bytes and metadata_dst stays at 240 bytes. VXLAN
metadata_dst allocations still fit in kmalloc-256. I included the
pahole results in the v2 commit message.
Memcached over IPv4 loopback (64 threads, 5 runs of 60s each):
+----------+-------------------+
| Case | Throughput change |
+----------+-------------------+
| default | +32.55% |
| hit | +45.79% |
| balanced | -0.12% |
| large | +45.62% |
+----------+-------------------+
Thanks,
Jiebin