All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Miller <mike.miller@hp.com>
To: fio@vger.kernel.org
Subject: fio: terminating on signal 15
Date: Wed, 09 Nov 2011 16:42:00 -0600	[thread overview]
Message-ID: <4EBB01B8.5070801@hp.com> (raw)

Hello,
I'm trying to benchmark random reads and I see some strange happenings 
on the server.
The idea was to have 128 processes randomly reading from a 10GB file and 
log bandwith and latencies. Here's my job file:
---------------------------
[global]
rw=randread
size=10g				; filesize = 10GB
bs=4k					; use block size of 4kB
numjobs=16				; 16 threads per job
ioengine=libaio				; use async IO
directory=/data				; use /data for testing
iodepth=32				; queue depth
direct=1				; to queue up multiple IOs
runtime=3600				; run for 1 hour
write_bw_log=/home/mikem/fio-logs	; gather bandwidth info
write_lat_log=/home/mikem/fio-logs	; gather latency info
disk_util=1				; generate disk useage stats
					; if supported on the platform
gtod_cpu=10				; get time of day on cpu 10

[job1]					; 10 jobs all doing the same thing as
					; desrcibed in global section
[job2]

[job3]

[job4]

[job5]

[job6]

[job7]

[job8]
---------------------------------------

What I got instead was 128 files of 10GB each with fio 128 processes 
running. After the writing of all the files I see

fio: terminating on signal 15

constantly scrolling in the window in which I started the fio job.

An strace -f -p pid shows:

kill(pid, SIGTERM) = 0

If I run `iostat -x /dev/sda1 5 5` the first line of output shows maybe 
400 MB/sec being read. Sometimes it spikes up to 800 MB/sec. Now it's 
showing 176 MB/sec being written. All subsequent lines show zero across 
the board. That's only with the writing phase. The reading phase does 
not exhibit that behavior. So I'm not sure if it's doing anything good.

Can someone tell me what I'm doing wrong? Again, my goal is to benchmark 
some number of processes or threads randomly reading from some large file.

Thanks,
mikem



             reply	other threads:[~2011-11-09 22:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 22:42 Mike Miller [this message]
2011-11-10  6:47 ` fio: terminating on signal 15 Josh Aune

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=4EBB01B8.5070801@hp.com \
    --to=mike.miller@hp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.