Posts: 2,936
Threads: 12
Joined: May 2012
Ryzen certainly wasn't first, heh. Does nobody remember VIA Padlock? I used to love using Via Nano CPUs in my Linux firewalls and SSL terminators.
Posts: 85
Threads: 15
Joined: Jun 2010
03-13-2017, 12:23 AM
(This post was last modified: 03-13-2017, 12:37 AM by blazer.)
Hi guys, there seems to be a huge delay with Ryzen boards so won't be getting my board till end of month. For now here are some numbers from @winxp5421 on a stock 1700x. Perhaps some work needs to be done by the devs to use the new SHA instructions as they seem pretty standard to me.
Edit: The numbers actually look quite bad for Ryzen... not impressed one bit. Is it possible to disable AVX2? and fall back to SSE instead? Since we know ryzen runs AVX2 at half speed, it may be slower than SSE.
Code: C:\Users\thescrambler\Downloads\hashcat-3.40>hashcat64.exe -D 1 -b
hashcat (v3.40) starting in benchmark mode...
OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: Fiji, skipped
* Device #2: Fiji, skipped
* Device #3: AMD Ryzen 7 1700X Eight-Core Processor , 16304/16304 MB allocatable, 16MCU
Hashtype: MD4
Speed.Dev.#3.....: 734.8 MH/s (22.80ms)
Hashtype: MD5
Speed.Dev.#3.....: 602.2 MH/s (27.83ms)
Hashtype: Half MD5
Speed.Dev.#3.....: 389.2 MH/s (42.92ms)
Hashtype: SHA1
Speed.Dev.#3.....: 271.4 MH/s (61.79ms)
Hashtype: SHA256
Speed.Dev.#3.....: 81382.7 kH/s (51.52ms)
Hashtype: SHA384
Speed.Dev.#3.....: 14067.2 kH/s (74.51ms)
Hashtype: SHA512
Speed.Dev.#3.....: 13906.3 kH/s (75.36ms)
Hashtype: SHA-3(Keccak)
Speed.Dev.#3.....: 5256.8 kH/s (49.85ms)
Hashtype: SipHash
Speed.Dev.#3.....: 129.6 MH/s (64.71ms)
Hashtype: Skip32
Speed.Dev.#3.....: 60584.9 kH/s (69.19ms)
Hashtype: RipeMD160
Speed.Dev.#3.....: 107.2 MH/s (78.22ms)
Hashtype: Whirlpool
Speed.Dev.#3.....: 9781.9 kH/s (53.36ms)
Hashtype: GOST R 34.11-94
Speed.Dev.#3.....: 12520.6 kH/s (83.72ms)
Hashtype: GOST R 34.11-2012 (Streebog) 256-bit
Speed.Dev.#3.....: 4926.6 kH/s (53.17ms)
Hashtype: GOST R 34.11-2012 (Streebog) 512-bit
Speed.Dev.#3.....: 5027.5 kH/s (52.10ms)
Hashtype: DES (PT = $salt, key = $pass)
Speed.Dev.#3.....: 157.2 MH/s (53.23ms)
Hashtype: 3DES (PT = $salt, key = $pass)
Speed.Dev.#3.....: 16462.6 kH/s (63.66ms)
Hashtype: phpass, MD5(Wordpress), MD5(phpBB3), MD5(Joomla)
Speed.Dev.#3.....: 197.8 kH/s (40.86ms)
Hashtype: scrypt
Speed.Dev.#3.....: 9574 H/s (12.97ms)
Hashtype: PBKDF2-HMAC-MD5
Speed.Dev.#3.....: 184.5 kH/s (87.31ms)
Hashtype: PBKDF2-HMAC-SHA1
Speed.Dev.#3.....: 86356 H/s (93.78ms)
Hashtype: PBKDF2-HMAC-SHA256
Speed.Dev.#3.....: 33558 H/s (40.28ms)
Hashtype: PBKDF2-HMAC-SHA512
Speed.Dev.#3.....: 5942 H/s (71.46ms)
Hashtype: Skype
Speed.Dev.#3.....: 318.4 MH/s (52.51ms)
Hashtype: WPA/WPA2
Speed.Dev.#3.....: 10278 H/s (49.54ms)
Hashtype: IKE-PSK MD5
Speed.Dev.#3.....: 46080.4 kH/s (90.97ms)
Hashtype: IKE-PSK SHA1
Speed.Dev.#3.....: 17972.9 kH/s (58.30ms)
Hashtype: NetNTLMv1-VANILLA / NetNTLMv1+ESS
Speed.Dev.#3.....: 436.4 MH/s (38.38ms)
Hashtype: NetNTLMv2
Speed.Dev.#3.....: 40493.9 kH/s (51.76ms)
Hashtype: IPMI2 RAKP HMAC-SHA1
Speed.Dev.#3.....: 41142.8 kH/s (50.95ms)
Hashtype: Kerberos 5 AS-REQ Pre-Auth etype 23
Speed.Dev.#3.....: 9099.5 kH/s (56.91ms)
Hashtype: Kerberos 5 TGS-REP etype 23
Speed.Dev.#3.....: 8936.4 kH/s (57.94ms)
Hashtype: DNSSEC (NSEC3)
Speed.Dev.#3.....: 73767.8 kH/s (56.68ms)
Hashtype: PostgreSQL Challenge-Response Authentication (MD5)
Speed.Dev.#3.....: 197.7 MH/s (84.85ms)
Hashtype: MySQL Challenge-Response Authentication (SHA1)
Speed.Dev.#3.....: 62251.9 kH/s (67.20ms)
Hashtype: SIP digest authentication (MD5)
Speed.Dev.#3.....: 37778.7 kH/s (55.47ms)
Hashtype: SMF > v1.1
Speed.Dev.#3.....: 194.1 MH/s (86.42ms)
Hashtype: vBulletin < v3.8.5
Speed.Dev.#3.....: 197.9 MH/s (84.73ms)
Hashtype: vBulletin > v3.8.5
Speed.Dev.#3.....: 121.6 MH/s (68.92ms)
Hashtype: IPB2+, MyBB1.2+
Speed.Dev.#3.....: 114.6 MH/s (73.16ms)
Hashtype: WBB3, Woltlab Burning Board 3
Speed.Dev.#3.....: 31000.3 kH/s (67.61ms)
Hashtype: OpenCart
Speed.Dev.#3.....: 46765.8 kH/s (89.60ms)
Hashtype: Joomla < 2.5.18
Speed.Dev.#3.....: 450.5 MH/s (37.20ms)
Hashtype: PHPS
Speed.Dev.#3.....: 193.3 MH/s (86.78ms)
Hashtype: Drupal7
Speed.Dev.#3.....: 525 H/s (58.30ms)
Hashtype: osCommerce, xt:Commerce
Speed.Dev.#3.....: 319.5 MH/s (52.45ms)
Hashtype: PrestaShop
Speed.Dev.#3.....: 227.7 MH/s (73.63ms)
Hashtype: Django (SHA-1)
Speed.Dev.#3.....: 183.2 MH/s (91.52ms)
Hashtype: Django (PBKDF2-SHA256)
Speed.Dev.#3.....: 1658 H/s (61.68ms)
Hashtype: Mediawiki B type
Speed.Dev.#3.....: 141.0 MH/s (59.43ms)
Hashtype: Redmine Project Management Web App
Speed.Dev.#3.....: 68730.9 kH/s (60.99ms)
Hashtype: PunBB
Speed.Dev.#3.....: 68126.9 kH/s (61.54ms)
Hashtype: PostgreSQL
Speed.Dev.#3.....: 489.5 MH/s (34.25ms)
Hashtype: MSSQL(2000)
Speed.Dev.#3.....: 268.6 MH/s (62.42ms)
Hashtype: MSSQL(2005)
Speed.Dev.#3.....: 263.7 MH/s (63.58ms)
Hashtype: MSSQL(2012)
Speed.Dev.#3.....: 13995.4 kH/s (74.89ms)
Hashtype: MySQL323
Speed.Dev.#3.....: 1717.8 MH/s (9.74ms)
Hashtype: MySQL4.1/MySQL5
Speed.Dev.#3.....: 100.8 MH/s (83.16ms)
Hashtype: Oracle H: Type (Oracle 7+)
Speed.Dev.#3.....: 21756.3 kH/s (95.22ms)
Hashtype: Oracle S: Type (Oracle 11+)
Speed.Dev.#3.....: 254.9 MH/s (65.79ms)
Hashtype: Oracle T: Type (Oracle 12+)
Speed.Dev.#3.....: 993 H/s (64.37ms)
Hashtype: Sybase ASE
Speed.Dev.#3.....: 12794.4 kH/s (81.93ms)
Hashtype: EPiServer 6.x < v4
Speed.Dev.#3.....: 196.1 MH/s (85.52ms)
Hashtype: EPiServer 6.x > v4
Speed.Dev.#3.....: 82185.8 kH/s (51.01ms)
Hashtype: md5apr1, MD5(APR), Apache MD5
Speed.Dev.#3.....: 86225 H/s (94.11ms)
Hashtype: ColdFusion 10+
Speed.Dev.#3.....: 53482.4 kH/s (78.39ms)
Hashtype: hMailServer
Speed.Dev.#3.....: 86664.9 kH/s (48.36ms)
Hashtype: SHA-1(Base64), nsldap, Netscape LDAP SHA
Speed.Dev.#3.....: 266.5 MH/s (62.93ms)
Hashtype: SSHA-1(Base64), nsldaps, Netscape LDAP SSHA
Speed.Dev.#3.....: 259.0 MH/s (64.76ms)
Hashtype: SSHA-256(Base64), LDAP {SSHA256}
Speed.Dev.#3.....: 74153.1 kH/s (56.53ms)
Hashtype: SSHA-512(Base64), LDAP {SSHA512}
Speed.Dev.#3.....: 13796.2 kH/s (75.96ms)
Hashtype: LM
Speed.Dev.#3.....: 153.5 MH/s (54.53ms)
Hashtype: NTLM
Speed.Dev.#3.....: 650.3 MH/s (25.77ms)
Hashtype: Domain Cached Credentials (DCC), MS Cache
Speed.Dev.#3.....: 320.3 MH/s (52.33ms)
Hashtype: Domain Cached Credentials 2 (DCC2), MS Cache 2
Speed.Dev.#3.....: 8335 H/s (49.03ms)
Hashtype: MS-AzureSync PBKDF2-HMAC-SHA256
Speed.Dev.#3.....: 125.5 kH/s (41.85ms)
Hashtype: descrypt, DES(Unix), Traditional DES
Speed.Dev.#3.....: 7558.3 kH/s (138.35ms)
Hashtype: BSDiCrypt, Extended DES
Speed.Dev.#3.....: 40725 H/s (66.66ms)
Hashtype: md5crypt, MD5(Unix), FreeBSD MD5, Cisco-IOS MD5
Speed.Dev.#3.....: 76995 H/s (105.45ms)
Hashtype: bcrypt, Blowfish(OpenBSD)
Speed.Dev.#3.....: 5566 H/s (89.79ms)
Hashtype: sha256crypt, SHA256(Unix)
Speed.Dev.#3.....: 5004 H/s (81.30ms)
Hashtype: sha512crypt, SHA512(Unix)
Speed.Dev.#3.....: 1286 H/s (79.29ms)
Hashtype: OSX v10.4, v10.5, v10.6
Speed.Dev.#3.....: 181.4 MH/s (92.31ms)
Hashtype: OSX v10.7
Speed.Dev.#3.....: 12038.9 kH/s (87.05ms)
Hashtype: OSX v10.8+
Speed.Dev.#3.....: 153 H/s (86.91ms)
Hashtype: AIX {smd5}
Speed.Dev.#3.....: 93213 H/s (87.08ms)
Hashtype: AIX {ssha1}
Speed.Dev.#3.....: 382.3 kH/s (20.00ms)
Hashtype: AIX {ssha256}
Speed.Dev.#3.....: 209.7 kH/s (37.31ms)
Hashtype: AIX {ssha512}
Speed.Dev.#3.....: 62687 H/s (63.10ms)
Hashtype: Cisco-PIX MD5
Speed.Dev.#3.....: 362.9 MH/s (46.20ms)
Hashtype: Cisco-ASA MD5
Speed.Dev.#3.....: 326.6 MH/s (51.33ms)
Hashtype: Cisco-IOS SHA256
Speed.Dev.#3.....: 81420.4 kH/s (51.49ms)
Hashtype: Cisco $8$
Speed.Dev.#3.....: 1661 H/s (61.59ms)
Hashtype: Cisco $9$
Speed.Dev.#3.....: 1711 H/s (74.46ms)
Hashtype: Juniper Netscreen/SSG (ScreenOS)
Speed.Dev.#3.....: 400.9 MH/s (41.82ms)
Hashtype: Juniper IVE
Speed.Dev.#3.....: 93310 H/s (87.04ms)
Hashtype: Android PIN
Speed.Dev.#3.....: 59701 H/s (68.15ms)
Hashtype: Citrix NetScaler
Speed.Dev.#3.....: 225.0 MH/s (74.52ms)
Hashtype: RACF
Speed.Dev.#3.....: 50040.8 kH/s (83.79ms)
Hashtype: GRUB 2
Speed.Dev.#3.....: 584 H/s (86.64ms)
Hashtype: Radmin2
Speed.Dev.#3.....: 208.3 MH/s (80.35ms)
Hashtype: SAP CODVN B (BCODE)
Speed.Dev.#3.....: 46692.0 kH/s (89.80ms)
Hashtype: SAP CODVN F/G (PASSCODE)
Speed.Dev.#3.....: 18935.0 kH/s (55.35ms)
Hashtype: SAP CODVN H (PWDSALTEDHASH) iSSHA-1
Speed.Dev.#3.....: 67547 H/s (60.26ms)
Hashtype: Lotus Notes/Domino 5
Speed.Dev.#3.....: 5241.4 kH/s (99.58ms)
Hashtype: Lotus Notes/Domino 6
Speed.Dev.#3.....: 1847.4 kH/s (70.85ms)
Hashtype: Lotus Notes/Domino 8
Speed.Dev.#3.....: 6912 H/s (58.68ms)
Hashtype: PeopleSoft
Speed.Dev.#3.....: 270.4 MH/s (62.01ms)
Hashtype: PeopleSoft PS_TOKEN
Speed.Dev.#3.....: 31458.0 kH/s (66.64ms)
Hashtype: 7-Zip
Speed.Dev.#3.....: 93 H/s (65.44ms)
Hashtype: WinZip
Speed.Dev.#3.....: 11542 H/s (66.25ms)
Hashtype: RAR3-hp
Speed.Dev.#3.....: 770 H/s (83.00ms)
Hashtype: RAR5
Speed.Dev.#3.....: 406 H/s (77.32ms)
Hashtype: AxCrypt
Speed.Dev.#3.....: 8557 H/s (95.63ms)
Hashtype: AxCrypt in memory SHA1
Speed.Dev.#3.....: 247.1 MH/s (67.86ms)
Hashtype: TrueCrypt PBKDF2-HMAC-RipeMD160 + XTS 512 bit
Speed.Dev.#3.....: 3173 H/s (80.47ms)
Hashtype: TrueCrypt PBKDF2-HMAC-SHA512 + XTS 512 bit
Speed.Dev.#3.....: 3239 H/s (65.90ms)
Hashtype: TrueCrypt PBKDF2-HMAC-Whirlpool + XTS 512 bit
Speed.Dev.#3.....: 391 H/s (70.99ms)
Hashtype: TrueCrypt PBKDF2-HMAC-RipeMD160 + XTS 512 bit + boot-mode
Speed.Dev.#3.....: 1785 H/s (122.20ms)
Hashtype: VeraCrypt PBKDF2-HMAC-RipeMD160 + XTS 512 bit
Speed.Dev.#3.....: 0 H/s (50.74ms)
Hashtype: VeraCrypt PBKDF2-HMAC-SHA512 + XTS 512 bit
Speed.Dev.#3.....: 0 H/s (65.16ms)
Hashtype: VeraCrypt PBKDF2-HMAC-Whirlpool + XTS 512 bit
Speed.Dev.#3.....: 0 H/s (72.94ms)
Hashtype: VeraCrypt PBKDF2-HMAC-RipeMD160 + XTS 512 bit + boot-mode
Speed.Dev.#3.....: 0 H/s (108.38ms)
Hashtype: VeraCrypt PBKDF2-HMAC-SHA256 + XTS 512 bit
Speed.Dev.#3.....: 0 H/s (75.85ms)
Hashtype: VeraCrypt PBKDF2-HMAC-SHA256 + XTS 512 bit + boot-mode
Speed.Dev.#3.....: 31 H/s (76.62ms)
Hashtype: Android FDE <= 4.3
Speed.Dev.#3.....: 8404 H/s (60.62ms)
Hashtype: Android FDE (Samsung DEK)
Speed.Dev.#3.....: 3084 H/s (82.81ms)
Hashtype: eCryptfs
Speed.Dev.#3.....: 125 H/s (58.57ms)
Hashtype: MS Office <= 2003 MD5 + RC4, oldoffice$0, oldoffice$1
Speed.Dev.#3.....: 8736.1 kH/s (59.26ms)
Hashtype: MS Office <= 2003 MD5 + RC4, collision-mode #1
Speed.Dev.#3.....: 17194.7 kH/s (60.80ms)
Hashtype: MS Office <= 2003 SHA1 + RC4, oldoffice$3, oldoffice$4
Speed.Dev.#3.....: 12358.8 kH/s (84.62ms)
Hashtype: MS Office <= 2003 SHA1 + RC4, collision-mode #1
Speed.Dev.#3.....: 18782.6 kH/s (55.65ms)
Hashtype: Office 2007
Speed.Dev.#3.....: 1430 H/s (57.89ms)
Hashtype: Office 2010
Speed.Dev.#3.....: 685 H/s (58.63ms)
Hashtype: Office 2013
Speed.Dev.#3.....: 62 H/s (57.98ms)
Hashtype: PDF 1.1 - 1.3 (Acrobat 2 - 4)
Speed.Dev.#3.....: 19973.6 kH/s (52.46ms)
Hashtype: PDF 1.1 - 1.3 (Acrobat 2 - 4) + collider-mode #1
Speed.Dev.#3.....: 28099.3 kH/s (74.31ms)
Hashtype: PDF 1.4 - 1.6 (Acrobat 5 - 8)
Speed.Dev.#3.....: 824.9 kH/s (77.07ms)
Hashtype: PDF 1.7 Level 3 (Acrobat 9)
Speed.Dev.#3.....: 80244.3 kH/s (52.22ms)
Hashtype: PDF 1.7 Level 8 (Acrobat 10 - 11)
Speed.Dev.#3.....: 3389 H/s (75.32ms)
Hashtype: Password Safe v2
Speed.Dev.#3.....: 114.6 kH/s (90.94ms)
Hashtype: Password Safe v3
Speed.Dev.#3.....: 13125 H/s (77.80ms)
Hashtype: Lastpass
Speed.Dev.#3.....: 27015 H/s (74.50ms)
Hashtype: 1Password, agilekeychain
Speed.Dev.#3.....: 33675 H/s (59.98ms)
Hashtype: 1Password, cloudkeychain
Speed.Dev.#3.....: 92 H/s (62.94ms)
Hashtype: Bitcoin/Litecoin wallet.dat
Speed.Dev.#3.....: 31 H/s (58.04ms)
Hashtype: Blockchain, My Wallet
Speed.Dev.#3.....: 565.8 kH/s (8.95ms)
Hashtype: Keepass 1 (AES/Twofish) and Keepass 2 (AES)
Speed.Dev.#3.....: 7765 H/s (87.65ms)
Hashtype: ArubaOS
Speed.Dev.#3.....: 196.1 MH/s (85.37ms)
Started: Sun Mar 12 14:27:34 2017
Stopped: Sun Mar 12 14:36:45 2017
Posts: 44
Threads: 8
Joined: Nov 2016
That's Super disappointing, but as with everything on this processor and chip set it remains to be seen what optimization can and will be done. On a parallel note, I have seen some YouTube videos touting good support for native Linux versions using kernel 4.1+ however nothing on The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) yet specifically. And have seen one which shows some support for passing pci video cards though to virtualized host which could be huge for things like hashcat in the VM world.
Also, really glad to see I wasn't the only one wondering how this chip might perform. Thanks for the feedback.
Posts: 5,185
Threads: 230
Joined: Apr 2010
Note that this is OpenCL. We do not have access to SSE2, AVX2 or whatever kind of special registers and instruction set exist on the device. The OpenCL runtime itself is managing the access to this and with our OpenCL code we just enable the OpenCL JIT to reformat the code in a way that enables it to map it to for example AVX2. I'm sorry, but this is nothing we can achieve from developer side.
Posts: 40
Threads: 5
Joined: Dec 2013
(03-13-2017, 12:23 AM)blazer Wrote: Edit: The numbers actually look quite bad for Ryzen... not impressed one bit. Is it possible to disable AVX2? and fall back to SSE instead? Since we know ryzen runs AVX2 at half speed, it may be slower than SSE.
As long as AMD is counting on Intel's compilers and Intel's optimizations, those things can happen.
Almost every app out there is Intel optimized.
Tell the user to try both CPU OpenCL drivers, from AMD and Intel and see which is faster for RyZen.
You have to wait also for the Windows 10 scheduler bug fix, if the platform tested was Win 10 of course.
Posts: 381
Threads: 1
Joined: Aug 2014
Do we have a comparison somewhere? I recon in MD5 it seems quite fast for a CPU and bcrypt looks kind of slow.
Posts: 381
Threads: 1
Joined: Aug 2014
From what I've read Ryzen has a problem with sleeping cores, which take too much time to wake up. Since the benchmark has a very short running time in terms of each Hashtype and it has been tested under Windows, it would be interesting to see if changing to high energy profile would alter the numbers positivly.
Posts: 44
Threads: 8
Joined: Nov 2016
Finally got my system up and running over the weekend, @Blazer, how did you get hashcat to recognize ryzen as an opencl device. I know Intel has a runtime but not sure what it takes for AMD-Zen?
Code: C:\Users\User\Downloads\hashcat-3.40>hashcat64.exe -I
hashcat (v3.40) starting...
OpenCL Info:
Platform ID #1
Vendor : NVIDIA Corporation
Name : NVIDIA CUDA
Version : OpenCL 1.2 CUDA 8.0.0
Device ID #1
Type : GPU
Vendor ID : 32
Vendor : NVIDIA Corporation
Name : GeForce GTX 1070
Version : OpenCL 1.2 CUDA
Processor(s) : 15
Clock : 1784
Memory : 2048/8192 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 378.78
C:\Users\User\Downloads\hashcat-3.40>
Posts: 85
Threads: 15
Joined: Jun 2010
It wasn't me that did the benchmark. It was @winxp5421 who did it. I just asked him and he had an AMD card installed so I assume it used that OpenCL runtime. I have the same issue as you on mine with Nvidia card. I'll try later with an AMD GPU and see what happens.
Posts: 40
Threads: 5
Joined: Dec 2013
For mining, like cracking hashes, multi-core performance could be more important than AVX2 optimizations.
RyZen 7 is 8C/16T and has almost double performance in mining than Core i7 7700K
https://www.nicehash.com/?p=news&id=148
|