public inbox for fio@vger.kernel.org
 help / color / mirror / Atom feed
From: Vincent Fu <vincentfu@gmail.com>
To: Jigao Luo <jigao.luo@outlook.com>, fio@vger.kernel.org
Subject: Re: [General question] on iodepth Combined with numjobs
Date: Mon, 30 Sep 2024 09:24:28 -0400	[thread overview]
Message-ID: <35346198-6484-4f6a-85a7-1009e57eb45c@gmail.com> (raw)
In-Reply-To: <GV1P195MB205577C20DA7B1A65782397AEE762@GV1P195MB2055.EURP195.PROD.OUTLOOK.COM>

On 9/30/24 04:05, Jigao Luo wrote:
> Hi everyone,
> 
> I have a quick question to confirm the behavior of *iodepth* when 
> combined with *numjobs* in FIO. Based on the FIO script below, is the 
> iodepth set to 256 for the device /dev/nvme0n1?
>  From my understanding, iodepth value is set to 128 for each numjobs, 
> and since there are 2 numjobs for this device, the total depth would be 
> 128 * 2 = 256 for /dev/nvme0n1. Is this interpretation correct?
> 
> Thanks
> 
> 
> [global]
> ioengine=io_uring
> thread=1
> direct=1
> percentile_list=50:90:99:99.5:99.9:99.99:99.999
> group_reporting=1
> norandommap=1
> rw=randread
> bs=4k
> time_based=1
> runtime=20
> 
> [filename0]
> filename=Nvme0n1
> iodepth=128
> numjobs=2
> cpus_allowed=18,19
> numa_mem_policy=prefer:1
> 
> 

Yes, that's right. numjobs creates the specified number of jobs each 
with the same set of options. So you will have two jobs each with an 
iodepth of 128.

Vincent

      reply	other threads:[~2024-09-30 13:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-30  8:05 [General question] on iodepth Combined with numjobs Jigao Luo
2024-09-30 13:24 ` Vincent Fu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35346198-6484-4f6a-85a7-1009e57eb45c@gmail.com \
    --to=vincentfu@gmail.com \
    --cc=fio@vger.kernel.org \
    --cc=jigao.luo@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox