Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4440

K3 Benchmark. Benchmarking Ciphers. (And a handy test of the scripty wangle WIP)

$
0
0
Extract somewhere on FAT drive

[root@kindle us]# ./benchmark.sh
Spoiler:

MD5 : 9639 Kb/s, 0 cycles/byte
SHA-1 : 5841 Kb/s, 0 cycles/byte
SHA-256 : 2808 Kb/s, 0 cycles/byte
SHA-512 : 1488 Kb/s, 0 cycles/byte
ARC4 : 4279 Kb/s, 0 cycles/byte
3DES : 466 Kb/s, 2 cycles/byte
DES : 1085 Kb/s, 1 cycles/byte
AES-128 : 1832 Kb/s, 0 cycles/byte
AES-192 : 1650 Kb/s, 0 cycles/byte
AES-256 : 1504 Kb/s, 0 cycles/byte
CAMELLIA-128 : 1281 Kb/s, 0 cycles/byte
CAMELLIA-192 : 1000 Kb/s, 0 cycles/byte
CAMELLIA-256 : 1004 Kb/s, 0 cycles/byte
HAVEGE : 62 Kb/s, 16 cycles/byte
CTR_DRBG (NOPR) : 1607 Kb/s, 0 cycles/byte
CTR_DRBG (PR) : 1149 Kb/s, 0 cycles/byte
RSA-1024 : 604 public/s
RSA-1024 : 30 private/s
RSA-2048 : 188 public/s
RSA-2048 : 6 private/s
RSA-4096 : 53 public/s
RSA-4096 : 1 private/s

The point here is not what does benchmark do? it does ^this, at about this speed on all threes.

This was about, getting libs reffed right and packaging stuff neatly, which is now done to a large degree.

Here's a readelf -d pruned.

Dynamic section at offset 0x25d8 contains 25 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libpolarssl.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]

This should now work OOTB on all 3's. possibly others FB welcomed on that.

As I said this is about establishing working practices.
The application is now made available with the better script.

Thanks.

Attached Files
File Type: gz benchmark.tar.gz (122.4 KB)

Viewing all articles
Browse latest Browse all 4440

Trending Articles