[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YgMxjyVjMjmkMQU5@T590>
Date: Wed, 9 Feb 2022 11:14:23 +0800
From: Ming Lei <ming.lei@...hat.com>
To: Yu Kuai <yukuai3@...wei.com>
Cc: tj@...nel.org, axboe@...nel.dk, cgroups@...r.kernel.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
yi.zhang@...wei.com
Subject: Re: [PATCH -next] blk-throttle: enable io throttle for root in
cgroup v2
Hello Yu Kuai,
On Fri, Jan 14, 2022 at 05:30:00PM +0800, Yu Kuai wrote:
> RFC patch: https://lkml.org/lkml/2021/9/9/1432
>
> There is a proformance problem in our environment:
>
> A host can provide a remote device to difierent client. If one client is
> under high io pressure, other clients might be affected.
Can you use the linux kernel storage term to describe the issue?
Such as, I guess here host means target server(iscsi, nvme target?),
client should be scsi initiator, or nvme host. If not, can you provide
one actual example for your storage use case?
With common term used, it becomes pretty easy for people to understand &
solve the issue, and avoid any misunderstanding.
>
> Limit the overall iops/bps(io.max) from the client can fix the problem,
Just be curious how each client can figure out perfect iops/bps limit?
Given one client doesn't know how many clients are connected to the
target server.
It sounds like the throttle shouldn't be done in client side cgroup,
given the throttle is nothing to do with tasks.
Maybe it should be done in server side, since server has enough
information to provide fair iops/bps allocation for each clients.
Thanks,
Ming
Powered by blists - more mailing lists