zoukankan      html  css  js  c++  java
  • 磁盘性能测试工具 bonnie++

    bonnie++

    官方站点

    测试前需要先写内存的两倍,否则数据会走内存导致无法测试真实的磁盘性能,内存较大时比较耗时。

    # bonnie++ -u root
                                   写测试                       读测试
    Version  1.97         ------Sequential Output------ --Sequential Input- --Random-
                            字符       块         重写      字符        块       寻道
    Concurrency 1 速度 CPU -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
    Machine        Size   K/sec %CP K/sec %CP K/sec %CP K/sec %CP  K/sec %CP  /sec %CP
    iZuf672vfhn1dnwb 2G   646   97  108145 9  100399 9  1810   98  115825  4  2491  22
    Latency               18090us    1134ms     182ms    9377us     262ms   78125us
    Version  1.97         ------Sequential Create------ --------Random Create--------
    iZuf672vfhn1dnwbvnw   -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
                  files    /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                     16   +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
    Latency                 771us     388us     467us     555us     240us     560us
    
    • Sequential Output 部分表示写文件的相关信息
    • Sequential Input 部分表示读文件的相关信息
    • Per Chr 表示以字符为单位读写文件
    • Block 表示以block为单位读写文件
    • Rewrite 表示修改并重写已经存在的文件的每一个block
    • K/sec 表示每秒读或写文件的速率,以K为单位
    • %CP 表示在某阶段执行操作时平均消耗的CPU
  • 相关阅读:
    获得目标服务器中所有数据库名、表名、列名
    SQL Server 2008 安装SQLDMO.dll
    三层交换原理
    NAT地址转换原理全攻略
    C#中显/隐式实现接口及其访问方法
    As,is含义?using 语句
    c#泛型约束
    C#几个经常犯错误汇总
    C#--深入分析委托与事件
    markdown基础
  • 原文地址:https://www.cnblogs.com/hiyang/p/13524975.html
Copyright © 2011-2022 走看看