From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:44211 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbdGDU6H (ORCPT ); Tue, 4 Jul 2017 16:58:07 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v64KrrSH048731 for ; Tue, 4 Jul 2017 16:58:07 -0400 Received: from e18.ny.us.ibm.com (e18.ny.us.ibm.com [129.33.205.208]) by mx0a-001b2d01.pphosted.com with ESMTP id 2bg78pdysa-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 04 Jul 2017 16:58:06 -0400 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 4 Jul 2017 16:58:05 -0400 Subject: Re: [dm-devel] [PATCH 1/1] block: Convert hd_struct in_flight from atomic to percpu To: Ming Lei Cc: Jens Axboe , linux-block , "open list:DEVICE-MAPPER (LVM)" , Mike Snitzer , Alasdair Kergon References: <20170628211010.4C8C9124035@b01ledav002.gho.pok.ibm.com> <7f0a852e-5f90-4c63-9a43-a4180557530c@kernel.dk> <07ba10a8-6369-c1bc-dc9a-b550d9394c22@kernel.dk> <8f4ff428-e158-0df5-cf54-ae3cdea7ad1f@kernel.dk> <3729482c-fcca-2af5-4d05-7e44bcd71159@linux.vnet.ibm.com> <0759ff58-caa0-9e55-b5ac-6324d9ba521b@kernel.dk> <599ba934-902d-d6ce-5a5a-9b32657b4a08@kernel.dk> <3053d21a-3619-498f-bf3c-921ee3e8c532@linux.vnet.ibm.com> From: Brian King Date: Tue, 4 Jul 2017 15:58:00 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Message-Id: Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On 07/03/2017 08:20 PM, Ming Lei wrote: >> Right. So the two modes I'm running in are: >> >> 1. 80 null_blk devices, each with one submit_queue, with one fio job per null_blk device, >> so 80 threads total. 80 logical CPUs >> 2. 1 null_blk device, with 80 submit_queues, 80 fio jobs, 80 logical CPUs. >> >> In theory, the two should result in similar numbers. >> >> Here are the commands and fio configurations: >> >> Scenario #1 >> modprobe null_blk submit_queues=80 nr_devices=1 irqmode=0 >> >> FIO config: >> [global] >> buffered=0 >> invalidate=1 >> bs=4k >> iodepth=64 >> numjobs=80 >> group_reporting=1 >> rw=randrw >> rwmixread=100 >> rwmixwrite=0 >> ioengine=libaio >> runtime=60 >> time_based >> >> [job1] >> filename=/dev/nullb0 > > IMO it should be more reasonable to use single null_blk with 80 queues > via setting submit_queues as 80 than simply 80 null_blks. So suggest to switch > to test 80 queues in your future test. That should be what my Scenario #1 covers. Thanks, Brian -- Brian King Power Linux I/O IBM Linux Technology Center