From: Shrikanth Hegde <sshegde@linux.ibm.com>
To: Qais Yousef <qyousef@layalina.io>
Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
Sudeep Holla <sudeep.holla@arm.com>, Wei Wang <wvw@google.com>,
Jaegeuk Kim <jaegeuk@kernel.org>,
Bart Van Assche <bvanassche@acm.org>,
Christoph Hellwig <hch@infradead.org>,
Jens Axboe <axboe@kernel.dk>, Ingo Molnar <mingo@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>
Subject: Re: [PATCH v2 0/2] sched: blk: Handle HMP systems when completing IO
Date: Sat, 24 Feb 2024 19:13:24 +0530 [thread overview]
Message-ID: <1bb797ef-573b-4bda-98bf-1eb63f6f4ffe@linux.ibm.com> (raw)
In-Reply-To: <20240223155749.2958009-1-qyousef@layalina.io>
On 2/23/24 9:27 PM, Qais Yousef wrote:
> Due to recent changes in how topology is represented on asymmetric multi
> processing systems like big.LITTLE where all cpus share the last LLC, there is
> a performance regression as cpus with different compute capacities appear under
> the same LLC and we no longer send an IPI when the requester is running on
> a different cluster with different compute capacity.
>
> Restore the old behavior by adding a new cpus_equal_capacity() function to help
> check for the new condition for these systems.
>
> Changes since v1:
>
> * Split the patch per subsystem.
> * Convert cpus_gte_capacity() to cpus_equal_capacity()
> * Make cpus_equal_capacity() return immediately for SMP systems.
>
nit: Did you mean !SMP systems here?
Because in changes i see its returning true directly if its in !CONFIG_SMP path.
> Qais Yousef (2):
> sched: Add a new function to compare if two cpus have the same
> capacity
> block/blk-mq: Don't complete locally if capacities are different
>
> block/blk-mq.c | 5 +++--
> include/linux/sched/topology.h | 6 ++++++
> kernel/sched/core.c | 11 +++++++++++
> 3 files changed, 20 insertions(+), 2 deletions(-)
>
next prev parent reply other threads:[~2024-02-24 13:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 15:57 Qais Yousef
2024-02-23 15:57 ` [PATCH v2 1/2] sched: Add a new function to compare if two cpus have the same capacity Qais Yousef
2024-02-23 16:12 ` Bart Van Assche
2024-02-23 15:57 ` [PATCH v2 2/2] block/blk-mq: Don't complete locally if capacities are different Qais Yousef
2024-02-23 16:09 ` Bart Van Assche
2024-02-24 23:06 ` Qais Yousef
2024-02-24 13:43 ` Shrikanth Hegde [this message]
2024-02-24 23:12 ` [PATCH v2 0/2] sched: blk: Handle HMP systems when completing IO Qais Yousef
2024-02-24 19:48 ` Jens Axboe
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=1bb797ef-573b-4bda-98bf-1eb63f6f4ffe@linux.ibm.com \
--to=sshegde@linux.ibm.com \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=dietmar.eggemann@arm.com \
--cc=hch@infradead.org \
--cc=jaegeuk@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=qyousef@layalina.io \
--cc=sudeep.holla@arm.com \
--cc=vincent.guittot@linaro.org \
--cc=wvw@google.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
all inboxes | Powered by JetHome®