duino-coin icon indicating copy to clipboard operation
duino-coin copied to clipboard

Boost AVR hashrate from 342H/s to 721H/s

Open JK-Rolling opened this issue 1 year ago • 1 comments

This PR uses AVR25 assembly to optimize sha1_rotl of 5 and 30 to achieve performance boost of 210%

JK-Rolling avatar May 11 '25 04:05 JK-Rolling

This works nice, but difficulty is set to 128, so double the hash rate bur 12x the difficulty.

jpx13 avatar Oct 23 '25 11:10 jpx13

Would this PR replace the actual files used in all AVR codes or be an "optional" feature ?

jpx13 avatar Feb 25 '26 08:02 jpx13

For now this would be used on all AVR. But from perspective of compatibility with various uC, I'm thinking to make this optional first. I'll recommend to reject this PR first so the code can be better handled. will submit a new PR later

JK-Rolling avatar Feb 26 '26 23:02 JK-Rolling