Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170623104816.GA26946@openwall.com>
Date: Fri, 23 Jun 2017 12:48:16 +0200
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: The performance of fpga?

On Fri, Jun 23, 2017 at 07:39:11AM +0000, Sebastian Heyn wrote:
> I'm just compiling a fresh git jumbo john, and I saw USB FPGA support...
> 
> Can anyone who has used this before tell me how powerfull it is? I mean compared to price/power
> I'm currently using 3x GTX1070 and I'm quite happy with the performance of the cards, but a little extra could also be nice ;-)

We currently only have descrypt and bcrypt implemented on FPGA.

For descrypt performance testing, see:

http://www.openwall.com/lists/john-users/2016/11/06/1

For bcrypt, I intend to make a similar posting soon.  We're just getting
it in this week, still completing internal testing and fixing bugs.  For
technical detail, you could read:

https://github.com/magnumripper/JohnTheRipper/commit/4c37300e32c5b8c47e34be3a0b28a94ecd30da2a#diff-af56e15c23e8e70150ed23cb93cbae6fR1

The speed is roughly ~105k c/s at bcrypt cost 5 on ZTEX 1.15y without
overclocking, ~115k with overclocking.  It should scale almost linearly
with multiple boards (e.g. ~103k c/s/board with 3 boards/host).  I can't
easily measure the power consumption right now, but I estimate it's ~20W
as both the board (with a large but slowly rotating cooling fan) and the
12V, 5A power adapter (brick) stay barely warm to the touch.  These used
to get much warmer in Bitcoin mining tests (known to be ~40W), and
somewhat warmer with our descrypt-ztex.  Stay tuned for more detail.

Also see this recent reply on what else we could implement on FPGAs:

http://www.openwall.com/lists/john-users/2017/05/31/2

And this Twitter poll/thread:

https://twitter.com/solardiz/status/876087192573104128

PBKDF2-HMAC-SHA* won, and we'll likely have it in a few months from now.
This means things like WPA and dmg.

Another target we intend to explore is AWS F1, but we don't have
anything ready yet.  F1 turned out to be reasonably priced - $1.65/hour
per FPGA, spot price now is ~$0.18/hour (I guess not much demand yet):

https://aws.amazon.com/ec2/instance-types/f1/
https://aws.amazon.com/ec2/pricing/on-demand/
https://aws.amazon.com/ec2/spot/pricing/ (choose N. Virginia)

Alexander

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.