[Ocf-linux-users] Benchmarking issues
Brought to you by:
david-m
From: Adam C. (Le_Vert) <ga...@le...> - 2011-09-01 10:35:12
|
Hello OCF guys, I'm trying to enable ocf on a Geode LX cpu wich is known to handle aes-128-cbc trhough geode-aes kernel module. I rebuilt linux-3.0 with OCF kernel patch and then rebuilt openssl debian's package with -DHAVE_CRYPTODEV -I$(CURDIR)/debian/includes (this directory contains crypto/cryptodev.h) Then I loaded ocf, cryptosoft and cryptodev kernel modules... Here is the result of my tests using different cipher: # With OpenSSL 1.0.0d cryptodev enabled package # openssl speed -evp <cipher> aes-128-cbc 16761.07k 58822.40k 240275.91k 547942.40k 3126886.40k bf-cbc 13351.73k 67366.40k 191564.80k 715946.67k 1298432.00k des-ede3-cbc 30708.80k 88375.47k 186675.20k 415846.40k infk #rmmod cryptodev aes-128-cbc 3595.73k 3942.16k 4062.50k 8154.89k 8244.06k bf-cbc 8260.17k 10052.27k 10728.30k 10923.12k 10929.06k des-ede3-cbc 1961.65k 2046.67k 2071.55k 2076.43k 2074.03k Results without cryptodev looks fine (slow 500Mhz CPU) but the ones with cryptodev loaded doesn't make any sense ! There's no reason to have such faster blowfish and des results, as the hardware chip only handles aes-128-cbc. Could you please tell me what I'm doing wrong ??? Thanks a lot in advance, Regards, Adam. |