Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize curl transform formulas #101

Merged
merged 1 commit into from
Feb 13, 2019
Merged

Optimize curl transform formulas #101

merged 1 commit into from
Feb 13, 2019

Conversation

wusyong
Copy link

@wusyong wusyong commented Feb 13, 2019

Utilize Quine-McCluskey algorithm to optimized transform function in
each pow implementation files. SSE has improvement by ~10%, while AVX
and AVX2 have no significant change. Following benchmarks are tested on
node0.

SSE
Original:
Hash rate average value: 7997.251 kH/sec,
with the range +- 109.604 kH/sec including 95% of the hash rate values.

Optimized:
Hash rate average value: 9075.665 kH/sec,
with the range +- 112.197 kH/sec including 95% of the hash rate values.

AVX
Original:
Hash rate are around 94XX kH/s with multiple tests
Hash rate average value: 9452.758 kH/sec,
with the range +- 394.444 kH/sec including 95% of the hash rate values.

Optimized:
Hash rate are around 95XX kH/s with multiple tests
Hash rate average value: 9578.751 kH/sec,
with the range +- 341.911 kH/sec including 95% of the hash rate values.

Resolve #97

Utilize Quine-McCluskey algorithm to optimized transform function in
each pow implementation files. SSE has improvement by ~10%, while AVX
and AVX2 have no significant change. Following benchmarks are tested on
node0.

SSE
Original:
Hash rate average value: 7997.251 kH/sec,
with the range +- 109.604 kH/sec including 95% of the hash rate values.

Optimized:
Hash rate average value: 9075.665 kH/sec,
with the range +- 112.197 kH/sec including 95% of the hash rate values.

AVX
Original:
Hash rate are around 94XX kH/s with multiple tests
Hash rate average value: 9452.758 kH/sec,
with the range +- 394.444 kH/sec including 95% of the hash rate values.

Optimized:
Hash rate are around 95XX kH/s with multiple tests
Hash rate average value: 9578.751 kH/sec,
with the range +- 341.911 kH/sec including 95% of the hash rate values.

Resolve DLTcollab#97
@jserv jserv self-requested a review February 13, 2019 07:09
@jserv jserv merged commit 3d6fa34 into DLTcollab:dev Feb 13, 2019
@wusyong wusyong deleted the optimized branch February 18, 2019 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants