Skip to content

Instantly share code, notes, and snippets.

@carlosedp
Last active August 27, 2018 07:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosedp/f9e5c72ed4c1b66917ad3348bfd964a8 to your computer and use it in GitHub Desktop.
Save carlosedp/f9e5c72ed4c1b66917ad3348bfd964a8 to your computer and use it in GitHub Desktop.
RockPro64 vs VM
carlosedp@ubuntu:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Model name: Intel(R) Core(TM) i5-4310M CPU @ 2.70GHz
Stepping: 3
CPU MHz: 2693.764
BogoMIPS: 5387.52
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm invpcid_single pti retpoline fsgsbase avx2 invpcid
carlosedp@ubuntu:~$ time ./dietpi-bench
0 500000
500000 1000000
2282
2283
real 0m6.684s
user 0m12.764s
sys 0m0.519s
carlosedp@ubuntu:~$ armbianmonitor
Usage: armbianmonitor [-h] [-b] [-c $path] [-d $device] [-D] [-m] [-p] [-r] [-u]
############################################################################
carlosedp@ubuntu:~$ armbianmonitor -z
Preparing benchmark. Be patient please...
7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
RAM size: 3945 MB, # CPU hardware threads: 2
RAM usage: 425 MB, # Benchmark threads: 2
Dict Compressing | Decompressing
Speed Usage R/U Rating | Speed Usage R/U Rating
KB/s % MIPS MIPS | KB/s % MIPS MIPS
22: 5744 164 3405 5588 | 66446 199 3016 5999
23: 5604 173 3307 5710 | 64997 198 3010 5951
24: 5547 182 3281 5964 | 64208 198 3008 5958
25: 4500 187 2753 5138 | 64005 199 3027 6020
----------------------------------------------------------------
Avr: 176 3187 5600 198 3015 5982
Tot: 187 3101 5791
--------------------------------------------------------------------------------
carlosedp@ubuntu:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Model name: Intel(R) Core(TM) i5-4310M CPU @ 2.70GHz
Stepping: 3
CPU MHz: 2693.764
BogoMIPS: 5387.52
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm invpcid_single pti retpoline fsgsbase avx2 invpcid
carlosedp@ubuntu:~$
carlosedp@ubuntu:~$ time ./dietpi-bench
0 250000
250000 500000
500000 750000
750000 1000000
2416
2417
2418
2419
real 0m5.703s
user 0m21.035s
sys 0m0.821s
carlosedp@ubuntu:~$
carlosedp@ubuntu:~$ armbianmonitor -z
Preparing benchmark. Be patient please...
7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
RAM size: 3944 MB, # CPU hardware threads: 4
RAM usage: 850 MB, # Benchmark threads: 4
Dict Compressing | Decompressing
Speed Usage R/U Rating | Speed Usage R/U Rating
KB/s % MIPS MIPS | KB/s % MIPS MIPS
22: 6509 318 1993 6332 | 90223 375 2168 8140
23: 6380 333 1953 6501 | 95221 388 2243 8713
24: 6979 356 2107 7504 | 88979 386 2136 8255
25: 6665 374 2036 7610 | 82109 357 2165 7721
----------------------------------------------------------------
Avr: 345 2022 6987 377 2178 8207
Tot: 361 2100 7597
--------------------------------------------------------------------------------
RK3399 - RockPro64
Idle - 2.8W
100% CPU on 6 cores - 8.5W
Idle with Samsung SSD - 4.7W
Writing data to SSD peaked - 6.5W, steady at 5.5W
Writing data and 100%CPU - 10W
$ time ./dietpi-bench
0 166666
166666 333332
333332 499998
499998 666664
666664 833330
833330 999996
4432
4433
4434
4435
4436
4437
real 0m9.560s
user 0m44.858s
sys 0m0.926s
carlosedp@NanoT4-1:~ (kubearm:kube-system) $ ./armbianmonitor -z
Preparing benchmark. Be patient please...
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,6 CPUs LE)
LE
CPU Freq: 1789 1790 1790 1783 1786 1782 1728 1789 1786
RAM size: 3857 MB, # CPU hardware threads: 6
RAM usage: 1323 MB, # Benchmark threads: 6
Compressing | Decompressing
Dict Speed Usage R/U Rating | Speed Usage R/U Rating
KiB/s % MIPS MIPS | KiB/s % MIPS MIPS
22: 3751 492 742 3649 | 82499 525 1340 7036
23: 3587 494 739 3655 | 77226 513 1304 6682
24: 3299 530 669 3547 | 73216 510 1260 6426
25: 3205 515 711 3660 | 72176 530 1213 6423
---------------------------------- | ------------------------------
Avr: 508 715 3628 | 519 1279 6642
Tot: 514 997 5135
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment