리눅스 벤치마크

Code/Web 2020. 6. 22. 21:17

리눅스 벤치마크

  • sysbench 설치

    sudo apt install sysbench

  • sysbench 매뉴얼
    https://manpages.debian.org/testing/sysbench/sysbench.1.en.html

      fileio - File I/O test
      cpu - CPU performance test
      memory - Memory functions speed test
      threads - Threads subsystem performance test
      mutex - Mutex performance test
  • CPU 벤치마크

    sysbench cpu run

  • 램 벤치마크

    sysbench memory run

  • 디스크 벤치마크
    https://linuxconfig.org/how-to-benchmark-your-linux-system

    sysbench fileio --file-total-size=4G prepare
    sysbench fileio --file-total-size=4G --file-test-mode=rndrw --max-time=300 --max-requests=0 run
    sysbench fileio --file-total-size=4G cleanup 

//--------------------------------------

  • 하드웨어 정보

sudo lshw

  • hardinfo : 터미널에서 그래픽으로 정보 제공

    sudo apt install hardinfo

  • 콘솔모드에서 벤치마크 결과만 출력

    sudo hardinfo -r

//--------------------------------------------------------------------------------------
AWS EC2 benchmark 테스트 결과
ubuntu
- 결과 총평 : 속도차이 별로 없음

< t3.micro >
CPU speed:
    events per second:  1005.72

RAM
Total operations: 49967054 (4995833.94 per second)
48795.95 MiB transferred (4878.74 MiB/sec)

HardInfo Benchmark
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz|1 physical processor; 1 core; 2 threads|2x 2500.00 MHz
[CPU Blowfish] 5.277221; 
[CPU CryptoHash] 244.054496; 1.278403; 
[CPU Fibonacci] 0.553786; 
[CPU N-Queens] 2.415485;
[CPU Zlib] 0.405076; 9.627825; 
[FPU FFT] 2.863078; 
[FPU Raytracing] 2.183568; 


//-----------------
< t3.medium >
CPU speed:
    events per second:  1118.07

RAM
Total operations: 43461834 (4345487.08 per second)
42443.20 MiB transferred (4243.64 MiB/sec)


//-----------------
< t3.large >
CPU speed:
    events per second:  1090.23

RAM
Total operations: 41252990 (4124577.06 per second)
40286.12 MiB transferred (4027.91 MiB/sec)

HardInfo Benchmark
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz|1 physical processor; 1 core; 2 threads|2x 2500.00 MHz
[CPU Blowfish] 5.191465; 
[CPU CryptoHash] 248.444040; 1.255816; 
[CPU Fibonacci] 0.553037; 
[CPU N-Queens] 2.521556; 
[CPU Zlib] 0.312573; 12.477102; 
[FPU FFT] 2.872885; 
[FPU Raytracing] 2.224996; 


//-----------------
< m5.large >

CPU speed:
    events per second:  1105.52

RAM
Total operations: 43021229 (4301410.53 per second)
42012.92 MiB transferred (4200.60 MiB/sec)

HardInfo Benchmark
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz|1 physical processor; 1 core; 2 threads|1x 3102.62 MHz
[CPU Blowfish] 5.197829; 
[CPU CryptoHash] 235.851196; 1.322868; 
[CPU Fibonacci] 0.554326; 
[CPU N-Queens] 2.522134; 2.522134; 
[CPU Zlib] 0.314235; 12.411104; 
[FPU FFT] 2.897718;
[FPU Raytracing] 2.241793; 
``
반응형
Posted by codens