Recent Posts
Recent Comments
Link
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Archives
Today
Total
관리 메뉴

scottlang

Server Benchmark Phoronix 본문

BMT

Server Benchmark Phoronix

Scottlang 2020. 6. 17. 21:53
728x90

Phoronix-test-suite:

-          통합 Benchmark Tool, 여러 종류의 툴들을 모아 놓은 패키지로 서버의 전체적인 파트 부하 속도 테스트에 유용하다.

-          공식 웹사이트: http://www.phoronix-test-suite.com/

-          지원 가능한 확인: http://openbenchmarking.org/tests/pts

 

Stress:

-          System 자원을 임의 수치로 할당하여 Server 부하 테스트에 적합.

 

 

1. Installation ----------------------------------------------------------------------------

// 설치 필요한 git php-xml, php-cli 설치 //

root@] # yum install –y git

root@] # yum install –y php-xml

root@] # yum install –y php-cli

 

// github에서 phoronix git 다운로드 //

root@] # git clone https://github.com/phoronix-test-suite/phoronix-test-suite.git

 

// 설치 폴더로 이동 하여 install //

root@] # ./install-sh

 

// Test 가능 Tool확인, 본문 위의 웹페이지 혹은 아래 명령어로 확인 //

root@] # phoronix-test-suite list-available-tests

 

 

2-1. Benchmarking (DISK) ------------------------------------------------------------

// Disk I/O(iozone), 필요한 Depandancy Tool 설치, 실행 //

 

root@] # phoronix-test-suite install iozone

root@] # phoronix-test-suite benchmark iozone

Record Size: 4(Test All Options)

File Size: 2(2GB)

Disk Test: 3(Test All Options) / Read, Write

 

Save Result: Y

Enter a name to save these results under: test-bmt

Enter a unique name to describe this test run / configuration: test-bmt

New Description: test-bmt

위의 Name 들은 임의로 지정

 

Test 완료 아래와 같이 결과 값을 사용자들이 공유 있는 웹사이트로 전송할 것인지 확인

 

 

  

2-2. Benchmarking (CPU) -------------------------------------------------------------

// Processor Benchmarking 있는 c-ray 설치 실행 //

root@] # phoronix-test-suite install c-ray

 

root@] # phoronix-test-suite benchmark c-ray

 

결과 저장 Name 임의 지정

Benchmark 완료 아래와 같은 결과 출력

 

 3. Result -----------------------------------------------------------------------------------

// 결과 값의 경로는 /root/.phoronix-test-suite/test-results //

 // 결과 Convert //

Test 폴더 속의 index.html 확인 하거나 아래의 Convert 과정을 통해 간단하게 있음

Graph 필요 result-graphs 폴더에 결과 값들에 대한 Graph 존재

 

root@] # phoronix-test-suite result-file-to-csv test-bmt > iozone.csv

 

4. Stress Test -----------------------------------------------------------------------------

// System Hardware 부하 테스트 //

EPEL Realse Update

root@] # yum install epel-release

Stress Tool Installation

root@] # yum install stress

 Stress Tool 기본 옵션

 

// 부하 Test 예, 2 Core, 1024 Memory //

root@] # stress –c 2 –i 4 –vm2 –vm-bytes 1024m –timeout 60s

stress tool 돌리는 순간 시스템 자원의 변동 확인 가능

Core 자원을 Full 돌렸을 , 어느 시점까지 서버가 다운되지 않는지 확인 가능

-c = cpu 코어

-I = io

-vm = v memory

-vm-bytes = v memory 사이즈

-timeout = timeout 시간

 

자세한 설명은 info stress 명령어로 확인 가능

root@] # info stress

'BMT' 카테고리의 다른 글

NVMe I/O TEST  (0) 2021.05.17
iozone  (0) 2020.06.17
NVMe  (0) 2020.06.17
Server GPU Thermal 정책  (0) 2020.06.17
DELL C4140 GPU 부하 ESSA  (0) 2020.06.17
Comments