Linux下文件系统的性能测试工具iozone

117 篇文章 0 订阅
93 篇文章 1 订阅
转自: How to measure I/O Performance on Linux (文档 ID 1931009.1)

IOzone can be used to test any file-system type like: EXT3/4, LVM, XFS, BTRFS, NFS, SAMBA etc. 
etc - so then we pick-up best one which will suit best app/db needs.
Also if more threads are being used with flag -l the more higher queue depth will become.


NOTE:

Please remember that -F can be used to specify different mount-points 
so if we need to test for example two LVM mount-points in the same time 
then simple please provide different paths for each test file like /u01/test1.tmp and /u02/test2.tmp.
The more files will be added for testing purpose the more load CPU will need to take, same also go for file-size.
If only one test is required for example write test use -u flag example: -u 0 will test only write/rewrite.
IOzone has many flags which can be used to test synchronous/asynchronous random/sequential I/O access, please use them to test variety of scenarios.
Always try to match sector size eg. -r flag with App/DB/LVM block size  to achieve best performance results.
IOzone can be used to bypass system memory cache by using flag -I ( so it will use DirectI/O ) 
or don't use it to include Memory Cache mechanism

Please pay maximum attention while running IOzone tests as they can cause high CPU or I/O activity, 
also keep in mind File-System space ( do not exceed file-system size with test files)


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值