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)

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM