惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
T
Tailwind CSS Blog
D
Docker
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
腾讯CDC
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
U
Unit 42
The Cloudflare Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
爱范儿
爱范儿
Recent Announcements
Recent Announcements
博客园 - 聂微东
博客园 - 叶小钗
H
Help Net Security
MyScale Blog
MyScale Blog

博客园 - 山本二十八

【转】ext4+delalloc造成单次写延迟增加的分析 write 系统调用耗时长的原因 【转】通过blktrace, debugfs分析磁盘IO win7 wifi热点 【SystemTap】 Linux下安装使用SystemTap源码安装SystemTap pdflush进程介绍与优化【转】 How to find per-process I/O statistics on Linux oom_killer 磁盘性能统计 利用ftrace跟踪内核static tracepoint Tracing on Linux 【转】ftrace 简介 buffer与cache的区别 linux分区 局部标签(gcc对c的扩展) Valgrind查找内存泄露利器 取得进程信息 打印堆栈信息 shell调试技术
fio使用
山本二十八 · 2013-11-11 · via 博客园 - 山本二十八

关于lat(I/O completion latency)、clat(complete latency)、slat(summit latency):

lat is the total latency. slat is the time it takes to submit the
IO to the kernel, clat is the time from when slat is over and until the
device has completed it (and the application is notified). Hence lat is
slat + clat.

1、rw_sequencer

identical或者sequential

如rw=randread:8 这样每8次io就更改一次offset。那么这个rw_sequencer控制在这8次的io时的offset。

2、#!/usr/local/bin/fio  --debug=io

使用debug选项可以看到它的io的详细情况

3、rw=randread:51200

表示每51200次io重新取offset

4、file_service_type=random:51200

表示每51200次io重新随机取下一个文件