zoukankan      html  css  js  c++  java
  • Buildroot stress-ng Linux系统压力测试

    /**********************************************************************
     *            Buildroot stress-ng Linux系统压力测试
     * 说明:
     *     之前有使用lmbench对整板进行一些测试,如果相对某一部分专门进行测试,
     * 就可以参考使用stree-ng来进行处理。
     *
     *                                2018-6-25 深圳 宝安西乡 曾剑锋
     *********************************************************************/
    
    一、参考文档:
        1. Stress-ng
            http://kernel.ubuntu.com/~cking/stress-ng/
        2. stress-ng.pdf
            http://kernel.ubuntu.com/~cking/stress-ng/stress-ng.pdf
        3. stress-ng
            https://wiki.ubuntu.com/Kernel/Reference/stress-ng
    
    二、使用示例:
        [buildroot@root ~]#  stress-ng --cpu 0 --tz -t 60
        stress-ng: info:  [9331] dispatching hogs: 2 cpu
        stress-ng: info:  [9331] cache allocate: using built-in defaults as unable to determine cache details
        stress-ng: info:  [9331] cache allocate: default cache size: 2048K
        stress-ng: info:  [9331] successful run completed in 60.05s (1 min, 0.05 secs)
        stress-ng: info:  [9331] cpu:
        stress-ng: info:  [9331]     imx_thermal_zone   57.57 °C
        [buildroot@root ~]#  stress-ng --matrix 1 -t 1m
        stress-ng: info:  [9490] dispatching hogs: 1 matrix
        stress-ng: info:  [9490] cache allocate: using built-in defaults as unable to determine cache details
        stress-ng: info:  [9490] cache allocate: default cache size: 2048K
        stress-ng: info:  [9490] successful run completed in 60.00s (1 min, 0.00 secs)
  • 相关阅读:
    HTML <input> 标签
    HTML5 <input> type 属性
    静态页面与动态页面
    string::size_type 页73 size_t 页90
    template method(模板方法)
    C++中创建对象的时候加括号和不加括号的区别(转)
    _declspec(dllexport)和.def(转)
    智能指针
    C++中的delete加深认识
    工厂方法(整理自李建忠<C++设计模式>视频)
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/9224225.html
Copyright © 2011-2022 走看看