【Raspberry Pi】ベンチマーク 64bit/32bitで差はある?
64bitにしたり、電源に気を使ったり、オーバークロックしたり、と、少しでもラズパイ操作を快適にしようと、いろいろやってきましたが、数値化できてなかったです。今回はベンチマークを動かしてみたので、その結果を公開。
ベンチマークのインストール~実行
まずは、ベンチマーク実行手順の紹介。以下のとおり、git で、unixbench をクローンして、実行します。結果でるまでに、小一時間はかかりますので、実行時は暇なときにどうぞ。
$ sudo apt install git
$ git clone https://github.com/kdlucas/byte-unixbench
$ cd byte-unixbench/UnixBench
$ ./Run
ラズパイの状態
以下の3台で実行しました。本体は全て、RaspberryPi4-8GB。2.2Ghzぐらいまで、オーバークロック設定はしてあります。ArgonOneケースはしっかり冷えるし、電圧高めのArgonOne電源使ってるのもあり、普通よりは早いと思いますが、64bit版ででも、結構早くなっているみたいです。
ケース |
OS |
起動ドライブ |
---|---|---|
ArgonOne |
RaspberryPiOS buster:32bit | SSD 1TB |
ArgonOne |
RaspberryPiOS buster:64bit | SSD 500GB |
ファン付プラケース |
RaspberryPiOS bullseye:64bit | SD 32GB |
高い冷却性能のおススメケースと、高めの電圧に設定された電源はこちらです。日本とUSアマゾン、両方貼っときます。
Amazon US で買う
Argon ONE M.2 Aluminum Case for Raspberry Pi 4 with SATA SSD Support | Power Button and Fan | Compatible B-Key and B+M Key
dummy
Amazon 日本 で買う
Argon ONE M.2 アルミケース Raspberry Pi 4用 電源ボタンとファン付き | SATA SSD対応 | B-Key B+Mキー対応
dummy
Amazon US で買う
Argon Micro USB Cable Power Supply 5.25 Volts 3 Amps for Raspberry Pi 3 and Zero Boards | UL Listed | 3.3 Feet Long Cable with Micro USB Connector | Micro USB Cable and Wall Charger
dummy
Amazon 日本 で買う
Argon NEOケース USB Type-C電源付き Raspberry Pi 4用 | 冷却ファン、カメラ、LCDディスプレイに対応 | GPIOとPoEピンにアクセス可能
dummy
電源見直しして、オーバークロックして、64bit対応した過去記事はこちらです。
たのじぃの書き捨てノート
【Raspberry Pi】モッサリの原因は電圧かも!? 電源を極めろ!
ラズパイの電源選びは超重要!おすすめのラズパイ用電源をデータとともに紹介します。USB-Cが同一でも充電器の5Vでは大電流時に電圧低下が酷くてパフォーマンスが大幅に悪化します。ラズパイ用の5.1Vや5.25Vと電圧高めに設定した電源を選び、配線経路に気をくばろう。ラズパイ初心者でも、できること。
dummy
たのじぃの書き捨てノート
【Raspberry Pi】オーバークロック限界に挑む!
ラズパイ初心者でも、できること。ラズパイ(Raspberry
Pi)のオーバークロック限界に挑戦しました。ちまたには、Config.txt
書き換える記事ばかりだったので、ちょっと突っ込んだやり方にトライしました。
dummy
たのじぃの書き捨てノート
【Raspberry Pi】Raspberry pi OS 64bit 版 に移行!
ラズパイ(Raspberry Pi)にRaspberry Pi OS
64bit版を入れてみました。ラズパイ初心者でも、できること。
dummy
ベンチマーク結果
ベンチマークのまとめ
零号機 |
初号機 |
弐号機 |
|
---|---|---|---|
ケース | ファン付きプラケース | ArgonOne | ArgonOne |
OS | RaspberryPiOS bullseye:64bit | RaspberryPiOS buster:64bit | RaspberryPiOS buster:32bit |
起動ディスク | SD 32GB | SSD 500GB | SSD 1TB |
1Core | 447.9 | 461.5 | 370.0 |
4Core | 1063.4 | 1197.4 | 1009.6 |
零号機:RaspberryPiOS bullseye 64bit版:ファン付きケース
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: raspberrypi: GNU/Linux
OS: GNU/Linux -- 5.10.63-v8+ -- #1459 SMP PREEMPT Wed Oct 6 16:42:49 BST 2021
Machine: aarch64 (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
10:20:29 up 1 min, 2 users, load average: 1.16, 0.51, 0.19; runlevel 2021-11-19
------------------------------------------------------------------------
Benchmark Run: 金 11月 19 2021 10:20:29 - 10:48:46
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 21865096.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3584.6 MWIPS (9.9 s, 7 samples)
Execl Throughput 2077.4 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 162446.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 50066.4 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 402883.2 KBps (30.0 s, 2 samples)
Pipe Throughput 234795.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 47503.8 lps (10.0 s, 7 samples)
Process Creation 3578.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3981.4 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1008.3 lpm (60.0 s, 2 samples)
System Call Overhead 191279.7 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 21865096.9 1873.6
Double-Precision Whetstone 55.0 3584.6 651.8
Execl Throughput 43.0 2077.4 483.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 162446.0 410.2
File Copy 256 bufsize 500 maxblocks 1655.0 50066.4 302.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 402883.2 694.6
Pipe Throughput 12440.0 234795.9 188.7
Pipe-based Context Switching 4000.0 47503.8 118.8
Process Creation 126.0 3578.1 284.0
Shell Scripts (1 concurrent) 42.4 3981.4 939.0
Shell Scripts (8 concurrent) 6.0 1008.3 1680.5
System Call Overhead 15000.0 191279.7 127.5
========
System Benchmarks Index Score 447.9
------------------------------------------------------------------------
Benchmark Run: 金 11月 19 2021 10:48:46 - 11:19:30
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 87071948.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 14596.0 MWIPS (9.8 s, 7 samples)
Execl Throughput 4474.3 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 321265.6 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 103779.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 685478.5 KBps (30.0 s, 2 samples)
Pipe Throughput 855110.0 lps (11.3 s, 7 samples)
Pipe-based Context Switching 153699.8 lps (10.8 s, 7 samples)
Process Creation 7465.6 lps (32.3 s, 2 samples)
Shell Scripts (1 concurrent) 7122.8 lpm (63.4 s, 2 samples)
Shell Scripts (8 concurrent) 953.6 lpm (60.8 s, 2 samples)
System Call Overhead 605899.1 lps (12.8 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 87071948.0 7461.2
Double-Precision Whetstone 55.0 14596.0 2653.8
Execl Throughput 43.0 4474.3 1040.5
File Copy 1024 bufsize 2000 maxblocks 3960.0 321265.6 811.3
File Copy 256 bufsize 500 maxblocks 1655.0 103779.5 627.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 685478.5 1181.9
Pipe Throughput 12440.0 855110.0 687.4
Pipe-based Context Switching 4000.0 153699.8 384.2
Process Creation 126.0 7465.6 592.5
Shell Scripts (1 concurrent) 42.4 7122.8 1679.9
Shell Scripts (8 concurrent) 6.0 953.6 1589.3
System Call Overhead 15000.0 605899.1 403.9
========
System Benchmarks Index Score 1063.4
初号機:RaspberryPiOS buster 64bit版:ArgonOneケース
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: raspberrypi: GNU/Linux
OS: GNU/Linux -- 5.10.63-v8+ -- #1459 SMP PREEMPT Wed Oct 6 16:42:49 BST 2021
Machine: aarch64 (unknown)
Language: en_US.utf8 (charmap="EUC-JP", collate="EUC-JP")
00:41:12 up 3 min, 1 user, load average: 0.70, 0.48, 0.20; runlevel 2021-11-19
------------------------------------------------------------------------
Benchmark Run: 金 11月 19 2021 00:41:12 - 01:09:15
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 20373732.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3453.5 MWIPS (9.2 s, 7 samples)
Execl Throughput 2130.4 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 172840.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 52156.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 478557.5 KBps (30.0 s, 2 samples)
Pipe Throughput 232669.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 47657.8 lps (10.0 s, 7 samples)
Process Creation 3776.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4175.2 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1082.5 lpm (60.0 s, 2 samples)
System Call Overhead 191515.8 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 20373732.7 1745.8
Double-Precision Whetstone 55.0 3453.5 627.9
Execl Throughput 43.0 2130.4 495.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 172840.0 436.5
File Copy 256 bufsize 500 maxblocks 1655.0 52156.0 315.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 478557.5 825.1
Pipe Throughput 12440.0 232669.2 187.0
Pipe-based Context Switching 4000.0 47657.8 119.1
Process Creation 126.0 3776.9 299.8
Shell Scripts (1 concurrent) 42.4 4175.2 984.7
Shell Scripts (8 concurrent) 6.0 1082.5 1804.1
System Call Overhead 15000.0 191515.8 127.7
========
System Benchmarks Index Score 461.5
------------------------------------------------------------------------
Benchmark Run: 金 11月 19 2021 01:09:15 - 01:37:21
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 80911744.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 13752.3 MWIPS (9.2 s, 7 samples)
Execl Throughput 5520.0 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 362127.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 104809.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 852525.1 KBps (30.0 s, 2 samples)
Pipe Throughput 927222.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 173666.7 lps (10.0 s, 7 samples)
Process Creation 9405.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 8647.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1121.3 lpm (60.1 s, 2 samples)
System Call Overhead 747271.2 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 80911744.4 6933.3
Double-Precision Whetstone 55.0 13752.3 2500.4
Execl Throughput 43.0 5520.0 1283.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 362127.5 914.5
File Copy 256 bufsize 500 maxblocks 1655.0 104809.0 633.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 852525.1 1469.9
Pipe Throughput 12440.0 927222.1 745.4
Pipe-based Context Switching 4000.0 173666.7 434.2
Process Creation 126.0 9405.9 746.5
Shell Scripts (1 concurrent) 42.4 8647.1 2039.4
Shell Scripts (8 concurrent) 6.0 1121.3 1868.8
System Call Overhead 15000.0 747271.2 498.2
========
System Benchmarks Index Score 1197.4
弐号機:RaspberryPiOS buster 32bit版:ArgonOneケース
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: raspberrypi: GNU/Linux
OS: GNU/Linux -- 5.10.63-v7l+ -- #1459 SMP Wed Oct 6 16:41:57 BST 2021
Machine: armv7l (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)
CPU 1: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)
CPU 2: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)
CPU 3: ARMv7 Processor rev 3 (v7l) (0.0 bogomips)
15:48:07 up 0 min, 1 user, load average: 0.66, 0.21, 0.07; runlevel 2021-11-19
------------------------------------------------------------------------
Benchmark Run: 金 11月 19 2021 15:48:07 - 16:16:15
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 14926025.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3490.5 MWIPS (9.7 s, 7 samples)
Execl Throughput 1200.4 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 119253.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 33903.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 324576.4 KBps (30.0 s, 2 samples)
Pipe Throughput 129869.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 40158.2 lps (10.0 s, 7 samples)
Process Creation 1959.6 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3140.6 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 874.3 lpm (60.1 s, 2 samples)
System Call Overhead 717878.8 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 14926025.7 1279.0
Double-Precision Whetstone 55.0 3490.5 634.6
Execl Throughput 43.0 1200.4 279.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 119253.5 301.1
File Copy 256 bufsize 500 maxblocks 1655.0 33903.5 204.9
File Copy 4096 bufsize 8000 maxblocks 5800.0 324576.4 559.6
Pipe Throughput 12440.0 129869.8 104.4
Pipe-based Context Switching 4000.0 40158.2 100.4
Process Creation 126.0 1959.6 155.5
Shell Scripts (1 concurrent) 42.4 3140.6 740.7
Shell Scripts (8 concurrent) 6.0 874.3 1457.1
System Call Overhead 15000.0 717878.8 478.6
========
System Benchmarks Index Score 370.0
------------------------------------------------------------------------
Benchmark Run: 金 11月 19 2021 16:16:15 - 16:44:24
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 59600696.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 13889.3 MWIPS (9.7 s, 7 samples)
Execl Throughput 3479.9 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 242185.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 67239.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 655032.4 KBps (30.0 s, 2 samples)
Pipe Throughput 503922.0 lps (10.0 s, 7 samples)
Pipe-based Context Switching 161651.7 lps (10.0 s, 7 samples)
Process Creation 6309.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 7035.9 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 928.6 lpm (60.1 s, 2 samples)
System Call Overhead 2728526.9 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 59600696.0 5107.2
Double-Precision Whetstone 55.0 13889.3 2525.3
Execl Throughput 43.0 3479.9 809.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 242185.4 611.6
File Copy 256 bufsize 500 maxblocks 1655.0 67239.6 406.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 655032.4 1129.4
Pipe Throughput 12440.0 503922.0 405.1
Pipe-based Context Switching 4000.0 161651.7 404.1
Process Creation 126.0 6309.3 500.7
Shell Scripts (1 concurrent) 42.4 7035.9 1659.4
Shell Scripts (8 concurrent) 6.0 928.6 1547.6
System Call Overhead 15000.0 2728526.9 1819.0
========
System Benchmarks Index Score 1009.6
コメント
0 件のコメント :
コメントを投稿