Pages:
Author

Topic: AndLTC Miner! (Android LTC Miner)| NEON | PlayStore | Updated v0.7 08/07/12 - page 6. (Read 37575 times)

legendary
Activity: 1484
Merit: 1005
The ARM core on Kindle Fire has 128-bit registers in addition to the usual 32-bit registers. This could give a 2-4 times speedup, depending on the exact details of the core used.

Unfortunately not. I have already written a version of the scrypt core that uses NEON (it will be released in the upcoming cpuminer 2.2.3), and the speedup is only about 40% in the best case. There are various technical reasons for this, most importantly the lack of an instruction for bitwise rotation and the fact that current NEON coprocessors can only execute one instruction per cycle, with rare exceptions.
The basic ARM instruction set, on the other hand, is pretty optimal for implementing this kind of hashing functions (thanks to the barrel shifter), but of course it cannot compete with the SIMD implementations of performance-oriented architectures.

An example: a Samsung Galaxy S II (dual-core Cortex-A9 at 1200 MHz) can do about 1.64 khash/s with the current cpuminer code (hand-written ARM assembly), and about 2.3 khash/s with the to-be-released NEON implementation. The speedup is even more modest on Cortex-A8 processors.

this is important stuff, and I guess shows how an arm based system designed to mine litecoin might perform. at 125w, about 166 arm cortex a9 cpus could thus mine only approximately 210khs if I'm doing the math right (cortex cpu ~ 750mW when running neon code fully loaded).
hero member
Activity: 714
Merit: 500
In case you guys are wondering, the current LTC miner on Google Play Store isn't mine. Mine is called AndLTC Miner Smiley which in 3 days will be up. I'm currently on vacation with the family... be back on Thursday or Friday.
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
12 h/s on HTC Envy  Cheesy

Edit: Wont let me set the miner as a service so cant do it in the background yet.


lol i wonder what my iphone would hash at....damn...i guess i gotta wait until its built for ios.

By then I might have mined half a ltc  Tongue


lol...  Cheesy
hero member
Activity: 686
Merit: 500
Wat
12 h/s on HTC Envy  Cheesy

Edit: Wont let me set the miner as a service so cant do it in the background yet.


lol i wonder what my iphone would hash at....damn...i guess i gotta wait until its built for ios.

By then I might have mined half a ltc  Tongue
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
12 h/s on HTC Envy  Cheesy

Edit: Wont let me set the miner as a service so cant do it in the background yet.


lol i wonder what my iphone would hash at....damn...i guess i gotta wait until its built for ios.
legendary
Activity: 938
Merit: 1000
What's a GPU?
I just sent it to my Nexus 7, I'll post results in a bit Cheesy
hero member
Activity: 686
Merit: 500
Wat
12 h/s on HTC Envy  Cheesy

Edit: Wont let me set the miner as a service so cant do it in the background yet.
sr. member
Activity: 471
Merit: 256
https://play.google.com/store/apps/details?id=com.raad287.LTCMiner&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5yYWFkMjg3LkxUQ01pbmVyIl0.

I'm mining away at 7.21 h/s right now just seeing if it works.  I like the settings page a lot more than the previous setup.

That's using pooler's JMiner. It was a mistake I made when I coded my first Android LTC Miner. It's too slow and worthless, and was the reason I removed it from the Google Play Store. Now that I compiled the C version CPU Miner, It's a lot faster and more efficient rather than using Android's JVM. And yes, the miner already has a UI Smiley

So 0.1 is JMiner-based? I get
18 H/s on an atrix (tegra 2, dual core (1 thread), 1GHz, A9, neutrino rom (android 2.3.7))
35 H/s on an atrix (tegra 2, dual core (2 threads), 1GHz, A9, neutrino rom (android 2.3.7))
16 H/s on a Galaxy S (hummingbird, single core, 1GHz, A8, cyanogenmod 9)

Both at normal priority. So the nexus 7 should get > 80 H/s on Jminer.
hero member
Activity: 714
Merit: 500
Any chance of making it compatible with Android 2.2? I want to burn out my cheap tablet by trying this, but it only has Froyo and can't be updated.

It will be compatible with Android 2.1 and up.
sr. member
Activity: 306
Merit: 250
Donations: http://tny.im/nx
Any chance of making it compatible with Android 2.2? I want to burn out my cheap tablet by trying this, but it only has Froyo and can't be updated.
hero member
Activity: 714
Merit: 500
https://play.google.com/store/apps/details?id=com.raad287.LTCMiner&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5yYWFkMjg3LkxUQ01pbmVyIl0.

I'm mining away at 7.21 h/s right now just seeing if it works.  I like the settings page a lot more than the previous setup.

That's using pooler's JMiner. It was a mistake I made when I coded my first Android LTC Miner. It's too slow and worthless, and was the reason I removed it from the Google Play Store. Now that I compiled the C version CPU Miner, It's a lot faster and more efficient rather than using Android's JVM. And yes, the miner already has a UI Smiley
donator
Activity: 490
Merit: 500
https://play.google.com/store/apps/details?id=com.raad287.LTCMiner&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5yYWFkMjg3LkxUQ01pbmVyIl0.

I'm mining away at 7.21 h/s right now just seeing if it works.  I like the settings page a lot more than the previous setup.
donator
Activity: 490
Merit: 500
Download link please for this miner as I want to try it out.

i 2nd this!
+1 and also a litecoin address to donate back to the op!
legendary
Activity: 1611
Merit: 1001
Download link please for this miner as I want to try it out.

i 2nd this!
legendary
Activity: 1022
Merit: 1000
Freelance videographer
Download link please for this miner as I want to try it out.
legendary
Activity: 2128
Merit: 1073
Unfortunately not. I have already written a version of the scrypt core that uses NEON (it will be released in the upcoming cpuminer 2.2.3), and the speedup is only about 40% in the best case.
Thank you very much for your work and your comment.

I actually don't have an ARM machine to play. I played a bit with a pre-release simulator for a device that incorporates an ARM core. And by "a bit" I mean "floating point only". Because of the pre-release status:

1) instruction timing could be inacurate
2) it could simulate a future version of the ARM core

Thanks again.
hero member
Activity: 842
Merit: 507
The ARM core on Kindle Fire has 128-bit registers in addition to the usual 32-bit registers. This could give a 2-4 times speedup, depending on the exact details of the core used.

Unfortunately not. I have already written a version of the scrypt core that uses NEON (it will be released in the upcoming cpuminer 2.2.3), and the speedup is only about 40% in the best case. There are various technical reasons for this, most importantly the lack of an instruction for bitwise rotation and the fact that current NEON coprocessors can only execute one instruction per cycle, with rare exceptions.
The basic ARM instruction set, on the other hand, is pretty optimal for implementing this kind of hashing functions (thanks to the barrel shifter), but of course it cannot compete with the SIMD implementations of performance-oriented architectures.

An example: a Samsung Galaxy S II (dual-core Cortex-A9 at 1200 MHz) can do about 1.64 khash/s with the current cpuminer code (hand-written ARM assembly), and about 2.3 khash/s with the to-be-released NEON implementation. The speedup is even more modest on Cortex-A8 processors.
sr. member
Activity: 471
Merit: 256
I just cross compiled pooler's cpuminer for my Kindle Fire. It's dual core! I'm getting 0.7 khash/s per core as opposed to 0.02 khash/s on the old Java miner I had coded awhile back! I'm gonna put this back on the Google PlayStore! I'll post pictures in a couple of minutes! Smiley

Cool. If you want to compile a list of devices and performance for your reference or others, I'd love to test it on my android devices so I'll follow this thread.
legendary
Activity: 2128
Merit: 1073
All I did was compile libcurl for Android, edit the code to suit Android, recompile it using the Android toolchain I compiled.... lol
The ARM core on Kindle Fire has 128-bit registers in addition to the usual 32-bit registers. This could give a 2-4 times speedup, depending on the exact details of the core used.

There are many ways to use them:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dht0004a/CHDGDHIC.html
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dht0002a/ch01s04s02.html

You could probably take a look and see how you can do on ARM things comparable to what pooler did on Intel.
hero member
Activity: 714
Merit: 500
With NEON SIMD or without?

What's that? lol
The original code by pooler was an awesome example of using Intel SSE (and/or AVX) to achieve great speedups (about 4 times?) with the help of SIMD (Single Instruction Multiple Data).

Did you attempted to use SIMD on ARM (where it is called NEON)?

All I did was compile libcurl for Android, edit the code to suit Android, recompile it using the Android toolchain I compiled.... lol
Pages:
Jump to: