Skip to content

Instantly share code, notes, and snippets.

@cedric-sun
Created October 9, 2020 15:27
Show Gist options
  • Save cedric-sun/163b06105753459275ce59a89ce95d87 to your computer and use it in GitHub Desktop.
Save cedric-sun/163b06105753459275ce59a89ce95d87 to your computer and use it in GitHub Desktop.
LFS linux 5.8.3 v.s. archlinux stock linux 5.8.10
BYTE UNIX Benchmarks (Version 5.1.3)
System: ARCH3: GNU/Linux
OS: GNU/Linux -- 5.8.10-arch1-1 -- #1 SMP PREEMPT Thu, 17 Sep 2020 18:01:06 +0000
Machine: x86_64 (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 2: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 3: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 4: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 5: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 6: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 7: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
14:52:49 up 11:31, 1 user, load average: 0.65, 0.84, 0.80; runlevel
------------------------------------------------------------------------
Benchmark Run: Thu Oct 08 2020 14:52:49 - 15:21:06
8 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 45136945.3 lps (10.0 s, 7 samples)
Double-Precision Whetstone 6869.1 MWIPS (10.0 s, 7 samples)
Execl Throughput 5231.7 lps (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 859428.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 226814.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2416314.4 KBps (30.0 s, 2 samples)
Pipe Throughput 1283562.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 180287.7 lps (10.0 s, 7 samples)
Process Creation 9631.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 1531.9 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2309.3 lpm (60.0 s, 2 samples)
System Call Overhead 859471.7 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 45136945.3 3867.8
Double-Precision Whetstone 55.0 6869.1 1248.9
Execl Throughput 43.0 5231.7 1216.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 859428.9 2170.3
File Copy 256 bufsize 500 maxblocks 1655.0 226814.8 1370.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 2416314.4 4166.1
Pipe Throughput 12440.0 1283562.6 1031.8
Pipe-based Context Switching 4000.0 180287.7 450.7
Process Creation 126.0 9631.8 764.4
Shell Scripts (1 concurrent) 42.4 1531.9 361.3
Shell Scripts (8 concurrent) 6.0 2309.3 3848.9
System Call Overhead 15000.0 859471.7 573.0
========
System Benchmarks Index Score 1286.9
------------------------------------------------------------------------
Benchmark Run: Thu Oct 08 2020 15:21:06 - 15:49:39
8 CPUs in system; running 8 parallel copies of tests
Dhrystone 2 using register variables 210106927.3 lps (10.0 s, 7 samples)
Double-Precision Whetstone 45196.6 MWIPS (10.0 s, 7 samples)
Execl Throughput 23730.8 lps (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1103737.3 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 285958.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3413963.9 KBps (30.0 s, 2 samples)
Pipe Throughput 5986634.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 828719.7 lps (10.0 s, 7 samples)
Process Creation 33909.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 16907.3 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2135.0 lpm (60.1 s, 2 samples)
System Call Overhead 3902722.4 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 210106927.3 18004.0
Double-Precision Whetstone 55.0 45196.6 8217.6
Execl Throughput 43.0 23730.8 5518.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 1103737.3 2787.2
File Copy 256 bufsize 500 maxblocks 1655.0 285958.5 1727.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 3413963.9 5886.1
Pipe Throughput 12440.0 5986634.2 4812.4
Pipe-based Context Switching 4000.0 828719.7 2071.8
Process Creation 126.0 33909.9 2691.3
Shell Scripts (1 concurrent) 42.4 16907.3 3987.6
Shell Scripts (8 concurrent) 6.0 2135.0 3558.3
System Call Overhead 15000.0 3902722.4 2601.8
========
System Benchmarks Index Score 4105.5
BYTE UNIX Benchmarks (Version 5.1.3)
System: ARCH3: GNU/Linux
OS: GNU/Linux -- 5.8.3 -- #2 SMP PREEMPT Thu Sep 8 18:56:45 EDT 2020
Machine: x86_64 (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 2: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 3: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 4: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 5: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 6: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 7: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (5190.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
19:31:17 up 2 min, 2 users, load average: 0.06, 0.08, 0.03; runlevel
------------------------------------------------------------------------
Benchmark Run: Thu Oct 08 2020 19:31:17 - 19:59:20
8 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 45567968.3 lps (10.0 s, 7 samples)
Double-Precision Whetstone 6845.7 MWIPS (10.0 s, 7 samples)
Execl Throughput 5420.9 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 869869.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 227667.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2448043.9 KBps (30.0 s, 2 samples)
Pipe Throughput 1269467.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 209032.9 lps (10.0 s, 7 samples)
Process Creation 9865.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4900.4 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2366.4 lpm (60.0 s, 2 samples)
System Call Overhead 864749.4 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 45567968.3 3904.7
Double-Precision Whetstone 55.0 6845.7 1244.7
Execl Throughput 43.0 5420.9 1260.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 869869.4 2196.6
File Copy 256 bufsize 500 maxblocks 1655.0 227667.0 1375.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 2448043.9 4220.8
Pipe Throughput 12440.0 1269467.9 1020.5
Pipe-based Context Switching 4000.0 209032.9 522.6
Process Creation 126.0 9865.7 783.0
Shell Scripts (1 concurrent) 42.4 4900.4 1155.7
Shell Scripts (8 concurrent) 6.0 2366.4 3944.0
System Call Overhead 15000.0 864749.4 576.5
========
System Benchmarks Index Score 1449.1
------------------------------------------------------------------------
Benchmark Run: Thu Oct 08 2020 19:59:20 - 20:27:24
8 CPUs in system; running 8 parallel copies of tests
Dhrystone 2 using register variables 209217860.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 45138.5 MWIPS (10.1 s, 7 samples)
Execl Throughput 24167.5 lps (29.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1126745.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 289538.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3578383.3 KBps (30.0 s, 2 samples)
Pipe Throughput 5810716.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 1079396.3 lps (10.0 s, 7 samples)
Process Creation 47055.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 18693.7 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2649.7 lpm (60.1 s, 2 samples)
System Call Overhead 4385716.2 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 209217860.0 17927.8
Double-Precision Whetstone 55.0 45138.5 8207.0
Execl Throughput 43.0 24167.5 5620.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 1126745.0 2845.3
File Copy 256 bufsize 500 maxblocks 1655.0 289538.9 1749.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 3578383.3 6169.6
Pipe Throughput 12440.0 5810716.7 4671.0
Pipe-based Context Switching 4000.0 1079396.3 2698.5
Process Creation 126.0 47055.3 3734.5
Shell Scripts (1 concurrent) 42.4 18693.7 4408.9
Shell Scripts (8 concurrent) 6.0 2649.7 4416.1
System Call Overhead 15000.0 4385716.2 2923.8
========
System Benchmarks Index Score 4495.1
@cedric-sun
Copy link
Author

All benchmark is done using the same initramfs thus the same environment in Arch Linux, except that the v5.8.3 kernel is directly taken from my previous Linux From Scratch build (-match=native -mtune=native -Ofast -flto).

@cedric-sun
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment