Message ID | cde50a18-7c09-4d00-b3b8-32da2992c952@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-28951-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp867766dye; Wed, 17 Jan 2024 04:20:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEatYKA5ODL3AowvyA/pKc32K+FL5UH0g9I8PUJpU/l/9AzcJjHuTgON5OByyD2R7l+yLpa X-Received: by 2002:a05:6214:27e8:b0:681:30b2:e81e with SMTP id jt8-20020a05621427e800b0068130b2e81emr913638qvb.62.1705494037313; Wed, 17 Jan 2024 04:20:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705494037; cv=pass; d=google.com; s=arc-20160816; b=uwTENhGoBo6XcnJAMWlOcChmAsmZP6eSJnj5j2pFP3Ko1B5HJVoP2SPZ74gpX3yV1Y +0HCCXF9Y8brw++/o0e4LFjTM2vyjkmnoKMVcxEt8uRfJbFT/ANLdLYunb3vnRlokolU 6S+SIR9t/7+i96mhSxrv6aXy1a7ant91878TFkHj82m8dvD3HdREd69s7UhzTokNk51C qo3muCJVRJY13k2dDmcam83h/Y2jKnw6HrvxHDQZu0RO2Z8aZ66dTFI5lWDgVuGI+YGQ n0UxbUE4B9Ya7EWyOb5coYIKQo9Y2q2Cfr1ESsDWh/bS4IvjF/FXnMSuBR1V7+7z9bQB jwyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=mu5vsRnvoHsEPgLdGqJ3hIkeqbVdA8fjLgRjt10HLfc=; fh=XmH+XMkL7pBUvAi9WRnzcxfCNcnpgniF9SadCUY0rjQ=; b=I8rw9x8Si2IaD8q03CY4AuXAp8Q7rHF0g8Bmx0vjw4Xg667ICKtBrlL3gbXvs6G6H1 1Y4LC2w0FZAsa9ydTdLTX2tyTGFkabrquDdOZ6vGGlzg31dwZxuKGOq+0Z4Ol9cBuXHT RInapO18V+O4DulFclkmxCgUYFoTRta64ef8K8zzQLwAQNtRKSNCz1Qvu5A8C/Yxv0xQ D2Fo4mezS28EvWuUCO+Ep3Bh8hb52yGe7wRi0465SscZhcBEYmpwKCugqhFVWb6WsHZj DanHXjRODSXPy9garmD4TCKxXFyEPvgSkTuxx4RLRPa0zDCTdPxDAWPjBy+N2Cr2naDp j+QQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-28951-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28951-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v10-20020a0c8e0a000000b0067f6c300e91si4025953qvb.328.2024.01.17.04.20.37 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 04:20:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28951-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-28951-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28951-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0BFD11C21FD8 for <ouuuleilei@gmail.com>; Wed, 17 Jan 2024 12:20:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74AE91DFFF; Wed, 17 Jan 2024 12:20:18 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 164381DFCD; Wed, 17 Jan 2024 12:20:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705494017; cv=none; b=hT44F0an2852AIoy2Qp3GsutMMkHUFoLXP0RO3UwFMLQWuqJ6pCFpdVCErAcTWtQhyd11P9tyOczSnI3R4rQYsKcdoID79L5gmnk7cTXkzmyy1yN7Oot22Iqom9VdL8HFDe3UwL7gAHlsgPmB19xbqHyHJ0Fa10D3aQUdxFd5uA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705494017; c=relaxed/simple; bh=wZhbyFNn4JqJb0pkLFRCR7iXvHOOBQbUVu4GjXo16/U=; h=Received:Received:Message-ID:Date:MIME-Version:User-Agent: Content-Language:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=GnmSg8Gm+uk1G7Y8v+j21qNOJTep/HqPFz4LKb6uAq7hOTJnCiAYD6K83pk7d+03sv9eGZwwUIXShmG81QQephpz1HgOgCdsqNoH5RiAzBeAmPzmHxQPflaKIlqhHiSCJj/rKD9Qgs3Rz3fdm01wmHXZraPSFXgnqSsWQyAlMlw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8262C11FB; Wed, 17 Jan 2024 04:21:00 -0800 (PST) Received: from [10.1.26.46] (e133047.arm.com [10.1.26.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8C77F3F766; Wed, 17 Jan 2024 04:20:13 -0800 (PST) Message-ID: <cde50a18-7c09-4d00-b3b8-32da2992c952@arm.com> Date: Wed, 17 Jan 2024 12:20:11 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: linux-kernel@vger.kernel.org, axboe@kernel.dk, bvanassche@acm.org, linux-block@vger.kernel.org, corbet@lwn.net From: Christian Loehle <christian.loehle@arm.com> Subject: [PATCH] Documentation: block: ioprio: Update schedulers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788340115444214739 X-GMAIL-MSGID: 1788340115444214739 |
Series |
Documentation: block: ioprio: Update schedulers
|
|
Commit Message
Christian Loehle
Jan. 17, 2024, 12:20 p.m. UTC
This doc hasn't been touched in a while, in the meantime some
new io schedulers were added (e.g. all of mq), some with ioprio
support.
Signed-off-by: Christian Loehle <christian.loehle@arm.com>
---
Documentation/block/ioprio.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Comments
On 17.01.24 13:20, Christian Loehle wrote: > This doc hasn't been touched in a while, in the meantime some > new io schedulers were added (e.g. all of mq), some with ioprio > support. > > Signed-off-by: Christian Loehle <christian.loehle@arm.com> > --- > Documentation/block/ioprio.rst | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst > index a25c6d5df87b..5410308888d2 100644 > --- a/Documentation/block/ioprio.rst > +++ b/Documentation/block/ioprio.rst > @@ -9,14 +9,14 @@ Intro > With the introduction of cfq v3 (aka cfq-ts or time sliced cfq), basic io > priorities are supported for reads on files. This enables users to io nice > processes or process groups, similar to what has been possible with cpu > -scheduling for ages. This document mainly details the current possibilities > -with cfq; other io schedulers do not support io priorities thus far. > +scheduling for ages. Support for io priorities is io scheduler dependent and > +currently supported by bfq, mq-deadline and cfq. CFQ went away with blk-mq and got replaced by BFQ IIRC. > > Scheduling classes > ------------------ > > -CFQ implements three generic scheduling classes that determine how io is > -served for a process. > +Three generic scheduling classes are implemented for io priorities that > +determine how io is served for a process. > > IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given > higher priority than any other in the system, processes from this class are
On 17/01/2024 12:49, Johannes Thumshirn wrote: > On 17.01.24 13:20, Christian Loehle wrote: >> This doc hasn't been touched in a while, in the meantime some >> new io schedulers were added (e.g. all of mq), some with ioprio >> support. >> >> Signed-off-by: Christian Loehle <christian.loehle@arm.com> >> --- >> Documentation/block/ioprio.rst | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst >> index a25c6d5df87b..5410308888d2 100644 >> --- a/Documentation/block/ioprio.rst >> +++ b/Documentation/block/ioprio.rst >> @@ -9,14 +9,14 @@ Intro >> With the introduction of cfq v3 (aka cfq-ts or time sliced cfq), basic io >> priorities are supported for reads on files. This enables users to io nice >> processes or process groups, similar to what has been possible with cpu >> -scheduling for ages. This document mainly details the current possibilities >> -with cfq; other io schedulers do not support io priorities thus far. >> +scheduling for ages. Support for io priorities is io scheduler dependent and >> +currently supported by bfq, mq-deadline and cfq. > > CFQ went away with blk-mq and got replaced by BFQ IIRC. Right, I'll remove the mentioning of CFQ here and in the introductory sentence. The introductory sentence also mentions "basic io priorities are supported for reads on files", a limitation which hasn't been there in a long time. Thanks, will send out v2 tomorrow. > > >> >> Scheduling classes >> ------------------ >> >> -CFQ implements three generic scheduling classes that determine how io is >> -served for a process. >> +Three generic scheduling classes are implemented for io priorities that >> +determine how io is served for a process. >> >> IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given >> higher priority than any other in the system, processes from this class are >
diff --git a/Documentation/block/ioprio.rst b/Documentation/block/ioprio.rst index a25c6d5df87b..5410308888d2 100644 --- a/Documentation/block/ioprio.rst +++ b/Documentation/block/ioprio.rst @@ -9,14 +9,14 @@ Intro With the introduction of cfq v3 (aka cfq-ts or time sliced cfq), basic io priorities are supported for reads on files. This enables users to io nice processes or process groups, similar to what has been possible with cpu -scheduling for ages. This document mainly details the current possibilities -with cfq; other io schedulers do not support io priorities thus far. +scheduling for ages. Support for io priorities is io scheduler dependent and +currently supported by bfq, mq-deadline and cfq. Scheduling classes ------------------ -CFQ implements three generic scheduling classes that determine how io is -served for a process. +Three generic scheduling classes are implemented for io priorities that +determine how io is served for a process. IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given higher priority than any other in the system, processes from this class are