From: Matt Freel <matt.freel@broadcom.com>
To: Erwan Velu <evelu@redhat.com>
Cc: fio@vger.kernel.org
Subject: RE: Proper way to shut down FIO in Linux
Date: Wed, 14 Mar 2018 09:07:00 -0600 [thread overview]
Message-ID: <7d4b20a37c7c500d6565a76db6481a40@mail.gmail.com> (raw)
In-Reply-To: <368477604.10754890.1521010004445.JavaMail.zimbra@redhat.com>
I'm using it to generate IO -- not necessarily as a benchmark. I'm running
IO, taking some other measurements, then killing it to kick off a different
workload. The time it needs to run is not constant -- it depends on a bunch
of different things.
-----Original Message-----
From: Erwan Velu <evelu@redhat.com>
Sent: Wednesday, March 14, 2018 12:47 AM
To: Matt Freel <matt.freel@broadcom.com>
Cc: fio@vger.kernel.org
Subject: Re: Proper way to shut down FIO in Linux
Hey,
Why do you want to kill fio ? That sounds weird to me.
If you need to run your benchmark on constant time then use time_based &
runtime instructions.
----- Mail original -----
De: "Matt Freel" <matt.freel@broadcom.com>
À: fio@vger.kernel.org
Envoyé: Mardi 13 Mars 2018 19:56:10
Objet: Proper way to shut down FIO in Linux
I'm using FIO to run IOs to a number of block devices. I'm looking for the
proper way to shut down all the threads that are spawned.
I'm doing the following:
/usr/bin/pkill --signal INT fio
Most of the time this works fine, but I do have cases where some of the FIO
processes remain open. Eventually I get a 300s timeout and then they're
killed.
A couple questions:
1. When these threads have to be ungracefully killed, do the results
still get counted in the output file?
a. I'm using JSON output file
2. Is there a better way I should be killing all the threads?
--
To unsubscribe from this list: send the line "unsubscribe fio" in the body
of a message to majordomo@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2018-03-14 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 18:56 Proper way to shut down FIO in Linux Matt Freel
2018-03-14 6:46 ` Erwan Velu
2018-03-14 15:07 ` Matt Freel [this message]
2018-03-17 6:34 ` Sitsofe Wheeler
2018-03-21 14:36 ` Jens Axboe
2018-03-21 14:39 ` Matt Freel
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=7d4b20a37c7c500d6565a76db6481a40@mail.gmail.com \
--to=matt.freel@broadcom.com \
--cc=evelu@redhat.com \
--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