この blogは、mac mini late 2012(Intel Core7i 16G, 1TB ) に vmware fusion 上の FreeBSD で動かしているが、さすがにいつ壊れてもおかしくないと思うので、昨年でた mac mini m4 (24G ,SSD 512G )を購入して、そちらに引っ越そうかと思う。
性能としてどれくらい違うだろうかと思うので、簡単に unixbench でベンチマークを取ってみた。
Mac Mini Late 2012: Intel Core7i
VMware Fusion 12.0
FreeBSD 14.0-Release(amd64) memory 4G
======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: mina2_2024: FreeBSD OS: FreeBSD -- 14.0-RELEASE-p6 -- FreeBSD 14.0-RELEASE-p6 #0: Tue Mar 26 20:26:20 UTC 2024 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC Machine: amd64 (GENERIC) Language: C.UTF-8 (charmap="UTF-8") CPU 0: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (0.0 bogomips) amd64 CPU 1: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (0.0 bogomips) amd64 CPU 2: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (0.0 bogomips) amd64 CPU 3: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (0.0 bogomips) amd64 11:42AM up 58 days, 16:13, 2 users, load averages: 0.59, 0.48, 0.44; ------------------------------------------------------------------------ Benchmark Run: Tue Jan 07 2025 11:42:53 - 12:10:58 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 34585196.7 lps (10.0 s, 7 samples) Double-Precision Whetstone 5890.6 MWIPS (9.2 s, 7 samples) Execl Throughput 2271.5 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 311803.4 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 88674.0 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 856946.9 KBps (30.0 s, 2 samples) Pipe Throughput 1200476.5 lps (10.0 s, 7 samples) Pipe-based Context Switching 135150.2 lps (10.0 s, 7 samples) Process Creation 4470.0 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 5857.9 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1771.9 lpm (60.0 s, 2 samples) System Call Overhead 687022.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 34585196.7 2963.6 Double-Precision Whetstone 55.0 5890.6 1071.0 Execl Throughput 43.0 2271.5 528.2 File Copy 1024 bufsize 2000 maxblocks 3960.0 311803.4 787.4 File Copy 256 bufsize 500 maxblocks 1655.0 88674.0 535.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 856946.9 1477.5 Pipe Throughput 12440.0 1200476.5 965.0 Pipe-based Context Switching 4000.0 135150.2 337.9 Process Creation 126.0 4470.0 354.8 Shell Scripts (1 concurrent) 42.4 5857.9 1381.6 Shell Scripts (8 concurrent) 6.0 1771.9 2953.2 System Call Overhead 15000.0 687022.4 458.0 ======== System Benchmarks Index Score 883.4 ------------------------------------------------------------------------ Benchmark Run: Tue Jan 07 2025 12:10:58 - 12:39:17 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 107954176.8 lps (10.0 s, 7 samples) Double-Precision Whetstone 21186.5 MWIPS (9.6 s, 7 samples) Execl Throughput 7154.9 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 24149.4 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 12583.4 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 76633.5 KBps (30.0 s, 2 samples) Pipe Throughput 3861072.1 lps (10.0 s, 7 samples) Pipe-based Context Switching 514338.7 lps (10.0 s, 7 samples) Process Creation 21121.8 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 13723.6 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1706.3 lpm (60.1 s, 2 samples) System Call Overhead 2308270.3 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 107954176.8 9250.6 Double-Precision Whetstone 55.0 21186.5 3852.1 Execl Throughput 43.0 7154.9 1663.9 File Copy 1024 bufsize 2000 maxblocks 3960.0 24149.4 61.0 File Copy 256 bufsize 500 maxblocks 1655.0 12583.4 76.0 File Copy 4096 bufsize 8000 maxblocks 5800.0 76633.5 132.1 Pipe Throughput 12440.0 3861072.1 3103.8 Pipe-based Context Switching 4000.0 514338.7 1285.8 Process Creation 126.0 21121.8 1676.3 Shell Scripts (1 concurrent) 42.4 13723.6 3236.7 Shell Scripts (8 concurrent) 6.0 1706.3 2843.9 System Call Overhead 15000.0 2308270.3 1538.8 ======== System Benchmarks Index Score 1108.5
mac mini M4 24G SSD 512G(MVMe)
VMWare Fusion Pro 13.6.2
FreeBSD 14.2 (aarch64) Memory 4G
BYTE UNIX Benchmarks (Version 5.1.3) System: mina2_2025: FreeBSD OS: FreeBSD -- 14.2-RELEASE -- FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC Machine: arm64 (GENERIC) Language: C.UTF-8 (charmap="UTF-8") CPU 0: Apple Unknown CPU r0p0 (midr: 610f0000) (0.0 bogomips) arm64 CPU 1: Apple Unknown CPU r0p0 (midr: 610f0000) (0.0 bogomips) arm64 CPU 2: Apple Unknown CPU r0p0 (midr: 610f0000) (0.0 bogomips) arm64 CPU 3: Apple Unknown CPU r0p0 (midr: 610f0000) (0.0 bogomips) arm64 12:39PM up 3:56, 1 user, load averages: 0.11, 0.16, 1.10; Benchmark Run: Tue Jan 07 2025 12:39:40 - 13:07:36 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 127206639.9 lps (10.0 s, 7 samples) Double-Precision Whetstone 12312.0 MWIPS (8.9 s, 7 samples) Execl Throughput 5609.3 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 548326.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 175043.5 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1223810.8 KBps (30.0 s, 2 samples) Pipe Throughput 4712182.1 lps (10.0 s, 7 samples) Pipe-based Context Switching 532173.3 lps (10.0 s, 7 samples) Process Creation 16213.6 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 20450.1 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 5957.0 lpm (60.0 s, 2 samples) System Call Overhead 2394584.2 lps (10.1 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 127206639.9 10900.3 Double-Precision Whetstone 55.0 12312.0 2238.6 Execl Throughput 43.0 5609.3 1304.5 File Copy 1024 bufsize 2000 maxblocks 3960.0 548326.2 1384.7 File Copy 256 bufsize 500 maxblocks 1655.0 175043.5 1057.7 File Copy 4096 bufsize 8000 maxblocks 5800.0 1223810.8 2110.0 Pipe Throughput 12440.0 4712182.1 3787.9 Pipe-based Context Switching 4000.0 532173.3 1330.4 Process Creation 126.0 16213.6 1286.8 Shell Scripts (1 concurrent) 42.4 20450.1 4823.1 Shell Scripts (8 concurrent) 6.0 5957.0 9928.4 System Call Overhead 15000.0 2394584.2 1596.4 ======== System Benchmarks Index Score 2458.5 ------------------------------------------------------------------------ Benchmark Run: Tue Jan 07 2025 13:07:36 - 13:35:36 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 482258262.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 43340.0 MWIPS (9.0 s, 7 samples) Execl Throughput 13548.3 lps (29.8 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 85818.7 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 21307.4 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 311114.5 KBps (30.0 s, 2 samples) Pipe Throughput 16790620.7 lps (10.0 s, 7 samples) Pipe-based Context Switching 4949744.0 lps (10.0 s, 7 samples) Process Creation 77847.8 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 46849.8 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 6125.1 lpm (60.0 s, 2 samples) System Call Overhead 8532850.5 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 482258262.4 41324.6 Double-Precision Whetstone 55.0 43340.0 7880.0 Execl Throughput 43.0 13548.3 3150.8 File Copy 1024 bufsize 2000 maxblocks 3960.0 85818.7 216.7 File Copy 256 bufsize 500 maxblocks 1655.0 21307.4 128.7 File Copy 4096 bufsize 8000 maxblocks 5800.0 311114.5 536.4 Pipe Throughput 12440.0 16790620.7 13497.3 Pipe-based Context Switching 4000.0 4949744.0 12374.4 Process Creation 126.0 77847.8 6178.4 Shell Scripts (1 concurrent) 42.4 46849.8 11049.5 Shell Scripts (8 concurrent) 6.0 6125.1 10208.5 System Call Overhead 15000.0 8532850.5 5688.6 ======== System Benchmarks Index Score 3836.53倍くらい速くなった???
コメントする