From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <5048B694-088C-4C4A-B53A-95E250C004A5@kernel.dk> References: <7efa8a7d0906191519l5b268430o3ec4c96e60dfcb7a@mail.gmail.com> <20090620062702.GI31415@kernel.dk> <6863f0c90906200621l48000095xc46ef1fbcfc159d8@mail.gmail.com> <5048B694-088C-4C4A-B53A-95E250C004A5@kernel.dk> Date: Sat, 20 Jun 2009 13:38:03 -0700 Message-ID: <7efa8a7d0906201338n7a70dc03y67cb956e5da5e765@mail.gmail.com> Subject: Re: Ques on FIO output (how to interpret iops) From: Learner Study Content-Type: multipart/alternative; boundary=0016e644d02c1f0ad5046ccd9e05 To: Jens Axboe Cc: John Cagle , Jens Axboe , "fio@vger.kernel.org" List-ID: --0016e644d02c1f0ad5046ccd9e05 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit runtime = 60 and blocksize=512 The exact cmd is: ./fio --name=global --runtime=60 --rw=read --bs=512 --direct=1 --ioengine=aio --iodepth=4000 --loops=100 --name=job1 --filename=/dev/sdb --name=job2 --filename=/dev/sdb Thanks! On Sat, Jun 20, 2009 at 7:12 AM, Jens Axboe wrote: > On 20/06/2009, at 15.21, John Cagle wrote: > > On Sat, Jun 20, 2009 at 1:27 AM, Jens Axboe < > jens.axboe@oracle.com> wrote: > >> On Fri, Jun 19 2009, Learner Study wrote: >> > Hi: >> > >> > How do I calculate total IOPS done by different FIO threads/jobs? >> > >> > Following is output from FIO (with two threads)... >> > >> > Each thread shows "bw" and "iops" numbers. Towards the end of output >> log, >> > there is "aggrb" which is sum of individual "bw" of threads, but "io" >> field >> > (3 line from the bottom of output below) doesn't seem to be sum of >> > individual thread iops.... >> > >> > For example, Thread_1 has bw: 15k iops: 29366 >> > Thread_2 has bw: 15k iops: 29445 >> > But, the summary towards the end (third line from bottom of output), >> says >> > "io=1,723MiB, aggrb=30,105KiB/s". >> > >> > In this aggrb is good but io doesn't match up (it should be 58781) ! Can >> > someone please educate what am I missing? >> >> Can you try a newer version? If the problem is still there, the best way >> to get it fixed is to send my a simple job file that reproduces the >> problem, and then I can easily fix it for you. >> > > I thought the "io=" summary at the end was the total amount of I/O > performed (in megabytes), not the total number of IOPS. > > > It is, you are correct. Seems I misread the problem. > --0016e644d02c1f0ad5046ccd9e05 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable runtime =3D 60 and blocksize=3D512

The exact cmd is:
./fio --name=3Dglobal --runtime=3D60 --rw=3Dread --bs=3D512 --direct=3D1 --ioengine=3Daio --iodepth=3D4000 --loops=3D100 --name=3Djob1 --filename=3D/dev/sdb --name=3Djob2 --filename=3D/dev/sdb

Thanks!


On Sat, Jun 20, 2009 at 7:12 AM, Jens Ax= boe <axboe@kernel.d= k> wrote:
On 20= /06/2009, at 15.21, John Cagle <jcagle@gmail.com> wrote:

On Sat, Jun 20, 2009 at 1:27 AM, Jens = Axboe <= jens.axboe@oracle.com> wrote:
On Fri, Jun 19 2009, Learner Study wrote:
> Hi:
>
> How do I calculate total IOPS done by different FIO threads/jobs?
>
> Following is output from FIO (with two threads)...
>
> Each thread shows "bw" and "iops" numbers. Towards= the end of output log,
> there is "aggrb" which is sum of individual "bw" o= f threads, but "io" field
> (3 line from the bottom of output below) doesn't seem to be sum of=
> individual thread iops....
>
> For example, Thread_1 has bw: 15k iops: 29366
> Thread_2 has bw: 15k iops: 29445
> But, the summary towards the end (third line from bottom of output), s= ays
> "io=3D1,723MiB, aggrb=3D30,105KiB/s".
>
> In this aggrb is good but io doesn't match up (it should be 58781)= ! Can
> someone please educate what am I missing?

Can you try a newer version? If the problem is still there, the best way to get it fixed is to send my a simple job file that reproduces the
problem, and then I can easily fix it for you.

I = thought the "io=3D" summary at the end was the total amount of I/= O performed (in megabytes), not the total number of IOPS.

It is, you are correct. Seems I misread the prob= lem.

--0016e644d02c1f0ad5046ccd9e05--