본문 바로가기

ESPRESSIF/ESP32-C6

[ESP32-C6 SSM] Dhrystone, Whetstone, IIR Benchmark 성능 테스트

 


MCU 성능 측정을 할수 있는 벤치마크 방법은 여러가지가 있지만 Dhrystone, Whetstone 방식을 많이 사용한다.

각각의 특징은 아래와 같다.

  • Dhrystone - 정수(ALU)연산성능 측정,  MIPS 수치로 표기
  • Whetstone - 부동소수점(FPU)연산성능 측정, MFLOPS 수치로 표기

테스트 코드는   STM32H MCU Dhrystone, Whetstone, IIR Benchmark 성능 테스트 를 이용하였다.

 

벤치마크 테스트 결과 부동소수점 연산이 많이 좋지 않은것 같다. ESP32-C3의 RISC-V 코어를 업그레이드 해서 제작 했다고 하는데 약간의 성능 개선은 있는것 같다.

 

ESP32시리즈의 벤치마크 테스트 결과 비교

  ESP32 ESP32S3 ESP32S2 ESP32C3 ESP32C6
Dhrystone [DMIPS] 137.26 197.5 177.17 165.51 176.26 
Whetstone [MIPS] 127.06 150.60 24.74 12.01 19.70
IIR SPEED [us] 3 3 62 181 82

 

 

ESP32C6 Dhrystone, Whetstone 벤치마크 테스트 결과

mode = ESP32
E (7156) task_wdt: esp_task_wdt_init(515): TWDT already initialized
Dhrystone Benchmark, Version 2.1 (Language: C)
Execution starts, 2000000 runs through Dhrystone

Execution ends : 6.458 Seconds
Microseconds for one run through Dhrystone: 3.23
Dhrystones per Second: 309685.44
VAX MIPS rating = 176.26 DMIPS
---------------------------------------------------


Whetstone Benchmark, Version 1.2 (Language: C)

Loops: 1000, Iterations: 1, Duration: 5077 ms.
C Converted Single Precision Whetstones: 19.70 MIPS

4th order float IIR speed benchmark
---------------------------------------------------
total number of samples: 15000  duration [us]: 82  ==> speed [kiloSamples/second] : 182.93

 

 

 

반응형