From: Jiebin Sun <jiebin.sun@intel.com>
To: edumazet@kernel.org
Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org,
linux-kernel@vger.kernel.org, tim.c.chen@linux.intel.com,
tianyou.li@intel.com, wangyang.guo@intel.com
Subject: Re: [PATCH] net: dst: Avoid false sharing between tclassid and __rcuref
Date: Fri, 20 Nov 2026 14:14:30 +0800 [thread overview]
Message-ID: <20261120061430.3676313-1-jiebin.sun@intel.com> (raw)
In-Reply-To: <CAL4Wiio=6iUnMQM1Ry+fda3Y2Y3=d13_g42e5ZHhXHDmhp7eFA@mail.gmail.com>
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
prev parent reply other threads:[~2026-11-20 6:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 1:57 [PATCH] net: dst: Avoid false sharing between tclassid and __rcuref Jiebin Sun
2026-11-18 16:58 ` netdev-bot+sashiko
2026-11-18 17:15 ` Eric Dumazet
2026-11-20 6:14 ` Jiebin Sun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261120061430.3676313-1-jiebin.sun@intel.com \
--to=jiebin.sun@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=tianyou.li@intel.com \
--cc=tim.c.chen@linux.intel.com \
--cc=wangyang.guo@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox