Added: 2 years ago
From: DrSunnz
Views: 1,582
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (13)

Sign In or Sign Up now to post a comment!
  • sign verify sign/s verify/s

    rsa 512 bits 0.000026s 0.000002s 37821.1 555981.2

    rsa 1024 bits 0.000093s 0.000005s 10758.8 217808.3

    rsa 2048 bits 0.000499s 0.000014s 2002.3 73293.8

    rsa 4096 bits 0.003077s 0.000044s 325.0 22698.0

  • This is the test of my server, 2.8ghz single core p4 with 2gb ram, its an old machine but works great as a file server. It runs gentoo linux 2.6.30-r6. Another though is you may want to test equal versions of openssl.

    rsa 512 bits 0.000884s 0.000062s 1131.2 16162.6

    rsa 1024 bits 0.003914s 0.000165s 255.5 6044.0

    rsa 2048 bits 0.020725s 0.000492s 48.3 2031.2

    rsa 4096 bits 0.121807s 0.001611s 8.2 620.9

    OpenSSL 0.9.8k 25 Mar 2009

  • I am getting much high results now after installing Snow Leopard, I'll put up a new video soonish.

  • I think you need to run the benchmark when your mac is idle, not recording/encoding a video and audio and running multiple webpages. This is what I benched on my MSI Wind netbook 1.6 Atom with 2GB ram running Arch Linux sign verify sign/s verify/s

    rsa 512 bits 0.001218s 0.000097s 820.7 10311.7

    rsa 1024 bits 0.005845s 0.000275s 171.1  3636.8

    rsa 2048 bits 0.033457s 0.000907s 29.9 1102.5

    rsa 4096 bits 0.217195s 0.003161s 4.6 316.4

  • My Mac is *never* idle lol.

  • So no my only issue is the multi core commands do not work. So how do I make multicore work on windows in openssl?

  • The command we used is:

    openssl speed -multi N rsa

    Of course it is not really the cores, but running N threads in parallel, so it really tests your OS's multi-threading capability.

  • that command -multi does not appear to be an option for the windows version.

  • might just have to run it in linux, the windows version of openssl doesn't seem to run correct.

  • slproweb. com/products/Win32OpenSSL . html

  • The stuff in red made me smile. :)

  • Maybe it is \multi or some windows DOS thing...

    Do you have it running in Cygwin? Or Unix service for Windows? That might be easier as they are POSFIX for windows.

  • I will try to take this test with my system when I get the chance.

  • You are probably going to destroy my score because of your hardware and what's said by tnoyca.

  • A few notes about your benchmark. Your build of OpenSSL seems to be horridly under performing from what I'd expect. You should download the source code, compile an optimized version, and run it again.

    It may well be a bad benchmark to use, as the performance depends on how the binary was compiled.

    Also, run using a command like: openssl speed -multi 2 rsa

    This will cause the bench to be threaded and use more than one core. You should be getting much higher numbers than that.

  • For comparison, this is the results for my 2.5GHz Core 2 Duo Thinkpad. The command was: openssl speed rsa sign verify sign/s verify/s

    rsa 512 bits 0.000215s 0.000015s 4653.0 67990.6

    rsa 1024 bits 0.000840s 0.000040s 1190.0 25125.1

    rsa 2048 bits 0.004719s 0.000127s 211.9 7891.2

    rsa 4096 bits 0.030302s 0.000436s 33.0 2293.3

    Adding -multi 2 gives ~80% higher v/s across all values.

  • This is the OpenSSL that came preinstalled with OSX, I will do the speed test again using a new build and -multi, thanks for the tips!

  • I was curious and tested a couple of dev boxes at work. It looks like the low numbers you're getting are due to the OpenSSL included with OS X is only a 32-bit version. I did a test with both a 32-bit binary and a 64-bit binary and the results were significantly different. The results I got with a 32-bit binary were about inline with what you got.

    The listed output for the compiler flaggs for the OS X verison also includes virtually zero optimizations. These are problems your own build will fix

  • Just upgraded to Snow Leopard and this is what I am getting now: (which now comes with 64-bit stuff)

    rsa 512 bits 0.000370s 0.000031s 2702.7 32600.7

    rsa 1024 bits 0.001824s 0.000089s 548.3 11208.4

    rsa 2048 bits 0.010888s 0.000293s 91.8 3407.6

    rsa 4096 bits 0.070770s 0.001029s 14.1 971.7

  • -multi 2:

    rsa 512 bits 0.000262s 0.000022s 3817.3 45454.5

    rsa 1024 bits 0.001228s 0.000062s 814.2 16130.1

    rsa 2048 bits 0.007578s 0.000206s 132.0 4854.5

    rsa 4096 bits 0.048665s 0.000757s 20.5 1320.7

  • I also tried -multi 3 and 4, but 2 is the best on this dual core laptop. Your Thinkpad still performs better, so having that extra 100mhz really helps? What OS are you running there?

  • Wow I got that on about 1 core.

  • Now to get the multi on windows.

    sign verify sign/s verify/s

    rsa 512 bits 0.000214s 0.000015s  4682.9 66030.2

    rsa 1024 bits 0.000762s 0.000038s 1312.6 26586.2

    rsa 2048 bits 0.004110s 0.000114s 243.3 8736.0

    rsa 4096 bits 0.025950s 0.000381s 38.5 2625.0

  • That's not your i7 is it? I am getting higher on my PC using one core/thread, but my PC is OLD.

  • Awe snap. Command line, UNIX wins every time!

  • Hmm I don't know, he have way more raw power... but anyone with a MacPro can easily do this out of the box. :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more