Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <op.x3i1vuojzz6j51@1pqhgq1.dtn.com>
Date: Mon, 17 Aug 2015 14:32:08 -0500
From: JimF <jfoug@....net>
To: john-dev@...ts.openwall.com
Subject: Re: Sybase-PROP (Re: FMT_OMP_BAD)

On Mon, 17 Aug 2015 13:57:54 -0500, Solar Designer <solar@...nwall.com>  
wrote:

> I've attached the patch.  There are many changes, but almost all of the
> speedup comes from the replaced Rot2().
>
> Non-OpenMP is only slightly faster than before:
>
> [solar@...er run]$ ./john -test -form=sybase-prop
> Benchmarking: Sybase-PROP [salted FEAL-8 32/64]... DONE
> Many salts:     399104 c/s real, 399104 c/s virtual
> Only one salt:  397312 c/s real, 397312 c/s virtual
>
> but OpenMP scaling is now much better:
>
> [solar@...er run]$ OMP_NUM_THREADS=1 ./john -test -form=sybase-prop
> Warning: OpenMP is disabled; a non-OpenMP build may be faster
> Benchmarking: Sybase-PROP [salted FEAL-8 32/64]... DONE
> Many salts:     398464 c/s real, 398464 c/s virtual
> Only one salt:  396672 c/s real, 396672 c/s virtual
>
> [solar@...er run]$ OMP_NUM_THREADS=10 ./john -test -form=sybase-prop
> Will run 10 OpenMP threads
> Benchmarking: Sybase-PROP [salted FEAL-8 32/64]... (10xOMP) DONE
> Many salts:     3543K c/s real, 352541 c/s virtual
> Only one salt:  3345K c/s real, 335904 c/s virtual
>

I find it to be overall faster but I was not having much OMP scale issue  
before:

Before
$ ../run/john -test=5 -form=sybase-prop
Will run 8 OpenMP threads
Benchmarking: Sybase-PROP [salted FEAL-8 32/64]... (8xOMP) DONE
Many salts:     2586K c/s real, 349628 c/s virtual
Only one salt:  2552K c/s real, 339893 c/s virtual

After
$ ../run/john -test=5 -form=sybase-prop
Will run 8 OpenMP threads
Benchmarking: Sybase-PROP [salted FEAL-8 32/64]... (8xOMP) DONE
Many salts:     3380K c/s real, 452501 c/s virtual
Only one salt:  3269K c/s real, 451823 c/s virtual


This is on a 4 core HT system.  was getting 7.5x now 7.25x  (1 salt).

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.