Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp436471rwd; Thu, 1 Jun 2023 02:16:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5KdOk8qfGrj+ZtbByPCkIfV8XzS8EZlRPZK3uUAe/Ms9SQ7Y9Lby3ohAuCt7p7ciQPEPjF X-Received: by 2002:a05:6358:4315:b0:125:8fc9:183b with SMTP id r21-20020a056358431500b001258fc9183bmr2901881rwc.26.1685610994287; Thu, 01 Jun 2023 02:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685610994; cv=none; d=google.com; s=arc-20160816; b=nOWvEKkYUaAXc6G/e2XHBc/hInd3fjgqnhV1Bfn+990RUI3WTPgLOfaig8EQSW+GQf rbP0n5R1rqmB9klfN0Y9xpDokKLUlmkbX3+s2cdtIoB2d2t/4tmvig6JMw5vNqpW1iNv g4dvfpp6nr6spiO7f5m83Jk8M8dCWR8R/7yzyLo5hldyXpAeN0hz/Mhlwg/aalq7xVCe B4VehXet5V+cU+12RpUXGQldo1/nyMgkT1sfjZUBsgUNi7Dt1MWnTEXkZERvFPPdtmGQ VJbw8CCRmvXlw4kjTasYGU74RZlRL6AlVbzUQImcENdaVC5wlOFO7Y1N4az/aM0QD47+ tFjA== 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 :dkim-signature; bh=vAUgWsWihuICZ0W/UHSMFcstti8PKzf4LJWc1QG6u2I=; b=tg5kIZ0XWGrrbt0DyepN6osvOfCDPeVK8ns63uFwpqtmptwwXVqmTcux/FTPYj16WL tPvN8XD+jcB6j/tjj3Sexd8WAgmkdDJJziBR/CZIn/1khZkBZHKArZEZrb54e3Leq528 B2tmU3AaItki7BmxhRYq+uzY+ZiTfQKM/sWgkrrNGd5ikyqL+eEO4j6Dxi2FplsWGIYt MG9Ju5ooLcstLFekMt4ftGmYzZRaXEJRcOQXhDfeaJICvlwYr5lXfkSy9OjKtOloIM9X zsILnk9hPRC+t3uUgZz9JU8/G63NTf9ZLsBZsR0pgJ4IRJD1ctFWAsbPpg4C0f3094yX gj5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Fa6Qp9M8; dkim=neutral (no key) header.i=@suse.de header.b=uUDkFIs9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t7-20020a63b707000000b0053f19be2174si2321211pgf.791.2023.06.01.02.16.22; Thu, 01 Jun 2023 02:16:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Fa6Qp9M8; dkim=neutral (no key) header.i=@suse.de header.b=uUDkFIs9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232385AbjFAIrP (ORCPT + 99 others); Thu, 1 Jun 2023 04:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232408AbjFAIqc (ORCPT ); Thu, 1 Jun 2023 04:46:32 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8D13125; Thu, 1 Jun 2023 01:46:23 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 64F8021963; Thu, 1 Jun 2023 08:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1685609182; h=from:from:reply-to: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=vAUgWsWihuICZ0W/UHSMFcstti8PKzf4LJWc1QG6u2I=; b=Fa6Qp9M8zkX8d7ViVbC6opC2XtnbX39SZk/kNLTkrVEKBIvWzZuQHeeRTPijl8pZEp3fUl 82xm7rAso6+apMtekNKKezo4WDOUXZhKSHIVZ16ZVQD82pkHk8iCP0gmorP2g59DwkzKej MPIYyh6uoP6qsDpQiFwl0QC3x59EIfg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1685609182; h=from:from:reply-to: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=vAUgWsWihuICZ0W/UHSMFcstti8PKzf4LJWc1QG6u2I=; b=uUDkFIs9oiv6jts0Ve9FGf6E+UQ0WotOeoShTGbXJZSLgTyrbnGJipM5JDj/pkVLnhRziQ r7cbmH8pvsaG7kCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5620613441; Thu, 1 Jun 2023 08:46:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 84nDFN5aeGThDgAAMHmgww (envelope-from ); Thu, 01 Jun 2023 08:46:22 +0000 Date: Thu, 1 Jun 2023 10:46:21 +0200 From: Daniel Wagner To: Shinichiro Kawasaki Cc: Chaitanya Kulkarni , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , Shin'ichiro Kawasaki , Hannes Reinecke Subject: Re: [PATCH blktests v4 09/11] nvme{045,047}: Calculate IO size for random fio jobs Message-ID: References: <20230511140953.17609-1-dwagner@suse.de> <20230511140953.17609-10-dwagner@suse.de> <5duh22ydzwth2z2sd4oo22cuaqlazxq3u5m7vo5qfkp4fgec7w@elzdr6vbksgv> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5duh22ydzwth2z2sd4oo22cuaqlazxq3u5m7vo5qfkp4fgec7w@elzdr6vbksgv> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sorry for the late response, had to deal with a lot of high prio stuff... On Fri, May 19, 2023 at 01:36:17AM +0000, Shinichiro Kawasaki wrote: > On May 17, 2023 / 04:44, Chaitanya Kulkarni wrote: > > On 5/11/23 07:09, Daniel Wagner wrote: > > > _nvme_calc_run_io_size() returns the jobs size for _run_fio_rand_io() > > > function. The jobs size is the size per job, thus we have to divide > > > through the number of CPUs. > > > > sorry I didn't understand why we have to divide through number of > > CPUs ? isn't tht will change the current job size of the test ? > > > > unless we are increasing somewhere which I missed it . > > This change reduces the I/O size per job, but it keeps the total I/O size > regardless of the number of CPUs. This will keep test case runtime reasonable > on systems with hundreds of CPUs. Yes, indeed. > As for the test case nvme/045, it tests re-authentication. I don't think it > requires total I/O size proportional to number of CPUs. As for the test case > nvme/047, it exercises different queue types (write queue and poll queue). Does > it require total I/O size proportional to number of CPUs? Daniel is the test > case author, and I guessed he is ok with the change. Yes :) Thanks for applying these patches!