/**********************************************************************
* Linux内存压力测试stressapptest
* 说明:
* 在找Linux Benchmark软件,Tony提示可以考虑一下stressapptest,于是
* 试用一下。
*
* 2018-6-21 深圳 宝安西乡 曾剑锋
*********************************************************************/
一、Source Code:
https://github.com/stressapptest/stressapptest
二、执行命令:
1. stressapptest -s 20 -M 256 -m 8 -W
2. stressapptest -s 20 -M 256 -m 8 -C 8 -W
三、输出信息:
Log: Commandline - stressapptest -s 20 -M 256 -m 8 -W
Stats: SAT revision 1.0.6_autoconf, 64 bit binary
Log: buildd @ kapok on Wed Jan 21 17:09:35 UTC 2015 from open source release
Log: 1 nodes, 1 cpus.
Log: Prefer plain malloc memory allocation.
Log: Using memaligned allocation at 0x7fe206596000.
Stats: Starting SAT, 256M, 20 seconds
Log: Region mask: 0x1
Log: Seconds remaining: 10
Stats: Found 0 hardware incidents
Stats: Completed: 70956.00M in 20.01s 3546.78MB/s, with 0 hardware incidents, 0 errors
Stats: Memory Copy: 70956.00M at 3548.54MB/s
Stats: File Copy: 0.00M at 0.00MB/s
Stats: Net Copy: 0.00M at 0.00MB/s
Stats: Data Check: 0.00M at 0.00MB/s
Stats: Invert Data: 0.00M at 0.00MB/s
Stats: Disk: 0.00M at 0.00MB/s
Status: PASS - please verify no corrected errors