At 07:14 PM 10/2/01 +0100, Ben wrote: >Tom Biggs wrote: > > > > I'm trying to get a handle on how fast our crypto engine is, > > so I'm running 'openssl speed xxx -engine yyy'. > > > > Can someone explain the difference between normal timing and > > '-elapsed' timing? It's giving me wildly different results > > and I would like to understand why. When I do '-elapsed' with > > the software vs. my hardware, it shows the hardware as being > > _much slower_, so clearly I'm missing something. > >Normal timing measures the CPU used, which is typically very little for >hardware. Elapsed is what it says, but obviously has problems unless the >machine is unloaded.
I meant to ask about CPU time - it looks like the ops/second is determined from (#ops)/(CPU time), so it would wildly inflate the number. In some sense it's true that the CPU could be off doing something else instead of cranking out modexps. But I am trying to get hard numbers for the real number of ops per second. That's why I was messing with elapsed time. I'm running my tests on an otherwise unloaded 733 Pentium. >BTW, it isn't unheard of for hardware to be slower that software - some >is that way by design (it can do lots of parallel operations, but >openssl speed doesn't test that) and some is that way because people set >their targets by benchmarking other software - some of which is vastly >slower than OpenSSL. > >What hardware have you got? Newly developed hardware I've just done an ENGINE for. It's not set up for concurrent operations right now. We didn't set any targets, we just designed a modexp the best we knew how. Is -elapsed the way to go to get the real #ops/second? If so, I've got a lot of work to do, because like I said, it says the hardware is slower than the software. And that would be ugly. Though I do have work to do in optimizing the support lib / driver. Tom Biggs ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]