hyperboria / bugs

Peer-to-peer IPv6 networking, secure and near-zero-conf.
154 stars 17 forks source link

cjdroute benchmark failure on Odroid C2 #138

Open nsjph opened 8 years ago

nsjph commented 8 years ago

ODROID C2/ARM64 - Ubuntu 16.04

root@odroid64:/opt/cjdns# cat /proc/cpuinfo processor : 0 BogoMIPS : 2.00 Features : fp asimd crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 1 BogoMIPS : 2.00 Features : fp asimd crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 2 BogoMIPS : 2.00 Features : fp asimd crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 3 BogoMIPS : 2.00 Features : fp asimd crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

Hardware : ODROID-C2 Revision : 020b root@odroid64:/opt/cjdns# git log |head -n 1 commit 116fa2aff419950403eba3530c4e2d2e63db8819 root@odroid64:/opt/cjdns# ./cjdroute --bench > bench.log 2>>bench.log Aborted root@odroid64:/opt/cjdns# cat bench.log 1467721172 INFO RandomSeed.c:42 Attempting to seed random number generator 1467721172 INFO RandomSeed.c:50 Trying random seed [/dev/urandom] Success 1467721172 INFO RandomSeed.c:50 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success 1467721172 INFO RandomSeed.c:50 Trying random seed [getentropy(2)] Success 1467721172 INFO RandomSeed.c:64 Seeding random number generator succeeded with [3] sources 1467721172 INFO Benchmark.c:71 Setting up salsa20/poly1305 benchmark (encryption and decryption only) 1467721172 DEBUG CryptoAuth.c:393 0x5570834688 bench [b3cc:68c0:197a:59fa:1a05:ab85:fba2:2051]: Sending hello packet 1467721172 DEBUG CryptoAuth.c:589 0x5570834858 bench [cae5:1dd6:2d78:fa08:36ec:bfe3:c9ff:aa44]: Received a hello packet, using auth: 0 1467721172 DEBUG CryptoAuth.c:393 0x5570834858 bench [cae5:1dd6:2d78:fa08:36ec:bfe3:c9ff:aa44]: Sending key packet 1467721172 DEBUG CryptoAuth.c:602 0x5570834688 bench [b3cc:68c0:197a:59fa:1a05:ab85:fba2:2051]: Received a key packet 1467721172 DEBUG CryptoAuth.c:485 0x5570834688 bench [b3cc:68c0:197a:59fa:1a05:ab85:fba2:2051]: Doing final step to send message. nonce=4 1467721172 DEBUG CryptoAuth.c:791 0x5570834858 bench [cae5:1dd6:2d78:fa08:36ec:bfe3:c9ff:aa44]: Trying final handshake step, nonce=4 1467721172 DEBUG CryptoAuth.c:802 0x5570834858 bench [cae5:1dd6:2d78:fa08:36ec:bfe3:c9ff:aa44]: Final handshake step succeeded 1467721172 DEBUG CryptoAuth.c:791 0x5570834688 bench [b3cc:68c0:197a:59fa:1a05:ab85:fba2:2051]: Trying final handshake step, nonce=6 1467721172 DEBUG CryptoAuth.c:802 0x5570834688 bench [b3cc:68c0:197a:59fa:1a05:ab85:fba2:2051]: Final handshake step succeeded 1467721172 INFO Benchmark.c:47 ----- Begin salsa20/poly1305 benchmark ----- 1467721177 INFO Benchmark.c:59
1467721177 INFO Benchmark.c:60 --------------------------------------------------------------- 1467721177 INFO Benchmark.c:62 Benchmark salsa20/poly1305 in 4475ms. 268156 kilobits per second 1467721177 INFO Benchmark.c:63 --------------------------------------------------------------- 1467721177 INFO Benchmark.c:64
1467721177 INFO Benchmark.c:149 Setting up salsa20/poly1305 benchmark (encryption and decryption only) 1467721177 DEBUG InterfaceController.c:826 bootstrapPeer total [0] 1467721177 INFO InterfaceController.c:877 Adding peer [v0.0000.0000.0000.0013.kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k] from bootstrapPeer() 1467721177 DEBUG InterfaceController.c:286 SwitchPing [kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k] 1467721177 DEBUG CryptoAuth.c:393 0x5570841c48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Sending hello packet 1467721177 DEBUG CryptoAuth.c:589 0x5570844098 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Received a hello packet, using auth: 1 1467721177 INFO InterfaceController.c:662 Added peer [v0.0000.0000.0000.0013.vz21tg07061s8v9mckrvgtfds7j2u5lst8cwl6nqhp81njrh5wg0.k] from incoming message 1467721177 DEBUG InterfaceController.c:286 SwitchPing [vz21tg07061s8v9mckrvgtfds7j2u5lst8cwl6nqhp81njrh5wg0.k] 1467721177 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013] 1467721177 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013] 1467721177 DEBUG CryptoAuth.c:393 0x5570844098 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Sending key packet 1467721177 DEBUG CryptoAuth.c:602 0x5570841c48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Received a key packet 1467721177 DEBUG InterfaceController.c:286 SwitchPing [kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k] 1467721177 DEBUG CryptoAuth.c:485 0x5570841c48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Doing final step to send message. nonce=4 1467721177 DEBUG CryptoAuth.c:791 0x5570844098 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Trying final handshake step, nonce=4 1467721177 DEBUG CryptoAuth.c:802 0x5570844098 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Final handshake step succeeded 1467721177 DEBUG InterfaceController.c:379 Checking for old sessions to merge with. 1467721177 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013] 1467721177 INFO ControlHandler.c:161 DROP ctrl packet from [0000.0000.0000.0013] with invalid checksum

Assertion failure [Benchmark.c:204] [(sc->msgCount == i)] root@odroid64:/opt/cjdns#