From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Xiong Yining <xiongyining1480@phytium.com.cn>
Cc: linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
jiahao.os@bytedance.com, wangyuquan1236@phytium.com.cn,
chenbaozi@phytium.com.cn
Subject: Re: [PATCH v2 00/17] arm64 kernel text replication
Date: Tue, 30 Jan 2024 10:24:39 +0000 [thread overview]
Message-ID: <ZbjOZ1YOQUBxftrR@shell.armlinux.org.uk> (raw)
In-Reply-To: <20240130101613.3425933-1-xiongyining1480@phytium.com.cn>
On Tue, Jan 30, 2024 at 10:16:13AM +0000, Xiong Yining wrote:
> Hi, Russell
>
> >
> > Needless to say, the performance results from kernel text replication
> > are workload specific, but appear to show a gain of between 6% and
> > 17% for database-centric like workloads. When combined with userspace
> > awareness of NUMA, this can result in a gain of over 50%.
> >
>
> Tested-off-by: Xiong Yining <xiongyining1480@phytium.com.cn>
> Tested-off-by: Yuquan Wang <wangyuquan1236@phytium.com.cn>
>
> Sorry for disturbing. This time I have applyed this patch on a real NUMA machine
> through "-ktext=1" linux options and successfully booted. With a database-centric
> performance test, it shows the patch will provide some improvement near 10%. However,
> since I am unfamiliar with numa performace test, could you support more details or
> suggestions on how to get the "gain of over 50%"?
You need to profile the system, and work out where the performance
bottlenecks are, and come up with ideas to address those bottlenecks.
Kernel text replication does not give arbitary guarantees of
improvement, so pulling figures of "gain of over 50%" is a complete
misrepresentation - it's highly workload and platform specific.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
next prev parent reply other threads:[~2024-01-30 10:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-30 10:16 Re:[PATCH v2 00/17] arm64 kernel text replication Xiong Yining
2024-01-30 10:24 ` Russell King (Oracle) [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-07-27 15:29 [PATCH " Russell King (Oracle)
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=ZbjOZ1YOQUBxftrR@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=chenbaozi@phytium.com.cn \
--cc=jiahao.os@bytedance.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=wangyuquan1236@phytium.com.cn \
--cc=xiongyining1480@phytium.com.cn \
/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;
as well as URLs for NNTP newsgroup(s).