Created
September 15, 2013 22:22
-
-
Save beala/6574825 to your computer and use it in GitHub Desktop.
cjdns benchmarks on rpi.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Raspberry Pi using the rpi optimized NaCl found here: https://wiki.projectmeshnet.org/Install_on_Raspberry_Pi | |
[~/mesh/cjdns][raspberrypi] | |
pi$ ./cjdroute --bench | |
1379192988 INFO RandomSeed.c:57 Attempting to seed random number generator | |
1379192988 INFO RandomSeed.c:72 Trying random seed [RtlGenRandom() (Windows)] Failed | |
1379192988 INFO RandomSeed.c:72 Trying random seed [sysctl(KERN_ARND) (BSD)] Failed | |
1379192988 INFO RandomSeed.c:68 Trying random seed [/dev/urandom] Success | |
1379192988 INFO RandomSeed.c:72 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Failed | |
1379192988 INFO RandomSeed.c:68 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success | |
1379192988 INFO RandomSeed.c:79 Seeding random number generator succeeded with [2] sources | |
These metrics are speed of encryption and decryption similar to the usage pattern | |
when decrypting a packet, switching it, and re-encrypting it with another key. | |
Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 340041ms. 1 Kb/s | |
Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 341718ms. 35 Kb/s | |
Test sending 1000 64 byte key packets. packet auth enabled. Finished in 508865ms. 1 Kb/s | |
Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 510426ms. 23 Kb/s | |
Test sending 100000 64 byte data packets. packet auth disabled. Finished in 6457ms. 7929 Kb/s | |
Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 113216ms. 10599 Kb/s | |
Test sending 100000 64 byte data packets. packet auth enabled. Finished in 26354ms. 1942 Kb/s | |
This is the switch configuration so this indicates expected switch throughput: | |
Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 173773ms. 6905 Kb/s | |
[~/mesh/cjdns][raspberrypi] | |
pi$ cat /proc/cpuinfo | |
Processor : ARMv6-compatible processor rev 7 (v6l) | |
BogoMIPS : 697.95 | |
Features : swp half thumb fastmult vfp edsp java tls | |
CPU implementer : 0x41 | |
CPU architecture: 7 | |
CPU variant : 0x0 | |
CPU part : 0xb76 | |
CPU revision : 7 | |
Hardware : BCM2708 | |
Revision : 0002 | |
Serial : 00000000fe00cd76 | |
[~/mesh/cjdns][raspberrypi] | |
pi$ git log | head -n 1 | |
commit fc8c130164cd34e17b56f1fdeb3342a0f2890c9b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment