Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@orangepizeroplus:~/tinymembench# ./tinymembench
- tinymembench v0.4.9 (simple benchmark for memory throughput and latency)
- ==========================================================================
- == Memory bandwidth tests ==
- == ==
- == Note 1: 1MB = 1000000 bytes ==
- == Note 2: Results for 'copy' tests show how many bytes can be ==
- == copied per second (adding together read and writen ==
- == bytes would have provided twice higher numbers) ==
- == Note 3: 2-pass copy means that we are using a small temporary buffer ==
- == to first fetch data into it, and only then write it to the ==
- == destination (source -> L1 cache, L1 cache -> destination) ==
- == Note 4: If sample standard deviation exceeds 0.1%, it is shown in ==
- == brackets ==
- ==========================================================================
- C copy backwards : 857.0 MB/s (1.7%)
- C copy backwards (32 byte blocks) : 852.2 MB/s (1.2%)
- C copy backwards (64 byte blocks) : 859.7 MB/s (0.9%)
- C copy : 854.5 MB/s (1.3%)
- C copy prefetched (32 bytes step) : 683.1 MB/s
- C copy prefetched (64 bytes step) : 763.3 MB/s
- C 2-pass copy : 864.5 MB/s (0.6%)
- C 2-pass copy prefetched (32 bytes step) : 638.3 MB/s
- C 2-pass copy prefetched (64 bytes step) : 351.8 MB/s (0.2%)
- C fill : 2252.3 MB/s
- C fill (shuffle within 16 byte blocks) : 2252.1 MB/s (0.4%)
- C fill (shuffle within 32 byte blocks) : 2252.4 MB/s (1.0%)
- C fill (shuffle within 64 byte blocks) : 2253.0 MB/s (0.4%)
- ---
- standard memcpy : 875.1 MB/s (0.6%)
- standard memset : 2252.7 MB/s
- ---
- NEON LDP/STP copy : 865.7 MB/s (0.6%)
- NEON LDP/STP copy pldl2strm (32 bytes step) : 653.8 MB/s (0.6%)
- NEON LDP/STP copy pldl2strm (64 bytes step) : 774.2 MB/s
- NEON LDP/STP copy pldl1keep (32 bytes step) : 908.9 MB/s
- NEON LDP/STP copy pldl1keep (64 bytes step) : 909.2 MB/s
- NEON LD1/ST1 copy : 862.7 MB/s (1.3%)
- NEON STP fill : 2252.5 MB/s (0.6%)
- NEON STNP fill : 1881.2 MB/s (3.1%)
- ARM LDP/STP copy : 867.0 MB/s (0.4%)
- ARM STP fill : 2251.8 MB/s
- ARM STNP fill : 1876.4 MB/s (1.5%)
- ==========================================================================
- == Memory latency test ==
- == ==
- == Average time is measured for random memory accesses in the buffers ==
- == of different sizes. The larger is the buffer, the more significant ==
- == are relative contributions of TLB, L1/L2 cache misses and SDRAM ==
- == accesses. For extremely large buffer sizes we are expecting to see ==
- == page table walk with several requests to SDRAM for almost every ==
- == memory access (though 64MiB is not nearly large enough to experience ==
- == this effect to its fullest). ==
- == ==
- == Note 1: All the numbers are representing extra time, which needs to ==
- == be added to L1 cache latency. The cycle timings for L1 cache ==
- == latency can be usually found in the processor documentation. ==
- == Note 2: Dual random read means that we are simultaneously performing ==
- == two independent memory accesses at a time. In the case if ==
- == the memory subsystem can't handle multiple outstanding ==
- == requests, dual random read has the same timings as two ==
- == single reads performed one after another. ==
- ==========================================================================
- block size : single random read / dual random read, [MADV_NOHUGEPAGE]
- 1024 : 0.0 ns / 0.0 ns
- 2048 : 0.0 ns / 0.0 ns
- 4096 : 0.0 ns / 0.0 ns
- 8192 : 0.0 ns / 0.0 ns
- 16384 : 0.0 ns / 0.0 ns
- 32768 : 0.0 ns / 0.0 ns
- 65536 : 6.8 ns / 11.5 ns
- 131072 : 10.4 ns / 16.0 ns
- 262144 : 12.3 ns / 17.7 ns
- 524288 : 14.6 ns / 20.4 ns
- 1048576 : 101.0 ns / 156.7 ns
- 2097152 : 147.5 ns / 203.6 ns
- 4194304 : 178.4 ns / 229.0 ns
- 8388608 : 194.8 ns / 240.7 ns
- 16777216 : 205.0 ns / 248.2 ns
- 33554432 : 211.0 ns / 252.8 ns
- 67108864 : 214.7 ns / 256.1 ns
- block size : single random read / dual random read, [MADV_HUGEPAGE]
- 1024 : 0.0 ns / 0.0 ns
- 2048 : 0.0 ns / 0.0 ns
- 4096 : 0.0 ns / 0.0 ns
- 8192 : 0.0 ns / 0.0 ns
- 16384 : 0.0 ns / 0.0 ns
- 32768 : 0.0 ns / 0.0 ns
- 65536 : 6.8 ns / 11.6 ns
- 131072 : 10.4 ns / 15.9 ns
- 262144 : 12.3 ns / 17.7 ns
- 524288 : 14.6 ns / 20.3 ns
- 1048576 : 101.0 ns / 156.8 ns
- 2097152 : 147.5 ns / 203.7 ns
- 4194304 : 178.4 ns / 229.1 ns
- 8388608 : 194.8 ns / 240.7 ns
- 16777216 : 204.8 ns / 247.9 ns
- 33554432 : 211.0 ns / 252.8 ns
- 67108864 : 214.8 ns / 256.3 ns
- root@orangepizeroplus:~# 7zr b
- 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,4 CPUs LE)
- LE
- CPU Freq: 414 1006 1006 1005 1006 1006 1006 1005
- RAM size: 482 MB, # CPU hardware threads: 4
- RAM usage: 450 MB, # Benchmark threads: 4
- Compressing | Decompressing
- Dict Speed Usage R/U Rating | Speed Usage R/U Rating
- KiB/s % MIPS MIPS | KiB/s % MIPS MIPS
- 22: 1557 306 495 1515 | 44917 399 961 3832
- 23: 1606 325 503 1637 | 43543 396 952 3768
- 24: 1305 307 457 1404 | 40686 389 919 3572
- ---------------------------------- | ------------------------------
- Avr: 313 485 1519 | 394 944 3724
- Tot: 354 714 2621
- root@orangepizeroplus:~# /bin/bash /tmp/sysbench.sh
- 408: execution time (avg/stddev): 89.2554/0.00
- 648: execution time (avg/stddev): 56.1463/0.00
- 816: execution time (avg/stddev): 44.3941/0.00
- 912: execution time (avg/stddev): 39.7057/0.00
- 960: execution time (avg/stddev): 37.7316/0.00
- 1008: execution time (avg/stddev): 35.9167/0.00
- 408: execution time (avg/stddev): 22.3622/0.00
- 648: execution time (avg/stddev): 14.1378/0.00
- 816: execution time (avg/stddev): 11.1106/0.00
- 912: execution time (avg/stddev): 9.9382/0.00
- 960: execution time (avg/stddev): 9.4391/0.00
- 1008: execution time (avg/stddev): 8.9818/0.00
- for i in 128 192 256 ; do openssl speed -elapsed -evp aes-${i}-cbc ; done
- type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
- aes-128-cbc 69173.49k 218179.56k 457685.25k 655786.67k 749043.71k
- aes-192-cbc 66168.97k 196154.67k 379023.02k 509089.11k 565190.66k
- aes-256-cbc 64564.66k 183042.71k 332124.33k 427910.83k 466774.70k
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement