Skip to content

Instantly share code, notes, and snippets.

@akahana-1
Last active January 10, 2021 16:53
Show Gist options
  • Save akahana-1/d07705bd93b7812fdb8f2562f68af30f to your computer and use it in GitHub Desktop.
Save akahana-1/d07705bd93b7812fdb8f2562f68af30f to your computer and use it in GitHub Desktop.
fio benchmark w/ pm963
$ smartctl -a /dev/nvme0n1
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-59-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: SAMSUNG MZQLW1T9HMJP-00003
....
$ mkfs.btrfs /dev/nvme0n1p1
$ mount -t btrfs -o defaults,ssd /dev/nvme0n1p1 /mnt
$ TARGET=/mnt fio -f fio-bench-2g.txt --output-format=terse | tee fio-result-no-compress.txt | awk -F ';' '{print $3, ($7+$48) / 1000}'
Seq-Read 916.186
Seq-Write 1048.05
Rand-Read-512K 812.849
Rand-Write-512K 1032.57
Rand-Read-4K 37.511
Rand-Write-4K 98.978
Rand-Read-4K-QD32 660.312
Rand-Write-4K-QD32 216.023
[global]
ioengine=libaio
iodepth=1
size=2g
direct=1
runtime=60
directory=${TARGET}
stonewall
[Seq-Read]
bs=1m
rw=read
[Seq-Write]
bs=1m
rw=write
[Rand-Read-512K]
bs=512k
rw=randread
[Rand-Write-512K]
bs=512k
rw=randwrite
[Rand-Read-4K]
bs=4k
rw=randread
[Rand-Write-4K]
bs=4k
rw=randwrite
[Rand-Read-4K-QD32]
iodepth=32
bs=4k
rw=randread
[Rand-Write-4K-QD32]
iodepth=32
bs=4k
rw=randwrite
3;fio-3.16;Seq-Read;0;0;2097152;916186;894;2289;115;1019;212.031634;26.169965;753;1879;900.250229;66.831668;1.000000%=790;5.000000%=815;10.000000%=823;20.000000%=847;30.000000%=864;40.000000%=880;50.000000%=897;60.000000%=913;70.000000%=921;80.000000%=937;90.000000%=987;95.000000%=1011;99.000000%=1089;99.500000%=1122;99.900000%=1318;99.950000%=1433;99.990000%=1875;0%=0;0%=0;0%=0;943;2358;1112.868037;79.528813;759797;894270;87.907450%;805395.750000;61394.593809;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;0.524476%;20.847902%;2095;0;267;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;92.92%;7.08%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
3;fio-3.16;Seq-Write;1;0;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2097152;1048051;1023;2001;95;1704;384.898838;107.299557;417;6060;587.093609;220.642031;1.000000%=448;5.000000%=481;10.000000%=497;20.000000%=514;30.000000%=528;40.000000%=536;50.000000%=544;60.000000%=552;70.000000%=569;80.000000%=593;90.000000%=659;95.000000%=790;99.000000%=1499;99.500000%=1957;99.900000%=2899;99.950000%=2965;99.990000%=6062;0%=0;0%=0;0%=0;615;6493;972.709134;241.478822;699385;1072761;78.607212%;823843.666667;215568.734109;2.750000%;38.200000%;2409;0;13;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;11.08%;82.91%;3.81%;1.76%;0.39%;0.05%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
3;fio-3.16;Rand-Read-512K;2;0;2097152;812849;1587;2580;77;775;108.744565;28.634896;411;887;517.249720;72.043201;1.000000%=432;5.000000%=436;10.000000%=444;20.000000%=468;30.000000%=489;40.000000%=493;50.000000%=501;60.000000%=509;70.000000%=528;80.000000%=536;90.000000%=602;95.000000%=692;99.000000%=806;99.500000%=831;99.900000%=847;99.950000%=864;99.990000%=888;0%=0;0%=0;0%=0;506;1447;626.409245;88.490347;587935;821004;80.196199%;651874.000000;112907.954644;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;0.387747%;20.201629%;4123;0;137;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;48.73%;49.73%;1.54%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
3;fio-3.16;Rand-Write-512K;3;0;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2097152;1032571;2016;2031;52;552;196.815519;63.741783;219;5139;294.767060;143.992335;1.000000%=230;5.000000%=238;10.000000%=246;20.000000%=257;30.000000%=264;40.000000%=272;50.000000%=276;60.000000%=284;70.000000%=288;80.000000%=301;90.000000%=321;95.000000%=370;99.000000%=618;99.500000%=1036;99.900000%=2113;99.950000%=3391;99.990000%=5144;0%=0;0%=0;0%=0;292;5278;492.185378;156.631450;980842;1026942;96.817822%;999712.750000;20010.253928;3.201970%;38.768473%;4601;0;9;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;12.72%;85.33%;1.29%;0.15%;0.37%;0.12%;0.02%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
3;fio-3.16;Rand-Read-4K;4;0;2097152;37511;9377;55907;3;186;10.014609;8.312742;44;2770;95.057621;24.118532;1.000000%=71;5.000000%=79;10.000000%=80;20.000000%=81;30.000000%=81;40.000000%=82;50.000000%=83;60.000000%=96;70.000000%=97;80.000000%=99;90.000000%=123;95.000000%=142;99.000000%=177;99.500000%=195;99.900000%=280;99.950000%=374;99.990000%=485;0%=0;0%=0;0%=0;70;2802;105.272455;29.310756;23523;38705;70.272096%;26359.765766;1429.350202;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2.924552%;12.986084%;524693;0;10;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.01%;79.95%;19.86%;0.18%;0.01%;0.01%;0.01%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
3;fio-3.16;Rand-Write-4K;5;0;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2097152;98978;24744;21188;5;494;17.122549;8.712681;0;1655;22.046981;5.560135;1.000000%=17;5.000000%=19;10.000000%=19;20.000000%=20;30.000000%=20;40.000000%=21;50.000000%=21;60.000000%=22;70.000000%=22;80.000000%=23;90.000000%=24;95.000000%=25;99.000000%=32;99.500000%=39;99.900000%=78;99.950000%=99;99.990000%=154;0%=0;0%=0;0%=0;19;1668;39.323603;11.594746;62479;96444;67.651077%;66959.682927;5194.464349;5.300420%;45.084250%;611436;0;10;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.01%;0.01%;0.01%;17.90%;81.80%;0.24%;0.04%;0.01%;0.01%;0.00%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
3;fio-3.16;Rand-Read-4K-QD32;6;0;2097152;660312;165078;3176;2;184;4.985517;3.717211;108;1100;188.122136;44.365516;1.000000%=136;5.000000%=144;10.000000%=148;20.000000%=156;30.000000%=162;40.000000%=171;50.000000%=179;60.000000%=187;70.000000%=195;80.000000%=207;90.000000%=234;95.000000%=268;99.000000%=366;99.500000%=403;99.900000%=485;99.950000%=528;99.990000%=700;0%=0;0%=0;0%=0;111;1295;193.215364;45.212327;562642;656412;90.799804%;599562.000000;30824.892091;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;17.322835%;82.519685%;316;0;40;0.1%;0.1%;0.1%;0.1%;0.1%;100.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;92.90%;7.03%;0.06%;0.01%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
3;fio-3.16;Rand-Write-4K-QD32;7;0;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2097152;216023;54005;9708;5;533;17.120189;11.979631;25;4241;574.369324;191.990008;1.000000%=374;5.000000%=395;10.000000%=411;20.000000%=436;30.000000%=456;40.000000%=489;50.000000%=522;60.000000%=561;70.000000%=618;80.000000%=684;90.000000%=790;95.000000%=880;99.000000%=1515;99.500000%=1581;99.900000%=2039;99.950000%=2244;99.990000%=2736;0%=0;0%=0;0%=0;42;4301;591.628178;196.822883;181712;252600;99.760917%;215506.526316;19435.847943;7.623365%;85.525909%;134366;0;9;0.1%;0.1%;0.1%;0.1%;0.1%;100.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.01%;0.01%;0.01%;43.50%;43.34%;10.75%;2.29%;0.11%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment