Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <C3E425F4-A5B5-46A5-810C-29EED3ED163C@erols.com>
Date: Tue, 01 May 2012 03:00:05 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-dev@...ts.openwall.com
Subject: Re: JtR compilation warnings on OS X 10.7.3 with Xcode 4.3.2

Here is some strange results.  I ran the same compiled applications on a 10.6 system (3.2 Ghz core i7 cpu) and there was a significant slow-down in some cases.  See below:

OpenSSL Version:

./john_single -test -format:episerver
Benchmarking: EPiServer [32/64]... DONE
Raw:	4850K c/s real, 4850K c/s virtual

./john_single -test -format:drupal7
Benchmarking: Drupal 7 $S$ (SHA-512 x 16385) [64/64]... DONE
Raw:	98.0 c/s real, 98.0 c/s virtual


CommonCrypto Version:

./john_single -test -format:episerver
Benchmarking: EPiServer [32/64]... DONE
Raw:	4153K c/s real, 4153K c/s virtual

./john_single -test -format:drupal7  
Benchmarking: Drupal 7 $S$ (SHA-512 x 16385) [64/64]... DONE
Raw:	88.0 c/s real, 88.0 c/s virtual


On a 3.6 Ghz core i5  system running 10.7.3, I get the expected speed up:

OpenSSL Version:
./john_single -test -format:episerver 
Benchmarking: EPiServer [32/64]... DONE
Raw:	4329K c/s real, 4373K c/s virtual

./john_single -test -format:drupal7  
Benchmarking: Drupal 7 $S$ (SHA-512 x 16385) [64/64]... DONE
Raw:	89.1 c/s real, 89.1 c/s virtual


CommonCrypto Version:

./john_single -test -format:episerver
Benchmarking: EPiServer [32/64]... DONE
Raw:	5521K c/s real, 5577K c/s virtual

./john_single -test -format:drupal7  
Benchmarking: Drupal 7 $S$ (SHA-512 x 16385) [64/64]... DONE
Raw:	102 c/s real, 102 c/s virtual


So maybe this is why we get the compile alerts in Lion and not Snow Leopard.  Apple must have made significant improvements to the CommonCrypto code.

Erik


> 
> Thanks Erik. I will patch more formats to use CommonCrypto On OS X.
> 
> -- 
> Cheers,
> Dhiru

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.