Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1462879rdb; Wed, 6 Dec 2023 22:32:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiDUR/a/tqoj1LdhWKpaU/VGfZ8blPo/BQCD3cAz/dJvmNF9aEdubBVtzWCaF3/Ha9Q34v X-Received: by 2002:a05:6a20:4403:b0:18f:97c:b9fd with SMTP id ce3-20020a056a20440300b0018f097cb9fdmr1853192pzb.87.1701930738594; Wed, 06 Dec 2023 22:32:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701930738; cv=none; d=google.com; s=arc-20160816; b=s8oZDE4u4I3qJGSwiiO2HrT9SNLnXwXMrrZf726LPAnX6mFhTa+t3nD+ZCfafoHOTa MSHIepug4ICbUaXxRUdRncz43Q4Fez+nHZ6XY80l9J8BilvfsHt5k5SkEH6ntn+RQ4IQ 5FtZvOVnNNFDgh9sw8iPRmVMSDdBwisSMvNXQVciqkeLqzGJsRJh3TJXnM6nyd4jQNJ/ gKcBk4NNUm5+LLAJlHz3Qtn/A7rcwxGzgv4SI4HNxqPwbWiTDxUEfQ1nAIXzi91Qeuvq I3LJmvJULFEbz/xCCEMgqaejfIStv1MDZ+DgISA4HDW1WpgCwW6/nURvB5YNK+MS9YBr ReUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=5sR3A/v+kbUHDSu2DdKsZWsAH0wB0wI+BlWPsNGRqLQ=; fh=lDKB61s6c1Fko93nFxK77AmFq2UXA2+QQ4ldCFPHGs8=; b=ERE4LOa2o2WYCD1zX4LVrCMcaW0svkRkVkK3K1vOx6cClRuM3VnDSPicwk3Cktp+bf mFFc70pwkSxYh5r3P3GdrDUnsDqeKA74NTeWGz00kV9/uVu59TIW9eM+lVrned7wniEh a7WPsaDOMZ8M2VjoWWvaOrrtCKKEbmDDpj9QQrUPkt53x7haotYeZRRX61hOBcaLdncD gAG97AKMRJJBHL45fV2IaBOSMvlLZRlVnfw0OfkW3jbS6YcdtSGdzvdwqYKBNytfqDx4 2ynsKXYm/jWRFvJquTnVSGo9zm6poWSroqrnZIPNxGeptheeew6DkQ004yb/pB1fuXto tc4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@smartx-com.20230601.gappssmtp.com header.s=20230601 header.b="w/HO0722"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z22-20020a17090ab11600b002867ec14e6fsi487103pjq.153.2023.12.06.22.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 22:32:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@smartx-com.20230601.gappssmtp.com header.s=20230601 header.b="w/HO0722"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5411F81F391F; Wed, 6 Dec 2023 22:32:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229558AbjLGGbu (ORCPT + 99 others); Thu, 7 Dec 2023 01:31:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjLGGbt (ORCPT ); Thu, 7 Dec 2023 01:31:49 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95F1C10D for ; Wed, 6 Dec 2023 22:31:54 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5c1f8b0c149so388354a12.3 for ; Wed, 06 Dec 2023 22:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smartx-com.20230601.gappssmtp.com; s=20230601; t=1701930714; x=1702535514; darn=vger.kernel.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5sR3A/v+kbUHDSu2DdKsZWsAH0wB0wI+BlWPsNGRqLQ=; b=w/HO0722I0VJSI72nJ/NFY9fPObBJN9xOa0PBadXZ8LRZai+KiFEeaPJKxTs0LtQ8p zjOcJQld4y33RWihJLiTCrQIA7DItMYajG1szjm9x+Od8y5oYUKSGxXtyuGoNmo+KcqG RrimeWCQ2QawNy7zQoXjzySrdU0PkMKUU68g5xAS+PxvaBo5Exdx5lBgjrKp1kvPGhvb qa/m33BsolzF0+F1nkoMNVlzc4V3abervsK2AcN9v5qG0hvUFQvimqFF+k7VONoDAYib R8d7IqLpsPPlkcIykv27MRLxdivMzKWzUmmkSvh+h0VxvwH5tzE2PKxZMcxgkOV71Pnr Ipag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701930714; x=1702535514; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5sR3A/v+kbUHDSu2DdKsZWsAH0wB0wI+BlWPsNGRqLQ=; b=tcl8yz7Net/0yYETadhUGtUCk0OezFZfr7Zg548mxhRWUIAnnIpv93fKtDLMGiXRG+ Dlj+ZuaA09hnchFFAHxzs6au2Fj6hoeABl6YUU7CG2B/bzNnnGp9BacOMngYh0Amz2YN zkHTIjqAgW0938T1hDPhr90mPIGjg+F+FhtIvxmVLtbJSyCseRNIZmAFltv+kEVEZcBn 0DMET30y9vssyxo7GZ+U/iu1gHPDU644vPv2NJjR/0tFnCKruRdmzC3KFWlJ4+58WjcT 7QG8cPJTKiJ6MtTp791So+bhV3KuUAPcNlCLxkH0Fo/eeBXnZxOlhtLByNAMa0CBhCsk SrFA== X-Gm-Message-State: AOJu0Yw7E9Qhl3dQjWqVSxdCNlbHUnojXAs66s9ILRd0s+5NQtR4X8cQ I2osQj8SDqgszcRdhevqDNaheA== X-Received: by 2002:a05:6a21:3102:b0:18f:97c:ba21 with SMTP id yz2-20020a056a21310200b0018f097cba21mr2387789pzb.123.1701930713440; Wed, 06 Dec 2023 22:31:53 -0800 (PST) Received: from smtpclient.apple ([103.172.41.205]) by smtp.gmail.com with ESMTPSA id c7-20020a170902b68700b001ca86a9caccsm521331pls.228.2023.12.06.22.31.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Dec 2023 22:31:53 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Subject: Re: [PATCH] virtio_blk: set the default scheduler to none From: Li Feng In-Reply-To: Date: Thu, 7 Dec 2023 14:32:43 +0800 Cc: Jens Axboe , "Michael S. Tsirkin" , Paolo Bonzini , Stefan Hajnoczi , Xuan Zhuo , "open list:BLOCK LAYER" , linux-kernel , "open list:VIRTIO BLOCK AND SCSI DRIVERS" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20231207043118.118158-1-fengli@smartx.com> To: Jason Wang X-Mailer: Apple Mail (2.3774.100.2.1.4) X-Spam-Status: Yes, score=5.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SBL_CSS,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-Level: ***** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 06 Dec 2023 22:32:14 -0800 (PST) X-Spam-Report: * 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS * [103.172.41.205 listed in zen.spamhaus.org] * 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server * [103.172.41.205 listed in dnsbl.sorbs.net] * 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in * bl.spamcop.net * [Blocked - see ] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level * mail domains are different * -0.0 SPF_PASS SPF: sender matches SPF record * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.0 T_SCC_BODY_TEXT_LINE No description available. * -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list * manager > On Dec 7, 2023, at 14:02, Jason Wang wrote: >=20 > On Thu, Dec 7, 2023 at 12:33=E2=80=AFPM Li Feng = wrote: >>=20 >> 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. >=20 > At least you can choose the scheduler based on if mq is supported or = not? >=20 > Thanks >=20 The "none" scheduler has better performance regardless of whether it is a single queue or multiple queues. Why not set the single queue = scheduler to none by default? Thanks.