首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >fio基础21

fio基础21

作者头像
franket
发布2022-04-24 00:28:18
发布2022-04-24 00:28:18
2910
举报
文章被收录于专栏:技术杂记技术杂记

Theallowedvaluesare:noneExitonanyIOorverifyerrors.readContinueonreaderrors,exitonallothers.writeContinueonwriteerrors,exitonallothers.ioContinueonanyIOerror,exitonallothers.verifyContinueonverifyerrors,exitonallothers.allContinueonallerrors.0Backward-compatiblealiasfor'none'.1Backward-compatiblealiasfor'all'.ignore_error=strSometimesyouwanttoignoresomeerrorsduringtestinthatcaseyoucanspecifyerrorlistforeacherrortype.ignore_error=READ_ERR_LIST,WRITE_ERR_LIST,VERIFY_ERR_LISTerrorsforgivenerrortypeisseparatedwith':'.Errormaybesymbol('ENOSPC','ENOMEM')orinteger.Example:ignore_error=EAGAIN,ENOSPC:122ThisoptionwillignoreEAGAINfromREAD,andENOSPCand122(EDQUOT)fromWRITE.error_dump=boolIfsetdumpeveryerrorevenifitisnonfatal,truebydefault.Ifdisabledonlyfatalerrorwillbedumpedcgroup=strAddjobtothiscontrolgroup.Ifitdoesn't exist, it will be created. The system must have a mounted cgroup blkio mount point for this to work. If your system doesn'thaveitmounted,youcandosowith:#mount-tcgroup-oblkionone/cgroupcgroup_weight=intSettheweightofthecgrouptothisvalue.Seethedocumentationthatcomeswiththekernel,allowedvaluesareintherangeof100..1000.cgroup_nodelete=boolNormallyfiowilldeletethecgroupsithascreatedafterthejobcompletion.Tooverridethisbehaviorandtoleavecgroupsaroundafterthejobcompletion,setcgroup_nodelete=1.Thiscanbeusefulifonewantstoinspectvariouscgroupfilesafterjobcompletion.Default:falseuid=intInsteadofrunningastheinvokinguser,settheuserIDtothisvaluebeforethethread/processdoesanywork.gid=intSetgroupID,seeuid.flow_id=intTheIDoftheflow.Ifnotspecified,itdefaultstobeingaglobalflow.Seeflow.flow=intWeightintoken-basedflowcontrol.Ifthisvalueisused,thenthereisa'flow counter'whichisusedtoregulatetheproportionofactivitybetweentwoormorejobs.fioattemptstokeepthisflowcounternearzero.The'flow'parameterstandsforhowmuchshouldbeaddedorsubtractedtotheflowcounteroneachiterationofthemainI/Oloop.Thatis,ifonejobhasflow=8andanotherjobhasflow=-1,thentherewillbearoughly1:8ratioinhowmuchonerunsvstheother.flow_watermark=intThemaximumvaluethattheabsolutevalueoftheflowcounterisallowedtoreachbeforethejobmustwaitforalowervalueofthecounter.flow_sleep=intTheperiodoftime,inmicroseconds,towaitaftertheflowwatermarkhasbeenexceededbeforeretryingoperationsInaddition,therearesomeparameterswhichareonlyvalidwhenaspecificioengineisinuse.Theseareusedidenticallytonormalparameters,withthecaveatthatwhenusedonthecommandline,theymustcomeaftertheioenginethatdefinesthemisselected.

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档