Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1453566rdb; Wed, 6 Dec 2023 22:03:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhSSf8+y1GeHHcCD4VLlcYtjSzfTylA8c0XcZHTKpBYGOkZbEyvDSk3FvblsO4ghctY/J7 X-Received: by 2002:a05:6358:520b:b0:170:39fa:af6d with SMTP id b11-20020a056358520b00b0017039faaf6dmr1315573rwa.54.1701929008366; Wed, 06 Dec 2023 22:03:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701929008; cv=none; d=google.com; s=arc-20160816; b=zfOqMU6ROVstMlHJlfisRvYvjAzfsufCINOXmtkkZ/4vymiUX3Pp1vw85zlSoaUdIs yNdfJgj7poAEo8KRctRVt/VeI/cYY6hG+1ECc7QvUVp0SXFapF/2zyRIodaYYtxchLV3 PqC1g1a/8AjCM+tH8H0bHH+hnZ+JbfkB5h4+GjjGIj6gcopnUtfWeYxL8PvucG5lABb/ tnERRion2N3eajKSmje6uRTwVS2HohPWHlgf8WbrUBeVliX5Inr7irsUfy4lI6x8ncvL 6gVQdObsHppZy7hMf//R7ma+CSPE9sUNNHb8Unrw9yQGHPFwLGxvtm445IL6l6IAGicr zQkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=u/XqCkGwetPERlH8LTIVNcKw64vcUuQSwWmVxlaN7SM=; fh=a3Sfb4YIBfkZ5aLlAZoGu/dmwmTlLNXXf9P78UTuOK4=; b=MxmOVreje5PZPqkJX4Di5KWyaaXYsPrshfKE02Ydp8O2wE4MZkJGVN6xqoufRcm9Bz zKz302JwFq5wc3CsPwfy0NGq3vP7az77yb62n8lSQIMHc8WhPjQd92g9XjVcIMhyEPYe 0YNEXK5UB3ZuObR76/whl89cKMdkcOmTBeGiUo3onk1r+bqMG5eQWBvN2DcrE88F6Js2 DkG+rqals75ww+O3OPjUxs/TgvpxdH7mt6GYdZVzWH3IUYNWMI9Llb7Dm3f2tnp7ltgi EbGL4PqbhbxOKTL9+ALkTFbmDXzYlD6Eia5EVMELuPuoCIADXvSryZMbrB7AxQeVQlRP ZdXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QChhmL5E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id g5-20020a636b05000000b005b91192c628si591849pgc.369.2023.12.06.22.03.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 22:03:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QChhmL5E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9B7588087E2A; Wed, 6 Dec 2023 22:03:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377386AbjLGGCq (ORCPT + 99 others); Thu, 7 Dec 2023 01:02:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377345AbjLGGCp (ORCPT ); Thu, 7 Dec 2023 01:02:45 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2785D6D for ; Wed, 6 Dec 2023 22:02:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701928969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u/XqCkGwetPERlH8LTIVNcKw64vcUuQSwWmVxlaN7SM=; b=QChhmL5E4hLNRBQ9PtB2SCfVoBbX5YA6aatn0WooLhHfdp39mnu3H64/KdfwCGWPvwPdSO GhExH3dMlqey3qX3ZkkoE79jswNv6eqhKehcyUQ6obLfEeD5z6bq1k3mfJrzY5/6zV2Btl EVoXIdvpuLiQ0UfS4vNxEyxA0iuDaOM= Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-140--LjteiK1OL6K09m2xxw_BA-1; Thu, 07 Dec 2023 01:02:48 -0500 X-MC-Unique: -LjteiK1OL6K09m2xxw_BA-1 Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-1d068f02fc7so7016385ad.1 for ; Wed, 06 Dec 2023 22:02:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701928967; x=1702533767; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u/XqCkGwetPERlH8LTIVNcKw64vcUuQSwWmVxlaN7SM=; b=cWv018N0oHSeNAZiJUmHO2QKiImG8Z6BZ2Fe1iJPadTYH0DbaAgWeJGAQUQz0jgF5a bWIJQAdwmoD4BLJiy0MB/XbA14hlZmNkyOEZghSVR/huecpxRquTe/Mkz/kQ+KHgPuio IvdX91Or/P1AFzfOp7y/QTEJrO/yBSIDaWRY5/kUVBKW4Q3S2m9wJLQcW3ehjPkw4DAO PYMWiPPunxDnIdWGTMmB+R6Y69O1Sr7P/gMRVUh6nyrRXgVV1wNNTlPi7m/uyASI4PaE tRzSE6bfvvCOhC9CXld9L1uTFvOU+4x1xE2zXWk1AySZ5V0dxYkCJiRjMUuVc4qG05Ej D+Mw== X-Gm-Message-State: AOJu0YwxnhEJTfBV+7AsCCO9Sn5rLsXYJU5WQd907DFE94YEUidFCqPY FDakNTkN6WyCBLwn+Lj1g1dN/M4EjbAlcKobfSqvKAp5djAkf45QvzGjlRsJX/IAZNJ6MznAbqn R1tehlzNxKwzprjsefAUMKeKO18JC+X6aS5uCFjpu X-Received: by 2002:a17:903:228e:b0:1d0:9c53:9cca with SMTP id b14-20020a170903228e00b001d09c539ccamr1954629plh.96.1701928967270; Wed, 06 Dec 2023 22:02:47 -0800 (PST) X-Received: by 2002:a17:903:228e:b0:1d0:9c53:9cca with SMTP id b14-20020a170903228e00b001d09c539ccamr1954622plh.96.1701928967048; Wed, 06 Dec 2023 22:02:47 -0800 (PST) MIME-Version: 1.0 References: <20231207043118.118158-1-fengli@smartx.com> In-Reply-To: <20231207043118.118158-1-fengli@smartx.com> From: Jason Wang Date: Thu, 7 Dec 2023 14:02:36 +0800 Message-ID: Subject: Re: [PATCH] virtio_blk: set the default scheduler to none To: Li Feng Cc: Jens Axboe , "Michael S. Tsirkin" , Paolo Bonzini , Stefan Hajnoczi , Xuan Zhuo , "open list:BLOCK LAYER" , open list , "open list:VIRTIO BLOCK AND SCSI DRIVERS" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 06 Dec 2023 22:03:26 -0800 (PST) On Thu, Dec 7, 2023 at 12:33=E2=80=AFPM Li Feng wrote: > > virtio-blk is generally used in cloud computing scenarios, where the > performance of virtual disks is very important. The mq-deadline scheduler > has a big performance drop compared to none with single queue. At least you can choose the scheduler based on if mq is supported or not? Thanks