리눅스 벤치마크 방법
linux ubuntu benchmark tool
AWS EC2 인스턴스 벤치마크
//-----------------------------------------------------------------------------
CPU 정보(갯수 확인)
$ cat /proc/cpuinfo | grep 'name'| uniq
- m7
model name : Intel(R) Xeon(R) Platinum 8488C
- t3
model name : Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
//-----------------------------------------------------------------------------
벤치마크
stress-ng 이용
- 설치
sudo apt-get install stress-ng
- CPU 수
cat /proc/cpuinfo | grep processor | wc -l
- 벤치마크 실행
sudo stress-ng --metrics-brief --cpu 2 -t 1m
//-------------------------------------
AWS EC2 - M7i.large
stress-ng: info: [912] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s
stress-ng: info: [912] (secs) (secs) (secs) (real time) (usr+sys time)
stress-ng: info: [912] cpu 131433 60.00 119.94 0.00 2190.52 1095.82
//-------------------------------------
AWS EC2 - t3.large
stress-ng: info: [962] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s
stress-ng: info: [962] (secs) (secs) (secs) (real time) (usr+sys time)
stress-ng: info: [962] cpu 90926 60.00 118.25 0.08 1515.35 768.41