Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp613689ybi; Fri, 24 May 2019 08:41:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPar0D3NReLN8rIdts2+2pyMjeY3dlHp09WOuq9RRZ0vuaISHG4Sj7n7CcqSDQfQyCpDM5 X-Received: by 2002:a63:7141:: with SMTP id b1mr105300221pgn.331.1558712469988; Fri, 24 May 2019 08:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558712469; cv=none; d=google.com; s=arc-20160816; b=FJqo50VNgmmjY7eKYE3+0OaWL/frEtKmuM02MBQGMkMdMOl3+FezMCUNSuEf7hVcQi glYgaZmrFq6V5VIXJHb30BYvWyXAl3eByXn+hzfJxMrXad/CFbOMMZljsWI1CtJdr6B5 UOs+uhUScqN9UdFvQ20BOCoqSIqUQ33fVgqKlYWVMzvpEHp/Q5Z79xu9VS2KKLvWnqdn 3DNGRgHEMAas0L4gwdU35i4H+WDbZMfm6Zn6siqPAzB8wcnKSVfTfIiKfS2oNLajBqZ7 wv/B7WgbcLIc3UcQZ5xptWUSmvCpLhxmYrH+LmMRnZMnzikMVSj2EtewJmVk0tZ3zsC/ hoYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:to:cc:in-reply-to:date:subject :mime-version:message-id:from:dkim-signature; bh=LCRvF9gM85JPE15pYJ7c4cPg5dNsC9rQxww9nzJape0=; b=vyCYy7WMovryJX63t0ijBEUYbRykKlpuzJHtYTG8kV/d/56exeINupkvEi/eDtjbuV W/A665vnvEHK87rV1R+VDm3jwKDdvdp5FqAtE51wyQK5EDIi8WSlNp2RgXT2qf/kvzQv /6QRk+obN3U+4kd3vo4k4hLR44GoTqWrpTdDiYX0n/Ltj8CgizCCg94/YGMaN0xqDYi4 wELGt0VqRnn7QDkuU1ArkTMERkp78B4a6UHNIfhxYGjxYe/egxrzf6zU4e0gKmOe/Jm+ uAWUQZS/umJbZhja745RDWs7xnLIOmLQY0fKQOLEite/bOAW2ASwzZ8YnzWK1AslCjO/ gc2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XdghJBTL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si1002199plk.200.2019.05.24.08.40.53; Fri, 24 May 2019 08:41:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XdghJBTL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389711AbfEXPiq (ORCPT + 99 others); Fri, 24 May 2019 11:38:46 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39567 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389385AbfEXPip (ORCPT ); Fri, 24 May 2019 11:38:45 -0400 Received: by mail-wr1-f65.google.com with SMTP id e2so1714867wrv.6 for ; Fri, 24 May 2019 08:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=LCRvF9gM85JPE15pYJ7c4cPg5dNsC9rQxww9nzJape0=; b=XdghJBTLyt4zmZ7Y6wBqB+3fvWWVap7fNS9E5Eqkt/MmCkS4RY/CAVGzrbga7I1yYi pAB7n0GMWYWZffDt3Mcu9ehaT/w2utnnycDx1UCPOzKRhlgqp+IFsbABPAwtqfAmdAdw o0ypragsz+J3nmEmwRLF+kMwPPn3Dj5RPXamVOA3n+PTCFXTJ5EFuGFJbm/ydTi0k/M9 eJ4doEznLwZ/qi+JB8VYrXcDwCYvi/Vl7V1jjX7m3aNFZcyeFgAXJb7M7a4k4jjTka4u QPatXtsLtTNDyaETrfiiQ/14W1YXLNcyzb2154nHB5z682hcWxUnQ+w+tQt98XQvX9Bx jypw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=LCRvF9gM85JPE15pYJ7c4cPg5dNsC9rQxww9nzJape0=; b=JsmoCoBNOqbwEfTPj7hc0qqa4buSF1xcX5vNdPOUDZT2Tf8WnYC60P5+IuSzGhwmjj PuCM83yWG98j5aMgNSpzaVX/SXhOxXaCc+ZP5RtDsgNrf12vF+hix2JaJA9xcw88mYqY hdQBWMSi4SdxqjeldMfTGW+r6nMPJsthfPtLNM0TIx0MIJjMaPJXjL4RCFtjOHYnWnst jXugi2s3ui0C7dpFQo1wu8kDFokOzELIIzKTm+vgEdZICaOX4HFGwinvra9gb70Vwm2E Quy/O6mpdFOQDapYNYP/yEOw6Xem7Bj0dEH46DINl+fHIsE1tLCLiIe9qDizVxaQ4hwP LMAg== X-Gm-Message-State: APjAAAU/qq3w+L2OWtQ5Dac+xq9lngYB/EUEqmT7lQvrOVLSDhveaTfU QIApo7aQaikn25uEmbbSOoav8A== X-Received: by 2002:a5d:54c2:: with SMTP id x2mr2791432wrv.214.1558712323937; Fri, 24 May 2019 08:38:43 -0700 (PDT) Received: from [192.168.0.104] (84-33-69-73.dyn.eolo.it. [84.33.69.73]) by smtp.gmail.com with ESMTPSA id v13sm2721074wmj.46.2019.05.24.08.38.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 08:38:43 -0700 (PDT) From: Paolo Valente Message-Id: <262EE1CC-7473-4D4C-B108-734ACED1623C@linaro.org> Content-Type: multipart/signed; boundary="Apple-Mail=_41048615-DE5F-4A8E-B59D-183EE385D00E"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: Setting up default iosched in 5.0+ Date: Fri, 24 May 2019 17:38:41 +0200 In-Reply-To: Cc: Alexey Dobriyan , Jens Axboe , Ming Lei , Omar Sandoval , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org To: Jeff Moyer References: <20190518093310.GA3123@avx2> X-Mailer: Apple Mail (2.3445.104.8) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Apple-Mail=_41048615-DE5F-4A8E-B59D-183EE385D00E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Il giorno 24 mag 2019, alle ore 16:46, Jeff Moyer = ha scritto: >=20 > Hi, Alexey, >=20 > Alexey Dobriyan writes: >=20 >> 5.0 deleted three io schedulers and more importantly = CONFIG_DEFAULT_IOSCHED >> option: >>=20 >> commit f382fb0bcef4c37dc049e9f6963e3baf204d815c >> block: remove legacy IO schedulers >>=20 >> After figuring out that I silently became "noop" customer enabling = just >> BFQ didn't work: "noop" is still being selected by default. >>=20 >> There is an "elevator=3D" command line option but it does nothing. >>=20 >> Are users supposed to add stuff to init scripts now? >=20 > A global parameter was never a good idea, because systems often have > different types of storage installed which benefit from different I/O > schedulers. The goal is for the default to just work. >=20 Just for completeness, the current default is the worst possible choice on all systems with a speed below 500 KIOPS, which includes practically all personal systems ;) But this is a different story ... Thanks, Paolo > If you feel that the defaults don't work for you, then udev rules are > the way to go. >=20 > If you also feel that you really do want to set the default for all > devices, then you can use the following udev rule to emulate the old > elevator=3D kernel command line parameter: >=20 > = https://github.com/lnykryn/systemd-rhel/blob/rhel-8.0.0/rules/40-elevator.= rules >=20 > Cheers, > Jeff --Apple-Mail=_41048615-DE5F-4A8E-B59D-183EE385D00E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEpYoduex+OneZyvO8OAkCLQGo9oMFAlzoEAEACgkQOAkCLQGo 9oN6qg/+NnwtZyPAdAGGfdoBrdQpYEKaZKAbkuGx7UGFPfLttBVZOmW5E2AWNDZp 3pr1Pxw0qCPf9kIDe54ZfeR+bh/YApfq6bco3ZibbjSy0L0qzKryE3JpcQ1CQcjp EklD4QyT85qbMVKkODbpLxr6CjzT05dZXADYbRzdBqdhmWazh88yn8frlsT0PAYA oE2hClXLf0grZCg41eD1bCQCZWCLRe3qPj75nI95J2HSbhp+43DoakCN7qnhjfDI CYe7GWcx989ofktVxPO0YDTQSDoiNVk+8EFWVVy2zgzwzrtqcQI07jkCQd3KHRI0 Ygo1UHxTi0d5361oFoRIcX/cbtXsSbvK7xohiQHaChAyNSjD9GGocxGBwWoX1ljb ElzWEKN0MCoNakEIR5y94beTip/CrVMzaxaRIl698WZ/tLJI4Dh6R1Tlxkd+NJ+X h+BWu4/NuKxHQZvRVkltNxI8pDmF0rWzw49+f60yEcecJJzx4Wf6RGWcmj/CKjws 7jieWgT/G7V6p5PYY3MzrVe8fbSTu5OvSXGvgslNaWs256P0cc+0IKVxBwb+rzz0 b36Tji2LPwv3ElwF5r46INCJhGrX/EggwPMWDrVy7cyUyd9g035ryzJ1xmIGae8G 9FoqHS+ha/jzcLI216OHUbp+oJ8rojKrlBUH+MlQbgfbGShr1M8= =Punj -----END PGP SIGNATURE----- --Apple-Mail=_41048615-DE5F-4A8E-B59D-183EE385D00E--