From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-18.ptr.blmpb.com (sg-1-18.ptr.blmpb.com [118.26.132.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A2CD611E for ; Fri, 13 Feb 2026 16:54:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771001676; cv=none; b=a3cs1/ugs3/6+//ak4/JhRvDw7M3K9pi3Dq3R1VvhKPRS2VSlIN+jlaEf7G+/4Qoa/0du22Hpjq7AhtAxQ6McM2Bj0urUEd8EWRQcFSZAqHDoCdFX2yWgf0eVAM4yR2EbdxPz4K1RRoVL7XhucvG9tpcac4TjQBYY+kcfG586dM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771001676; c=relaxed/simple; bh=G2BnGX26PUJwPNtKkgDw/Z/6YxRQh+f8bAqoAuDkZEc=; h=Content-Type:Subject:Date:To:References:Cc:Mime-Version: In-Reply-To:From:Message-Id; b=KvVsPEwyPJaLmmmNXmIiKRdt945HLBh63eK5iCmRrr7mALl8OhdugXBbc+fdyjRhybqCmTtmcsbSxA9e1OqKOwwfznyLUErzPokj1OnT92bMfWHXrpky3y1z6QBCqbabEQmpieR3xIRvTx7zspyv1CSZmsqOZ3Hk3EJDckyt9qM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com; spf=pass smtp.mailfrom=fnnas.com; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b=KXQwlwDV; arc=none smtp.client-ip=118.26.132.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fnnas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b="KXQwlwDV" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1771001668; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=G2BnGX26PUJwPNtKkgDw/Z/6YxRQh+f8bAqoAuDkZEc=; b=KXQwlwDVoeV68Rlu0oEVJu4Lg47uzpXzUtH96viL2v3Xs68gacIGKwNCoVOZFcoyyLaEer ymGWnnngyfo4xnbaHcYKZMF1Fv6BI5KnF7xgLrYwoacbnPZklLjpxDYvNBEkdu8RAg+r5z 15ZlDskw2mYj4Vyz9Z1pXpOw5T3Sp5brjn3WpRqsrC27JahEe6zAvBfY0Qxyci+3l56LXV oK8ibWD51JQu4BLfsLxqw/56CKfqq1neAfXyDosFOReQ5Z5e9qQa8MYjTSkiczPQmhbM9M GS4XvgXZVpEA2+ql53FXQ4APk5fmFePZNHxY5DvGHD1b8Ll0K1wKm6EKfeArBQ== Content-Type: text/plain; charset=UTF-8 X-Original-From: Yu Kuai X-Lms-Return-Path: Subject: Re: [RFC PATCH] blk-iocost: introduce 'linear-max' cost model for cloud disk Date: Sat, 14 Feb 2026 00:54:22 +0800 Received: from [192.168.1.104] ([39.182.0.132]) by smtp.feishu.cn with ESMTPS; Sat, 14 Feb 2026 00:54:25 +0800 User-Agent: Mozilla Thunderbird Content-Transfer-Encoding: quoted-printable Content-Language: en-US Reply-To: yukuai@fnnas.com To: "Jialin Wang" References: <20260213073829.182168-1-wjl.linux@gmail.com> <890f2571-fb46-4ff2-b7ea-7cfa10bc8797@fnnas.com> Cc: , , , , , , , Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 In-Reply-To: From: "Yu Kuai" Message-Id: Hi, =E5=9C=A8 2026/2/13 20:24, Jialin Wang =E5=86=99=E9=81=93: > Do you have any specific thoughts or suggestions on the best way to combi= ne > these two mechanisms? I would really value your advice on the implementat= ion > direction. Implement a new model in iocost, you'll configure bps/iops_limit the same a= s blk-throttle, you'll also need something like tg_dispatch_bps/iops_time() a= nd throtl_charge_bps/iops_bio() to calculate cost by max(bps_cost, iops_cost). --=20 Thansk, Kuai