public inbox for fio@vger.kernel.org
 help / color / mirror / Atom feed
From: Vincent Fu <vincentfu@gmail.com>
To: Haris Iqbal <haris.iqbal@ionos.com>, fio@vger.kernel.org
Subject: Re: Question about an fio profile which leads to a CPU lockup
Date: Fri, 4 Oct 2024 15:07:20 -0400	[thread overview]
Message-ID: <a76b6241-7ac0-4933-8556-b0f36498bfd5@gmail.com> (raw)
In-Reply-To: <CAJpMwygnT=KmzZHxJGUWgg1AJe-UbAP_bP5mN7iCLdtFoYwNdQ@mail.gmail.com>

On 10/4/24 11:09, Haris Iqbal wrote:
> Hello,
> 
> I am running the following fio profile on an RDMA storage stack with a
> raid5 in the back end, and I see a CPU lockup. (I can provide more
> details about the setup if needed).
> 
> ""
> [global]
> description=Emulation of Storage Server Access Pattern
> bssplit=512/20:1k/16:2k/9:4k/12:8k/19:16k/10:32k/8:64k/4
> fadvise_hint=0
> rw=randrw
> direct=1
> random_distribution=zipf:1.2
> time_based=1
> runtime=60
> ramp_time=1
> ioengine=libaio
> iodepth=128
> iodepth_batch_submit=128
> iodepth_batch_complete_min=1
> iodepth_batch_complete_max=128
> numjobs=1
> group_reporting
> 
> [job1]
> filename=/dev/rnbd0
> ""
> 
> First question I have is, is there wrong with the above profile?
> Next, if I simply change the iodepth_batch_complete_min=0 in the above
> profile, I see no hangup.
> 
> My next step is to reach out to the kernel raid group, but before that
> I wanted to confirm that the fio profile leading to the hangup isn't
> incorrect/illegal or something.
> 
> Regards
> -Haris
> 

There is nothing obviously wrong with your job options. Try running it 
with --debug=io to see what is going on. There will be a lot of output 
since there will be multiple debug messages for each I/O.

Note that, from the documentation, if iodepth_batch_complete_min=0 then 
fio will always check for completed events before queuing more I/O.

Vincent


      reply	other threads:[~2024-10-04 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-04 15:09 Question about an fio profile which leads to a CPU lockup Haris Iqbal
2024-10-04 19:07 ` 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=a76b6241-7ac0-4933-8556-b0f36498bfd5@gmail.com \
    --to=vincentfu@gmail.com \
    --cc=fio@vger.kernel.org \
    --cc=haris.iqbal@ionos.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