* output_format=terse,json core dumping
@ 2016-02-09 19:12 Kurt Dorsey
2016-02-09 20:20 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Kurt Dorsey @ 2016-02-09 19:12 UTC (permalink / raw)
To: fio
I am trying to get multiple output formats working with fio and I am
getting a core dump
fio: diskutil.c:710: show_disk_util: Assertion `parent' failed.
Aborted (core dumped)
I am utilizing format from
commit a666cab8ed3d2a2fa782be345425a2e88734a007
Author: Jens Axboe <axboe@fb.com>
Date: Tue Oct 27 13:45:21 2015 +0900
Enable the use of multiple output formats
You can now do
./fio --output-format=normal,json jobfile.fio
and get both types of output.
Signed-off-by: Jens Axboe <axboe@fb.com>
fio -v
fio-2.6-10-g820b
fio --ioengine=libaio --buffered=0 --direct=1 --norandommap --name=test
--filename=/dev/sdb --iodepth=32 --ba=4k --rw=randrw --rwmixwrite=65 --
bs=8K --numjobs=1 --runtime=10 --ramp_time=0 --time_based --output-
format=terse,json
I have also tried
--format=normal,json and I get the same issue
--output-format=normal,terse
Works just fine but I really would like to have json output along with
terse.
Is there a workaround to get both terse and json (or json+)?
Thank you,
Kurt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: output_format=terse,json core dumping
2016-02-09 19:12 output_format=terse,json core dumping Kurt Dorsey
@ 2016-02-09 20:20 ` Jens Axboe
2016-02-09 20:30 ` Kurt_Dorsey
0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2016-02-09 20:20 UTC (permalink / raw)
To: Kurt Dorsey, fio
On 02/09/2016 12:12 PM, Kurt Dorsey wrote:
> I am trying to get multiple output formats working with fio and I am
> getting a core dump
> fio: diskutil.c:710: show_disk_util: Assertion `parent' failed.
> Aborted (core dumped)
>
> I am utilizing format from
> commit a666cab8ed3d2a2fa782be345425a2e88734a007
> Author: Jens Axboe <axboe@fb.com>
> Date: Tue Oct 27 13:45:21 2015 +0900
>
> Enable the use of multiple output formats
>
> You can now do
>
> ./fio --output-format=normal,json jobfile.fio
>
> and get both types of output.
>
> Signed-off-by: Jens Axboe <axboe@fb.com>
>
>
> fio -v
> fio-2.6-10-g820b
>
>
>
> fio --ioengine=libaio --buffered=0 --direct=1 --norandommap --name=test
> --filename=/dev/sdb --iodepth=32 --ba=4k --rw=randrw --rwmixwrite=65 --
> bs=8K --numjobs=1 --runtime=10 --ramp_time=0 --time_based --output-
> format=terse,json
>
> I have also tried
> --format=normal,json and I get the same issue
>
>
> --output-format=normal,terse
> Works just fine but I really would like to have json output along with
> terse.
>
>
> Is there a workaround to get both terse and json (or json+)?
This should fix it:
http://git.kernel.dk/cgit/fio/commit/?id=6efb21c218d4ec38c1a4d7dbb86f2028f122acaa
Update to latest -git and test, let me know how it goes.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: output_format=terse,json core dumping
2016-02-09 20:20 ` Jens Axboe
@ 2016-02-09 20:30 ` Kurt_Dorsey
2016-02-09 20:46 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Kurt_Dorsey @ 2016-02-09 20:30 UTC (permalink / raw)
To: axboe, fio
[-- Attachment #1: Type: text/plain, Size: 3432 bytes --]
Dell - Internal Use - Confidential
Thank you Jens for the quick turn around on this!
This version works much better. The only thing is, it seems to be adding newline before the device field in terse (sdb) and does not newline after the terse and at the beginning of the json. Very minor for my work and I can work around it. I just wanted to let you know
fio --ioengine=libaio --buffered=0 --direct=1 --norandommap --name=test --filename=/dev/sdb --iodepth=32 --ba=4k --rw=randrw --rwmixwrite=65 --bs=8K --numjobs=1 --runtime=10 --ramp_time=0 --time_based --output-format=terse,json
3;fio-2.6-11-g6efb;test;0;0;2743024;274274;34284;10001;2;66;5.068155;2.081777;53;4259;680.945963;661.510225;1.000000%=104;5.000000%=135;10.000000%=159;20.000000%=195;30.000000%=227;40.000000%=262;50.000000%=330;60.000000%=494;70.000000%=812;80.000000%=1160;90.000000%=1928;95.000000%=2096;99.000000%=2288;99.500000%=2384;99.900000%=2768;99.950000%=2992;99.990000%=3504;0%=0;0%=0;0%=0;60;4264;686.156050;661.478202;267168;285200;99.936944%;274101.052632;4453.180205;5081192;508068;63508;10001;1;58;5.145164;2.105941;25;3766;127.001488;67.905687;1.000000%=38;5.000000%=47;10.000000%=56;20.000000%=73;30.000000%=90;40.000000%=108;50.000000%=125;60.000000%=143;70.000000%=159;80.000000%=175;90.000000%=195;95.000000%=211;99.000000%=258;99.500000%=282;99.900000%=338;99.950000%=374;99.990000%=3088;0%=0;0%=0;0%=0;36;3770;132.306972;67.892863;495424;529328;99.953467%;507831.578947;7758.193363;14.020000%;56.580000%;76256;0;34;0.1%;0.1%;0.1%;0.1%;0.1%;100.0%;0.0%;0.00%;0.00%;0.00%;0.00%;4.13%;19.17%;53.74%;8.98%;2.77%;3.12%;5.18%;2.91%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;sdb;339716;629126;0;0;216452;53142;269548;99.14%
;sdb;339716;629126;0;0;216452;53142;269548;99.14%{
"fio version" : "fio-2.6-11-g6efb",
"timestamp" : 1455049466,
"time" : "Tue Feb 9 14:24:26 2016",
Thank you!
-Kurt
-----Original Message-----
From: Jens Axboe [mailto:axboe@kernel.dk]
Sent: Tuesday, February 09, 2016 2:20 PM
To: Dorsey, Kurt ; fio@vger.kernel.org
Subject: Re: output_format=terse,json core dumping
On 02/09/2016 12:12 PM, Kurt Dorsey wrote:
> I am trying to get multiple output formats working with fio and I am
> getting a core dump
> fio: diskutil.c:710: show_disk_util: Assertion `parent' failed.
> Aborted (core dumped)
>
> I am utilizing format from
> commit a666cab8ed3d2a2fa782be345425a2e88734a007
> Author: Jens Axboe
> Date: Tue Oct 27 13:45:21 2015 +0900
>
> Enable the use of multiple output formats
>
> You can now do
>
> ./fio --output-format=normal,json jobfile.fio
>
> and get both types of output.
>
> Signed-off-by: Jens Axboe
>
>
> fio -v
> fio-2.6-10-g820b
>
>
>
> fio --ioengine=libaio --buffered=0 --direct=1 --norandommap
> --name=test --filename=/dev/sdb --iodepth=32 --ba=4k --rw=randrw
> --rwmixwrite=65 -- bs=8K --numjobs=1 --runtime=10 --ramp_time=0
> --time_based --output- format=terse,json
>
> I have also tried
> --format=normal,json and I get the same issue
>
>
> --output-format=normal,terse
> Works just fine but I really would like to have json output along with
> terse.
>
>
> Is there a workaround to get both terse and json (or json+)?
This should fix it:
http://git.kernel.dk/cgit/fio/commit/?id=6efb21c218d4ec38c1a4d7dbb86f2028f122acaa
Update to latest -git and test, let me know how it goes.
--
Jens Axboe
[-- Attachment #2: Type: text/html, Size: 6417 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: output_format=terse,json core dumping
2016-02-09 20:30 ` Kurt_Dorsey
@ 2016-02-09 20:46 ` Jens Axboe
0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2016-02-09 20:46 UTC (permalink / raw)
To: Kurt_Dorsey, fio
On 02/09/2016 01:30 PM, Kurt_Dorsey@Dell.com wrote:
> *Dell - Internal Use - Confidential *
>
> Thank you Jens for the quick turn around on this!
>
> This version works much better. The only thing is, it seems to be
> adding newline before the device field in terse (sdb) and does not
> newline after the terse and at the beginning of the json. Very minor
> for my work and I can work around it. I just wanted to let you know
http://git.kernel.dk/cgit/fio/commit/?id=03d189b7d77f66ce4f4dba9885d34c7a55ff4e53
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-02-09 20:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 19:12 output_format=terse,json core dumping Kurt Dorsey
2016-02-09 20:20 ` Jens Axboe
2016-02-09 20:30 ` Kurt_Dorsey
2016-02-09 20:46 ` Jens Axboe
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.