macchky / cpuminer

CPU miner for BitZeny and Litecoin and Bitcoin
https://bitcointalk.org/index.php?topic=55038.0
Other
79 stars 11 forks source link

build options on Raspberry Pi 2 (model B) #9

Open cryptozeny opened 6 years ago

cryptozeny commented 6 years ago

i don't think that it's not actually issue, but I wanna share this.

i used this options on rpi2.

$./configure CFLAGS="-Ofast -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math" CXXFLAGS="-Ofast -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math"

and i got 25% hash up. it's amazing... before 0.08 kH/s after 0.11 kH/s

do you why this options increases hash power? i am very curious...

cryptozeny commented 6 years ago

the options from this site: https://github.com/novaspirit/wolf-m7m-cpuminer-V2-RPi

cryptozeny commented 6 years ago

i think it's very practical for ARM CPUs (smartphone mining)

macchky commented 6 years ago

I guess due to neon and -Ofast