[GH-ISSUE #916] PHPass does not use SIMD for non-OMP builds #518

Closed
opened 2026-10-14 03:11:43 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @magnumripper on GitHub (Dec 19, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/916

Spin-off from #877

$ grep -A1 phpass no-omp.txt omp1.txt
no-omp.txt:Benchmarking: dynamic_17 [phpass ($P$ or $H$) 32/64 1x2  (MD5_body)]... DONE
no-omp.txt-Raw: 3690 c/s real, 3617 c/s virtual
--
no-omp.txt:Benchmarking: phpass ($P$9) [phpass ($P$ or $H$) 32/64 1x2  (MD5_body)]... DONE
no-omp.txt-Raw: 3638 c/s real, 3638 c/s virtual
--
omp1.txt:Benchmarking: dynamic_17 [phpass ($P$ or $H$) 128/128 AVX 4x4x3]... DONE
omp1.txt-Raw:   22194 c/s real, 22194 c/s virtual
--
omp1.txt:Benchmarking: phpass ($P$9) [phpass ($P$ or $H$) 128/128 AVX 4x4x3]... DONE
omp1.txt-Raw:   22416 c/s real, 22194 c/s virtual

Why is that? I presume it's a bug?

Originally created by @magnumripper on GitHub (Dec 19, 2014). Original GitHub issue: https://github.com/openwall/john/issues/916 Spin-off from #877 ``` $ grep -A1 phpass no-omp.txt omp1.txt no-omp.txt:Benchmarking: dynamic_17 [phpass ($P$ or $H$) 32/64 1x2 (MD5_body)]... DONE no-omp.txt-Raw: 3690 c/s real, 3617 c/s virtual -- no-omp.txt:Benchmarking: phpass ($P$9) [phpass ($P$ or $H$) 32/64 1x2 (MD5_body)]... DONE no-omp.txt-Raw: 3638 c/s real, 3638 c/s virtual -- omp1.txt:Benchmarking: dynamic_17 [phpass ($P$ or $H$) 128/128 AVX 4x4x3]... DONE omp1.txt-Raw: 22194 c/s real, 22194 c/s virtual -- omp1.txt:Benchmarking: phpass ($P$9) [phpass ($P$ or $H$) 128/128 AVX 4x4x3]... DONE omp1.txt-Raw: 22416 c/s real, 22194 c/s virtual ``` Why is that? I presume it's a bug?
bsakaguchi 2026-10-14 03:11:43 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jfoug commented on GitHub (Dec 19, 2014):

It is great to have syntax highlight 'smart' editor when trying to fix crap like was done here.

<!-- gh-comment-id:67641383 --> @jfoug commented on GitHub (Dec 19, 2014): It is great to have syntax highlight 'smart' editor when trying to fix crap like was done here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#518
No description provided.