Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2063876rdb; Thu, 7 Dec 2023 18:01:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHrh/BivVSCnM5x2tSkNpN3QWyH2OOrkmBebfS6X1nB41J8EUc4bhCl6w1xzXzv+c0tsz+g X-Received: by 2002:a05:6a20:4308:b0:18f:97c:9269 with SMTP id h8-20020a056a20430800b0018f097c9269mr3501828pzk.78.1702000868724; Thu, 07 Dec 2023 18:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702000868; cv=none; d=google.com; s=arc-20160816; b=ZTRTSmOAOvBLz7U1LyWmUe4e9RQXw9Oexv5Puqi09lv4VU6FQ2VO9FVx5WNMK8l3UK 2B2nKCOdnLOJ8BH0irU8uXMcsxuLNwCTXP7c66eqh1k2Z1qG4Wk7mapmn3WroKlhg5Ji ORSrk0m7HDWv6ECYVRPaaa9jRBIq26C79bd2cd3AMVc4vbKwy82C6x8KkELxhjZta4o0 PjWoExCz+V2LNB5F+RGvw67wJrCAvSI5bcpL0AIHrhx0uha3gOMJePTjy+xMGCcmP9a6 3WZ4AdD13hLOuCSGn3MUqjLeEURdgc9NnPG4T64rDSJVxedi3RzRlIswM3/CwcfTUQBc peCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JJ2EPKnJQm+fAlvkL+74UAK/7dPrJSHeWEZnkUKYj2w=; fh=yXNpEcwwMuBgezwrLS28ssTyLHU99C9GM6UJcIGG4uI=; b=eaVznF1RZidtRCz+TtFvbB0+CSN3H1bORfz2n27o7o66Lylh2ogH8HkpU9VwiEpHP5 ULzsK5ygsQoDr9OjuhKlxPxfFDFE+oNl+itdFimcloESGXwXQ9iD12vslkpTJ75SobrQ 9nnc9J9QPpc6Q8Tzkvg1CKa9UtN+pnP+JtvjBeuPE1zw49QIfH7VjnWK6LV+lvQu8x5N VsyQyTmSJHBNEuYImE/S9cFQI7RhPFWmTSg5P/qHbhjg7z00w7KfKw+uUOB5yd/8BB2P xNBY5n7o+VXMBhRs23VZ1wDd5IyO+gfutOscx61s0FX/3pv1e78L7AVnvl/ZnQXrnYkD y5DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JJl6fOKU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id s2-20020a170902ea0200b001d0a0ee28e0si702344plg.288.2023.12.07.18.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 18:01:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JJl6fOKU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 1745D850628A; Thu, 7 Dec 2023 18:01:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1572996AbjLHCAt (ORCPT + 99 others); Thu, 7 Dec 2023 21:00:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1572983AbjLHCAq (ORCPT ); Thu, 7 Dec 2023 21:00:46 -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 CDAB610DD for ; Thu, 7 Dec 2023 18:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702000851; 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: in-reply-to:in-reply-to:references:references; bh=JJ2EPKnJQm+fAlvkL+74UAK/7dPrJSHeWEZnkUKYj2w=; b=JJl6fOKUtPa+BEVQBIAoe4DrScWqVxJ29CNABz3oDmhW8ODg+19VtR7/Cq0JHoK5ZWtLEN tEbaLoExAUW+h/+hkIUrQ6MMLvBfMQcpOWG01+eb/DLQdfVVmAvi5OJcyhvUWNVjXrJTLM fqlUbMTnzIWbLalHceyoAyn3U2wYhbU= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-662-Fz9at8PFNQ-bnMhti6X8PQ-1; Thu, 07 Dec 2023 21:00:48 -0500 X-MC-Unique: Fz9at8PFNQ-bnMhti6X8PQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D6E0C3C10153; Fri, 8 Dec 2023 02:00:47 +0000 (UTC) Received: from fedora (unknown [10.72.120.10]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 991062026D66; Fri, 8 Dec 2023 02:00:41 +0000 (UTC) Date: Fri, 8 Dec 2023 10:00:36 +0800 From: Ming Lei To: Li Feng Cc: Jens Axboe , "Michael S. Tsirkin" , Jason Wang , Paolo Bonzini , Stefan Hajnoczi , Xuan Zhuo , "open list:BLOCK LAYER" , open list , "open list:VIRTIO BLOCK AND SCSI DRIVERS" Subject: Re: [PATCH] virtio_blk: set the default scheduler to none Message-ID: References: <20231207043118.118158-1-fengli@smartx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231207043118.118158-1-fengli@smartx.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 18:01:05 -0800 (PST) On Thu, Dec 07, 2023 at 12:31:05PM +0800, 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. In my tests, > mq-deadline 4k readread iops were 270k compared to 450k for none. So here > the default scheduler of virtio-blk is set to "none". The test result shows you may not test HDD. backing of virtio-blk. none can lose IO merge capability more or less, so probably sequential IO perf drops in case of HDD backing. Thanks, Ming