Skip to content

Instantly share code, notes, and snippets.

@token0
Last active February 15, 2022 17:34
Show Gist options
  • Select an option

  • Save token0/37921c4337f0fc69716ddf25df77df88 to your computer and use it in GitHub Desktop.

Select an option

Save token0/37921c4337f0fc69716ddf25df77df88 to your computer and use it in GitHub Desktop.

Revisions

  1. token0 revised this gist Feb 15, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion urandom-perf.md
    Original file line number Diff line number Diff line change
    @@ -40,7 +40,7 @@ sys 0m 54.86s

    Oracle VPS on AMD Epyc @ Ubuntu 20.04.3 LTS :
    ```
    model name : AMD EPYC 7551 32-Core Processor
    model name : AMD EPYC 7551 32-Core Processor (only 2 cores for VPS)
    bogomips : 3992.48
    time dd if=/dev/urandom of=/dev/null bs=1M count=1000
  2. token0 revised this gist Feb 15, 2022. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions urandom-perf.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ Reading 1000 MiB from entropy pool
    ***

    Xiaomi MI-R3G @ Padavan (Linux 3.4.113):

    ```
    system type : MediaTek MT7621 SoC
    cpu model : MIPS 1004Kc V2.15
    BogoMIPS : 583.68
    @@ -18,11 +18,11 @@ time dd if=/dev/urandom of=/dev/null bs=1M count=1000
    0.00 user
    1053.27 system
    17:33.38 elapsed

    ```
    ***

    Asus RT-N16 @ OpenWRT 21.02.1:

    ```
    system type : Broadcom BCM4716
    cpu model : MIPS 74Kc V4.0
    BogoMIPS : 239.10
    @@ -35,11 +35,11 @@ time dd if=/dev/urandom of=/dev/null bs=1M count=1000
    real 0m 55.18s
    user 0m 0.02s
    sys 0m 54.86s

    ```
    ***

    Oracle VPS on AMD Epyc @ Ubuntu 20.04.3 LTS :

    ```
    model name : AMD EPYC 7551 32-Core Processor
    bogomips : 3992.48
    @@ -51,11 +51,11 @@ time dd if=/dev/urandom of=/dev/null bs=1M count=1000
    real 0m35.975s
    user 0m0.000s
    sys 0m35.963s

    ```
    ***

    Pine64 Rock64 2GB @ Armbian 21.08.6 Buster with Linux 5.10.63-rockchip64:

    ```
    CPU: RockChip RK3328 aarch64 4-core CortexA53
    time dd if=/dev/random of=/dev/null bs=1M count=1000
    @@ -66,7 +66,7 @@ time dd if=/dev/random of=/dev/null bs=1M count=1000
    real 0m16.995s
    user 0m0.000s
    sys 0m16.991s

    ```
    ***


  3. token0 created this gist Feb 15, 2022.
    72 changes: 72 additions & 0 deletions urandom-perf.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,72 @@
    Simple benchmark of default entropy source performance on various CPUs

    Reading 1000 MiB from entropy pool

    ***

    Xiaomi MI-R3G @ Padavan (Linux 3.4.113):

    system type : MediaTek MT7621 SoC
    cpu model : MIPS 1004Kc V2.15
    BogoMIPS : 583.68

    time dd if=/dev/urandom of=/dev/null bs=1M count=1000
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1000.0MB) copied, 1053.273348 seconds, 972.2 KB/s

    0.00 user
    1053.27 system
    17:33.38 elapsed

    ***

    Asus RT-N16 @ OpenWRT 21.02.1:

    system type : Broadcom BCM4716
    cpu model : MIPS 74Kc V4.0
    BogoMIPS : 239.10

    time dd if=/dev/urandom of=/dev/null bs=1M count=1000
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB, 1000 MiB) copied, 55.18 s, 18.1 MB/s

    real 0m 55.18s
    user 0m 0.02s
    sys 0m 54.86s

    ***

    Oracle VPS on AMD Epyc @ Ubuntu 20.04.3 LTS :

    model name : AMD EPYC 7551 32-Core Processor
    bogomips : 3992.48

    time dd if=/dev/urandom of=/dev/null bs=1M count=1000
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB, 1000 MiB) copied, 35.9716 s, 29.2 MB/s

    real 0m35.975s
    user 0m0.000s
    sys 0m35.963s

    ***

    Pine64 Rock64 2GB @ Armbian 21.08.6 Buster with Linux 5.10.63-rockchip64:

    CPU: RockChip RK3328 aarch64 4-core CortexA53

    time dd if=/dev/random of=/dev/null bs=1M count=1000
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB, 1000 MiB) copied, 16.9884 s, 61.7 MB/s

    real 0m16.995s
    user 0m0.000s
    sys 0m16.991s

    ***