Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 06 Dec 2011 12:26:09 -0500
From: Erik Winkler <ewinkler@...ls.com>
To: john-dev@...ts.openwall.com
Subject: Re: Use of ICC


> This makes me wonder whether the code in question is being run at all or
> not (in your build).  Can you try replacing the instruction with hlt,
> then running that build?  (It should crash.  If it does not crash, then
> the code is probably not being run.)

Yes, putting in the hlt command causes the app to crash with "Segmentation fault"

>> 
> 
> Sure, but does it run just as well?
> 

Here are 2 benchmarks.  No real difference that I see.

1) xgetbv commented out

../run/john -test 
Benchmarking: Traditional DES [128/128 BS AVX-16]... DONE
Many salts:	19595K c/s real, 2450K c/s virtual
Only one salt:	15151K c/s real, 1895K c/s virtual

Benchmarking: BSDI DES (x725) [128/128 BS AVX-16]... DONE
Many salts:	666828 c/s real, 83374 c/s virtual
Only one salt:	562790 c/s real, 70649 c/s virtual

Benchmarking: FreeBSD MD5 [32/64 X2]... DONE
Raw:	57523 c/s real, 7208 c/s virtual

Benchmarking: OpenBSD Blowfish (x32) [32/64 X2]... DONE
Raw:	3774 c/s real, 473 c/s virtual

Benchmarking: Kerberos AFS DES [48/64 4K]... DONE
Short:	457932 c/s real, 382886 c/s virtual
Long:	1553K c/s real, 1553K c/s virtual

Benchmarking: LM DES [128/128 BS AVX-16]... DONE
Raw:	56551K c/s real, 7079K c/s virtual

Benchmarking: Tripcode DES [48/64 4K]... DONE
Raw:	415513 c/s real, 350348 c/s virtual

Benchmarking: dummy [N/A]... DONE
Raw:	76510K c/s real, 76510K c/s virtual


2) With .byte 0x0f, 0x01, 0xd0
../run/john -test
Benchmarking: Traditional DES [128/128 BS AVX-16]... DONE
Many salts:	19523K c/s real, 2444K c/s virtual
Only one salt:	15138K c/s real, 1894K c/s virtual

Benchmarking: BSDI DES (x725) [128/128 BS AVX-16]... DONE
Many salts:	666828 c/s real, 83353 c/s virtual
Only one salt:	568934 c/s real, 71187 c/s virtual

Benchmarking: FreeBSD MD5 [32/64 X2]... DONE
Raw:	57638 c/s real, 7210 c/s virtual

Benchmarking: OpenBSD Blowfish (x32) [32/64 X2]... DONE
Raw:	3794 c/s real, 474 c/s virtual

Benchmarking: Kerberos AFS DES [48/64 4K]... DONE
Short:	452966 c/s real, 378734 c/s virtual
Long:	1555K c/s real, 1555K c/s virtual

Benchmarking: LM DES [128/128 BS AVX-16]... DONE
Raw:	56492K c/s real, 7075K c/s virtual

Benchmarking: Tripcode DES [48/64 4K]... DONE
Raw:	402636 c/s real, 340064 c/s virtual

Benchmarking: dummy [N/A]... DONE
Raw:	76324K c/s real, 76324K c/s virtual


Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ