[Ocf-linux-users] OCF userland support
Brought to you by:
david-m
From: Egor N. M. <eg...@pa...> - 2007-10-09 19:15:23
|
David, I noticed that the throughput I get when using cryptotest or OpenSSL speed is much worse than what I get using ocf-bench. I also don't get much improvement, if at all, when running mutiple threads of the above programs. It seems that this is a result of using ioctl(vs unlocked_ioctl) to access /dev/crypto, which would only allow one process doing crypto at a given time. Is that a known problem and are there plans to fix it? Also, is ocf-bench SMP safe? I had to set CRYPTO_F_BATCH in the crp_flags to make it work, otherwise with the CRYPTO_F_CBIMM it would not work in the SMP mode. thanks, -- Egor N. Martovetsky |