/********************************************************************** * 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