From 165b39344e36f826da1a2762355b726801362ec8 Mon Sep 17 00:00:00 2001 From: Benoit S Date: Sat, 17 Apr 2021 23:23:19 +0900 Subject: [PATCH] Update CPU Benchmark --- docs/Various/CPUBenchmark.md | 83 +++++++++++------------------------- docs/javascripts/tables.js | 7 +++ mkdocs.yml | 4 ++ 3 files changed, 35 insertions(+), 59 deletions(-) create mode 100644 docs/javascripts/tables.js diff --git a/docs/Various/CPUBenchmark.md b/docs/Various/CPUBenchmark.md index deacc48..e4bd7ba 100644 --- a/docs/Various/CPUBenchmark.md +++ b/docs/Various/CPUBenchmark.md @@ -1,68 +1,33 @@ -*Updated whenever I can.* +*Updated whenever I can.* + +> **Note:** It seems that HandBrake don't scale well with more that 32 threads. + Encoding a 2h video (live concert from Japanese TV, MPEG-2, dark scene with grain) at 1280x720 resolution. ```console -$ HandBrakeCLI -i in.ts -o out.mp4 -f av_mp4 -O -e x264 --encoder-preset slow --encoder-tune grain --encoder-profile high --encoder-level auto -q 20 --vfr -E copy:aac -w 1280 -l 720 --decomb --detelecine --crop 0:0:0:0 +$ HandBrakeCLI -i in.ts -o out.mp4 -f av_mp4 -O -e x264 --encoder-preset slow --encoder-tune grain --encoder-profile high --encoder-level auto -q 20 --vfr -E copy:aac -w 1280 -l 720 --decomb --detelecine --crop 0:0:0:0 ``` -- Scaleway bare-metal 8 CPU C2L: - - 12.072023 fps - - Intel(R) Atom(TM) CPU C2750 @ 2.40GHz - - €0.048 hourly +> **Note:** You can sort columns by clicking on them. -- Hetzner dedicated 8 vCPU: - - 28.270920 fps - - Intel Xeon Processor (Skylake, IBRS) @ 2.10GHz - - €0.144 hourly +| Instance | FPS | CPU used by hypervisor | Price hourly | Cost by performance, less is better | +|--------------------------------|-----------|--------------------------------------------|--------------|-------------------------------------| +| Scaleway 8 vCPU GP1-S | 30.584057 | AMD EPYC 7401P 24-Core Processor @ 2.00GHz | 0.17€ | 0.00555845158148900912 | +| Hetzner CCX32 8 dedicated vCPU | 31.949247 | AMD EPYC 3rd Gen @ 2.40GHz | 0.120€ | 0.00375595706527919108 | +| Hetzner CPX41 8 vCPU | 36.369133 | AMD EPYC 2nd Gen @ 2.40GHz | 0.038€ | 0.00104484206428566773 | +| Vultr bare-metal 8 CPU | 36.676926 | Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz | 0.179$ | 0.00488045263117197989 | +| Scaleway 16 vCPU GP1-M | 43.332794 | AMD EPYC 7401P 24-Core Processor @ 2.00GHz | 0.34€ | 0.00784625150180715326 | +| Hetzner CPX51 16 vCPU | 55.919209 | AMD EPYC 2nd Gen @ 2.40GHz | 0.080€ | 0.00143063540115526312 | +| GCP 24 vCPU | 57.956608 | Intel(R) Xeon(R) CPU @ 2.60GHz | 0.688$ | 0.01187095007354467673 | +| GCP 32 vCPU | 63.491947 | Intel(R) Xeon(R) CPU @ 2.00GHz | 0.874$ | 0.01376552525629746399 | +| Vultr 24 vCPU | 64.176575 | Virtual CPU a7769a6388d5 @ 2.40GHz | 0.952$ | 0.01483407302430832433 | +| GCP 96 vCPU | 69.550346 | Intel(R) Xeon(R) CPU @ 2.00GHz | 2.621$ | 0.03768493114326131461 | +| Scaleway 32 vCPU GP1-L | 85.874176 | AMD EPYC 7402P 24-Core Processor @ 2.80GHz | 0.66€ | 0.00768566326621870584 | -- Scaleway 8vCPU GP1-S: - - 30.584057 fps - - AMD EPYC 7401P 24-Core Processor @ 2.00GHz - - €0.158 hourly +Not sold anymore: -- Hetzner CPX41 8 vCPU (AMD EPYC 2nd Gen processors): - - 36.369133 fps - - AMD EPYC @ 2.40GHz - - €0.038 hourly +| Instance | FPS | CPU used by hypervisor | Price hourly | +|-------------------------------|-----------|------------------------------------------------|--------------| +| Scaleway bare-metal 8 CPU C2L | 12.072023 | Intel(R) Atom(TM) CPU C2750 @ 2.40GHz | 0.048€ | +| Hetzner dedicated 8 vCPU | 28.270920 | Intel Xeon Processor (Skylake, IBRS) @ 2.10GHz | 0.144€ | -- Vultr bare-metal 8 CPU: - - 36.676926 fps - - Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz - - $0.179 hourly - -- Scaleway 16vCPU GP1-M: - - 43.332794 fps - - AMD EPYC 7401P 24-Core Processor @ 2.00GHz - - €0.318 hourly - -- Hetzner CPX51 16 vCPU (AMD EPYC 2nd Gen processors): - - 55.919209 fps - - AMD EPYC @ 2.40GHz - - €0.080 hourly - -- GCP 24 vCPU: - - 57.956608 fps - - Intel(R) Xeon(R) CPU @ 2.60GHz - - $0.688 hourly - -- GCP 28 vCPU: - - 63.077595 fps - - Intel(R) Xeon(R) CPU @ 2.60GHz - - $0.802 hourly - -- GCP 32 vCPU: - - 63.491947 fps - - Intel(R) Xeon(R) CPU @ 2.00GHz - - $0.874 hourly - -- Vultr 24 vCPU: - - 64.176575 fps - - Virtual CPU a7769a6388d5 @ 2.40GHz - - $0.952 hourly - -- GCP 96 vCPU: - - 69.550346 fps - - Intel(R) Xeon(R) CPU @ 2.00GHz - - $2.621 hourly - -*Note: HandBrake don't scale well with more that 32 threads.* diff --git a/docs/javascripts/tables.js b/docs/javascripts/tables.js new file mode 100644 index 0000000..b8041ce --- /dev/null +++ b/docs/javascripts/tables.js @@ -0,0 +1,7 @@ +document$.subscribe(function() { + var tables = document.querySelectorAll("article table") + tables.forEach(function(table) { + new Tablesort(table) + }) +}) + diff --git a/mkdocs.yml b/mkdocs.yml index ec5eb19..bfbd412 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -22,6 +22,10 @@ theme: extra_css: - stylesheets/extra.css +extra_javascript: + - https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js + - javascripts/tables.js + markdown_extensions: - toc: permalink: true