Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-26-2012, 08:27 AM   #1
Registered: Sep 2012
Location: France
Distribution: debian
Posts: 55

Rep: Reputation: Disabled
need help to localise a bad performance on cryptographic operations

Hello everybody

I'm facing a lack of performance on a server equiped with an offload cryptographic card and I'm wondering if it's a driver problem...

The hardware seems to working well :
#openssl speed rsa1024 -engine cavium
sign verify sign/s verify/s
rsa 1024 bits 0.000009s 0.000004s 116775.0 256471.1

#openssl speed rsa1024
sign verify sign/s verify/s
rsa 1024 bits 0.002285s 0.000099s 437.7 10080.4
but if I run openssl in elapsed mode, here are the results :

#openssl speed rsa1024 -engine cavium -elapsed
sign verify sign/s verify/s
rsa 1024 bits 0.000715s 0.000104s 1399.0 9607.3

#openssl speed rsa1024 -elapsed
sign verify sign/s verify/s
rsa 1024 bits 0.002283s 0.000099s 438.0 10053.0
As you can see, the "elapsed" perfs are very bad compared to the cpu time perfs... I would like to know why. The server is doing absolutely nothing else... Here are the headers of the "top commands" during a benchmarking test:

no tests:
Cpu(s): 2.0%us, 1.2%sy, 0.0%ni, 96.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
tests without cavium engine:
Cpu(s): 53.7%us, 0.2%sy, 0.0%ni, 45.9%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
tests with cavium engine loaded:
Cpu(s): 4.8%us, 10.6%sy, 0.0%ni, 84.1%id, 0.0%wa, 0.0%hi, 0.4%si, 0.0%st
I'm suspecting the s/w or driver to spend a lot of time waiting for the crypto accelerator to respond to crypto operations, but I don't know how to confirm this...

Does anybody have an idea about my problem ? or, can someone tell me how to check the "daughter card response time" ?

Thanks a lot
bests regards


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying and Moving Operations and their Performance Differences devUnix Linux - General 1 10-13-2010 09:22 PM
bad performance floris SUSE / openSUSE 3 07-21-2007 08:27 PM
Bad network performance Machiaveli Slackware 5 05-08-2007 07:40 AM
LXer: Localise! LXer Syndicated Linux News 0 07-16-2006 12:21 AM
Very bad i915gm performance noteventime Linux - Hardware 2 04-16-2006 02:10 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration