Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Castor Fu <castor@egocast.org>, fio@vger.kernel.org
Subject: Re: deadlock in fio.. client/server
Date: Thu, 11 Sep 2014 14:45:51 -0600	[thread overview]
Message-ID: <541209FF.2070503@kernel.dk> (raw)
In-Reply-To: <CALKLVuJv4KqbKFU5fk0-TXw5fcXYmP55GA_RXdeA2+SXvantcg@mail.gmail.com>

On 08/30/2014 08:41 AM, Castor Fu wrote:
> I see what looks to me like a deadlock when running with multiple jobs
> in client/server mode.
> However, I'm not too used to debugging multithreaded code, so I
> figured maybe some additional eyes would help.
> 
> This is on a Gen8 HP DL380 (dual socket x86_64) running CentOS EL6.
> 
> I haven't seen this when just running from the command line.
> 
> I start the daemon with:
> 
> fio --daemonize=/tmp/fio.pid.4987 --server=localhost,8098
> 
> and a client with
> fio --client=localhost 8098 --output=test_blk.20140830Z1419 test_bad2.fio
> 
> #
> [global]
> 
> ioengine=libaio
> thread=1
> bs=4k
> filename=/dev/sdb
> size=1M
> do_verify=1
> iodepth=8
> stonewall
> 
> [writes]
> rw=write
> # 3 passes
> # 4 fails
> numjobs=4
> 
> and sometimes (50% or higher with num_jobs=4) it hangs.

Sorry for being late on this, I can reproduce it. Will take a look!

-- 
Jens Axboe



  reply	other threads:[~2014-09-11 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-30 14:41 deadlock in fio.. client/server Castor Fu
2014-09-11 20:45 ` Jens Axboe [this message]
2014-09-11 23:07   ` Jens Axboe
2014-09-12  6:34     ` Castor Fu

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=541209FF.2070503@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=castor@egocast.org \
    --cc=fio@vger.kernel.org \
    /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