fio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Fu <vincentfu@gmail.com>
To: stelios evagorou <stelios_evagorou@hotmail.com>,
	"fio@vger.kernel.org" <fio@vger.kernel.org>,
	"axboe@kernel.dk" <axboe@kernel.dk>
Subject: Re: Maximum number of files we can read/write with FIO
Date: Tue, 25 Jul 2023 12:54:45 -0400	[thread overview]
Message-ID: <0f9e734f-ede3-510c-a38c-c51251529484@gmail.com> (raw)
In-Reply-To: <AS4PR07MB8681AC26C1E2CB7796A97463F903A@AS4PR07MB8681.eurprd07.prod.outlook.com>

On 7/25/23 09:47, stelios evagorou wrote:
> Hello,
> 
> I was trying to create a job file that has the following form:
> 
> [global]
> blocksize=4k
> ioengine=libaio
> readwrite=randwrite
> size=20G
> name=test
> numjobs=32
> group_reporting=1
> file_service_type=random
> iodepth=128
> fallocate=native
> runtime=120
> directory=/tmp/ssfs/home/sevag/fuse_ext4
> [jobs1]
> filename:f1:f2:f3......f8192
> 
> 
> but when i tried to run it i got the error message "value exceeds max 
> length of 4096 fio". Is there anyway to achieve the above setting?
> 
> Many thanks,
> Stelios Evagorou

The error occurs because the maximum possible length for the value for 
the filename option is set to 4096.

Instead of filename=... try the following:

nrfiles=8192
filename_format=f$filenum

The files will be named f0, f1, ..., f8191.

Vincent

           reply	other threads:[~2023-07-25 16:55 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <AS4PR07MB8681AC26C1E2CB7796A97463F903A@AS4PR07MB8681.eurprd07.prod.outlook.com>]

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=0f9e734f-ede3-510c-a38c-c51251529484@gmail.com \
    --to=vincentfu@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=stelios_evagorou@hotmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).