verify_fatal=boolNormallyfiowillkeepcheckingtheentirecontentsbeforequittingonablockverificationfailure.Ifthisoptionisset,fiowillexitthejobonthefirstobservedfailure.verify_dump=boolIfset,dumpthecontentsofboththeoriginaldatablockandthedatablockwereadoffdisktofiles.Thisallowslateranalysistoinspectjustwhatkindofdatacorruptionoccurred.Offbydefault.verify_async=intFiowillnormallyverifyIOinlinefromthesubmittingthread.ThisoptiontakesanintegerdescribinghowmanyasyncoffloadthreadstocreateforIOverificationinstead,causingfiotooffloadthedutyofverifyingIOcontentstooneormoreseparatethreads.Ifusingthisoffloadoption,evensyncIOenginescanbenefitfromusinganiodepthsettinghigherthan1,asitallowsthemtohaveIOinflightwhileverifiesarerunning.verify_async_cpus=strTellfiotosetthegivenCPUaffinityontheasyncIOverificationthreads.Seecpus_allowedfortheformatused.verify_backlog=intFiowillnormallyverifythewrittencontentsofajobthatutilizesverifyoncethatjobhascompleted.Inotherwords,everythingiswrittentheneverythingisreadbackandverified.Youmaywanttoverifycontinuallyinsteadforavarietyofreasons.FiostoresthemetadataassociatedwithanIOblockinmemory,soforlargeverifyworkloads,quiteabitofmemorywouldbeusedupholdingthismetadata.Ifthisoptionisenabled,fiowillwriteonlyNblocksbeforeverifyingtheseblocks.verify_backlog_batch=intControlhowmanyblocksfiowillverifyifverify_backlogisset.Ifnotset,willdefaulttothevalueofverify_backlog(meaningtheentirequeueisreadbackandverified).Ifverify_backlog_batchislessthanverify_backlogthennotallblockswillbeverified,ifverify_backlog_batchislargerthanverify_backlog,someblockswillbeverifiedmorethanonce.verify_state_save=boolWhenajobexitsduringthewritephaseofaverifyworkload,saveitscurrentstate.Thisallowsfiotoreplayupuntilthatpoint,iftheverifystateisloadedfortheverifyreadphase.Theformatofthefilenameis,roughly,<type>-<jobname>-<jobindex>-verify.state.<type>is"local"foralocalrun,"sock"foraclient/serversocketconnection,and"ip"(192.168.0.1,forinstance)foranetworkedclient/serverconnection.verify_state_load=boolIfaverifyterminationtriggerwasused,fiostoresthecurrentwritestateofeachthread.Thiscanbeusedatverificationtimesothatfioknowshowfaritshouldverify.Withoutthisinformation,fiowillrunafullverificationpass,accordingtothesettingsinthejobfileused.stonewallwait_for_previousWaitforprecedingjobsinthejobfiletoexit,beforestartingthisone.Canbeusedtoinsertserializationpointsinthejobfile.Astonewallalsoimpliesstartinganewreportinggroup.new_groupStartanewreportinggroup.See:group_reporting.numjobs=intCreatethespecifiednumberofclonesofthisjob.Maybeusedtosetupalargernumberofthreads/processesdoingthesamething.Eachthreadisreportedseparately;toseestatisticsforallclonesasawhole,usegroup_reportinginconjunctionwithnew_group.group_reportingItmaysometimesbeinterestingtodisplaystatisticsforgroupsofjobsasawholeinsteadofforeachindividualjob.Thisisespeciallytrueif'numjobs'isused;lookingatindividualthread/processoutputquicklybecomesunwieldy.Toseethefinalreportper-groupinsteadofper-job,use'group_reporting'.Jobsinafilewillbepartofthesamereportinggroup,unlessifseparatedbyastonewall,orbyusing'new_group'.threadfiodefaultstoforkingjobs,howeverifthisoptionisgiven,fiowillusepthread_create(3)tocreatethreadsinstead.zonesize=intDivideafileintozonesofthespecifiedsize.Seezoneskip.zoneskip=intSkipthespecifiednumberofbyteswhenzonesizedatahasbeenread.Thetwozoneoptionscanbeusedtoonlydoioonzonesofafile.write_iolog=strWritetheissuediopatternstothespecifiedfile.Seeread_iolog.Specifyaseparatefileforeachjob,otherwisetheiologswillbeinterspersedandthefilemaybecorrupt.read_iolog=strOpenaniologwiththespecifiedfilenameandreplaytheiopatternsitcontains.Thiscanbeusedtostoreaworkloadandreplayitsometimelater.Theiologgivenmayalsobeablktracebinaryfile,whichallowsfiotoreplayaworkloadcapturedbyblktrace.Seeblktraceforhowtocapturesuchloggingdata.Forblktracereplay,thefileneedstobeturnedintoablkparsebinarydatafilefirst(blkparse<device>-o/dev/null-dfile_for_fio.bin).
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。