前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >fio基础14

fio基础14

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

rate_iops_min=int If fio doesn'tmeetthisrateofIO,itwillcausethejobtoexit.Thesameformatasrateisusedforreadvswriteseparation.rate_process=strThisoptioncontrolshowfiomanagesratedIOsubmissions.Thedefaultis'linear',whichsubmitsIOinalinearfashionwithfixeddelaysbetweenIOsthatgetsadjustedbasedonIOcompletionrates.Ifthisissetto'poisson',fiowillsubmitIObasedonamorerealworldrandomrequestflow,knownasthePoissonprocess(https://en.wikipedia.org/wiki/Poisson_process).Thelambdawillbe10^6/IOPSforthegivenworkload.latency_target=intIfset,fiowillattempttofindthemaxperformancepointthatthegivenworkloadwillrunatwhilemaintainingalatencybelowthistarget.Thevaluesisgiveninmicroseconds.Seelatency_windowandlatency_percentilelatency_window=intUsedwithlatency_targettospecifythesamplewindowthatthejobisrunatvaryingqueuedepthstotesttheperformance.Thevalueisgiveninmicroseconds.latency_percentile=floatThepercentageofIOsthatmustfallwithinthecriteriaspecifiedbylatency_targetandlatency_window.Ifnotset,thisdefaultsto100.0,meaningthatallIOsmustbeequalorbelowtothevaluesetbylatency_target.max_latency=intIfset,fiowillexitthejobifitexceedsthismaximumlatency.ItwillexitwithanETIMEerror.rate_cycle=intAveragebandwidthfor'rate'and'rate_min'overthisnumberofmilliseconds.cpumask=intSettheCPUaffinityofthisjob.TheparametergivenisabitmaskofallowedCPU's the job may run on. So if you want the allowed CPUs to be 1 and 5, you would pass the decimal value of (1 << 1 | 1 << 5), or 34. See man sched_setaffinity(2). This may not work on all supported operating systems or kernel versions. This option doesn'tworkwellforahigherCPUcountthanwhatyoucanstoreinanintegermask,soitcanonlycontrolcpus1-32.ForboxeswithlargerCPUcounts,usecpus_allowed.cpus_allowed=strControlsthesameoptionsascpumask,butitallowsatextsettingofthepermittedCPUsinstead.SotouseCPUs1and5,youwouldspecifycpus_allowed=1,5.ThisoptionsalsoallowsarangeofCPUs.SayyouwantedabindingtoCPUs1,5,and8-15,youwouldsetcpus_allowed=1,5,8-15.cpus_allowed_policy=strSetthepolicyofhowfiodistributestheCPUsspecifiedbycpus_allowedorcpumask.Twopoliciesaresupported:sharedAlljobswillsharetheCPUsetspecified.splitEachjobwillgetauniqueCPUfromtheCPUset.'shared'isthedefaultbehaviour,iftheoptionisn't specified. If split is specified, then fio will will assign one cpu per job. If not enough CPUs are given for the jobs listed, then fio will roundrobin the CPUs in the set. numa_cpu_nodes=str Set this job running on spcified NUMA nodes'CPUs.Theargumentsallowcommadelimitedlistofcpunumbers,A-Branges,or'all'.Note,toenablenumaoptionssupport,fiomustbebuiltonasystemwithlibnuma-dev(el)installed.numa_mem_policy=strSetthisjob's memory policy and corresponding NUMA nodes. Format of the argements: <mode>[:<nodelist>] `mode'isoneofthefollowingmemorypolicy:default,prefer,bind,interleave,localFor`default' and `local'memorypolicy,nonodeisneededtobespecified.For`prefer', only one node is allowed. For`bind'and`interleave', it allow comma delimited list of numbers, A-B ranges, or 'all'. startdelay=time Start this job the specified number of seconds after fio has started. Only useful if the job file contains several jobs, and you want to delay starting some jobs to a certain time. runtime=time Tell fio to terminate processing after the specified number of seconds. It can be quite hard to determine for how long a specified job will run, so this parameter is handy to cap the total runtime to a given time. time_based If set, fio will run for the duration of the runtime specified even if the file(s) are completely read or written. It will simply loop over the same workload as many times as the runtime allows. ramp_time=time If set, fio will run the specified workload for this amount of time before logging any performance numbers. Useful for letting performance settle before logging results, thus minimizing the runtime required for stable results. Note that the ramp_time is considered lead in time for a job, thus it will increase the total runtime if a special timeout or runtime is specified. invalidate=bool Invalidate the buffer/page cache parts for this file prior to starting io. Defaults to true. sync=bool Use sync io for buffered writes. For the majority of the io engines, this means using O_SYNC.

本文系转载,前往查看

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

本文系转载前往查看

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

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
日志服务
日志服务(Cloud Log Service,CLS)是腾讯云提供的一站式日志服务平台,提供了从日志采集、日志存储到日志检索,图表分析、监控告警、日志投递等多项服务,协助用户通过日志来解决业务运维、服务监控、日志审计等场景问题。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档