Author

Topic: [ANN][RIC] Riecoin: constellations POW *CPU* HARD FORK successful, world record - page 147. (Read 685207 times)

sr. member
Activity: 476
Merit: 250
Take RIC for what it is, a very valuable experiment.


Crypto as a whole is moving forward.
sr. member
Activity: 259
Merit: 250
I've succeed to compile DGA's miner on the Parallella without any problem and the speed on the main dualcore ARM A9 CPU is 0.3655 2ch/s. Not impressive but I didn't expected more. The problem is with the share submission. In the moment it finds a share and trying to submit it, xptMiner crashes and I get the error message "Bus error". I didn't had the time to debug it yet. I think it's some alignment problem.
When I'll have some free time I will also start to port the code to use the 16-core Epiphany chip, just for fun. I don't expect to see any dramatic speed improvement.

Hi, I had the error as well, and the speed was similar (*2 for 4core) - see
https://bitcointalksearch.org/topic/m.6718714
I am surprised by what you say about 16-core chip ; what's the reason to buy that device at all then ?


@SpeedDemon13 : afaik no public one

hero member
Activity: 518
Merit: 500
So, there still isn't a gpu miner for RIC? Or at least a more improved cpu miner?
member
Activity: 114
Merit: 10
Hi all Riecoiners !

@bsunau7
Android port of DGA's miner was just a side note, I prefer Linux to Android.

I checked some net info about FPGA modular exponentation performance, nothing interesting or too expensive,
but possibly somebody has better info.


I would tend to agree with you on the FPGA; the (highly) variable difficulty (integer length) or riecoin would make anything which operated on the whole integer very difficult/expensive on an FPGA.  Another approach would be a (fixed integer length) sieve in the FPGA and keep the difficult bits on a CPU.

Problem with that (and the one I am having) is you wind up hand coding an optimized sieve which has a scale out issues both in terms effort/reward and gates on the chip.  Each tested prime seems in the sieve knocks off ~10% of the candidates, so quickly sieving the first few dozen primes should should see the bulk of the gains.

As I said this is more of an idle fun project than earning coin.

Regards,

--
bsunau7
member
Activity: 114
Merit: 10

I've succeed to compile DGA's miner on the Parallella without any problem and the speed on the main dualcore ARM A9 CPU is 0.3655 2ch/s. Not impressive but I didn't expected more. The problem is with the share submission. In the moment it finds a share and trying to submit it, xptMiner crashes and I get the error message "Bus error". I didn't had the time to debug it yet. I think it's some alignment problem.
When I'll have some free time I will also start to port the code to use the 16-core Epiphany chip, just for fun. I don't expect to see any dramatic speed improvement.

Your right the problem is the xpt data packets are not aligned, everything (except neon) is 32bit aligned in ARM.  To debug it I had to compile without -03 (makes the code flow easier by also slows you right down) and gdb it.  Some ugly alignment code (using arm load/stores or array assignments) should work, once you know what needs to be fixed.  jh00 knows about this.

On performance, compile and use gmp 6.0 if you aren't already using it.  I saw a ~14% (from memory) improvement in my code moving to that version.

Regards,

--
bsunau7
sr. member
Activity: 291
Merit: 250
Hi all Riecoiners !

@bsunau7
Android port of DGA's miner was just a side note, I prefer Linux to Android.

I checked some net info about FPGA modular exponentiation performance, nothing interesting or too expensive,
but possibly somebody has better info.

@mumus
Paralella can hardly be any better, I think they dropped the version with more interesting fpga chip, but I am interested in real 16 core results Smiley
DGA's miner should compile and work directly, he corrected the problem i pointed out. (search history here).
Should you need a help, let me know.

but too little time left, I just comment the diff occasionally,

1395 now is looooooooong time low, I contemplate about starting the unoptimized ARM miner again Wink


I've succeed to compile DGA's miner on the Parallella without any problem and the speed on the main dualcore ARM A9 CPU is 0.3655 2ch/s. Not impressive but I didn't expected more. The problem is with the share submission. In the moment it finds a share and trying to submit it, xptMiner crashes and I get the error message "Bus error". I didn't had the time to debug it yet. I think it's some alignment problem.
When I'll have some free time I will also start to port the code to use the 16-core Epiphany chip, just for fun. I don't expect to see any dramatic speed improvement.
hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
1395 now is looooooooong time low, I contemplate about starting the unoptimized ARM miner again Wink

ypool had some problems last night, which caused diff to drop a little
also, I think some cpu miners moved to new cpu coins with cryptonight and maybe "wild keccak" (boolberry), but gpu miners exist for both so I expect them to come back soon
sr. member
Activity: 259
Merit: 250
Hi all Riecoiners !

@bsunau7
Android port of DGA's miner was just a side note, I prefer Linux to Android.

I checked some net info about FPGA modular exponentation performance, nothing interesting or too expensive,
but possibly somebody has better info.

@mumus
Paralella can hardly be any better, I think they dropped the version with more interesting fpga chip, but I am interested in real 16 core results Smiley
DGA's miner should compile and work directly, he corrected the problem i pointed out. (search history here).
Should you need a help, let me know.

but too little time left, I just comment the diff occasionally,

1395 now is looooooooong time low, I contemplate about starting the unoptimized ARM miner again Wink

hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
Has there been any progress on the windows version of the b15 DGA miner?

I compiled it with mingw64, using gmp6, and got this (in windows):

Quote
[00:03:28] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0
[00:03:36] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0
[00:03:44] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0
[00:03:52] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0
[00:04:00] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0
[00:04:08] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0
[00:04:16] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0
[00:04:24] 2ch/s: 0.0000 3ch/s: 0.0000 4ch/s: 0.0000 Shares total: 0 / 0

same source code worked on linux. Will try to compile in visual studio in order to debug with its IDE
newbie
Activity: 12
Merit: 0
Has there been any progress on the windows version of the b15 DGA miner?
sr. member
Activity: 291
Merit: 250

I just got my parallella 2 days ago. I don't even remember when I ordered. Anyway it's time to play with it and find some primes Smiley. If anybody has some links to start with, I will thank them. I'm a noob in this territory.

You lucky guy (or girl)!  The 16 or 64 core epiphany one?  The cores should be perfect for prime number grinding which is why I was looking at them in the first place... 

I'll assume you are comfortable with development (otherwise why get a parallela?) so here is a quick high level road map...

The riecoin wallet compiles pretty cleanly, I'd probably start with that as it gets most of your build dependencies in place (also gets you used to linaro/ubuntu package system if it is new to you).  I used the latest dbm libraries (not the 4.8 ones recommended) as I don't need a transportable wallet.

Following that the cpu miner should compile (once again it has its own dependencies).  Performance will suck, but you'll get something up and running.  dga's miner should also work (I've not compiled it recently however).

Then tune/code/tune/code until you get a block.  Ask if you need any more help.

Regards,

--
bsunau7

Thanks for the quick answer! I have the 16 core one. I used to develop under windows (.net) but I'm starting to feel home also under linux (x86) environment. I played a lot with the code of the primecoin miner when it started, and that's why I ordered the parallella back then. ( I've checked, in October 2013). I'll post some updates if I'll get it up and running with Riecoin.
member
Activity: 114
Merit: 10

I just got my parallella 2 days ago. I don't even remember when I ordered. Anyway it's time to play with it and find some primes Smiley. If anybody has some links to start with, I will thank them. I'm a noob in this territory.

You lucky guy (or girl)!  The 16 or 64 core epiphany one?  The cores should be perfect for prime number grinding which is why I was looking at them in the first place... 

I'll assume you are comfortable with development (otherwise why get a parallela?) so here is a quick high level road map...

The riecoin wallet compiles pretty cleanly, I'd probably start with that as it gets most of your build dependencies in place (also gets you used to linaro/ubuntu package system if it is new to you).  I used the latest dbm libraries (not the 4.8 ones recommended) as I don't need a transportable wallet.

Following that the cpu miner should compile (once again it has its own dependencies).  Performance will suck, but you'll get something up and running.  dga's miner should also work (I've not compiled it recently however).

Then tune/code/tune/code until you get a block.  Ask if you need any more help.

Regards,

--
bsunau7
sr. member
Activity: 291
Merit: 250
very interesting!
I used to work with an ARM chip that had an "embedded cryptographic coprocessor", which basically means it had a few interesting features implemented by hardware, like sha2 and modular exponentiation (up to 2048bits in this case). Wish I could put my hands on one of those, but the development boards were expensive.

Not wanting to distract you from riecoin but look at http://www.zedboard.org/product/microzed dual core with FPGA (parallela also sell one but they've had big issues with their kickstarter campaign).  Xilinx even give you access to a (cut down) version of their development SDK.  With some free VHDL tools you should be able to generate a bit stream to define your own co-processor.  Parallela even use this to interface into their 16/64 core coprocessor and to define their HDMI hardware (yes, HDMI is defined in SW just add some hardware to support the physical interface).

Also there are some OpenCL to VHDL converters, GPU coins with simple algorithms and some market liquidity are about to get very cheap/easy to move to FPGA based mining rigs.  This is why I am mostly ignoring AES/SHA/CRYPT/X11 based coins...  A few $$$$ and some time could all but destroy them.

Regards,

--
bsunau7
I just got my parallella 2 days ago. I don't even remember when I ordered. Anyway it's time to play with it and find some primes Smiley. If anybody has some links to start with, I will thank them. I'm a noob in this territory.
member
Activity: 114
Merit: 10
very interesting!
I used to work with an ARM chip that had an "embedded cryptographic coprocessor", which basically means it had a few interesting features implemented by hardware, like sha2 and modular exponentiation (up to 2048bits in this case). Wish I could put my hands on one of those, but the development boards were expensive.

Not wanting to distract you from riecoin but look at http://www.zedboard.org/product/microzed dual core with FPGA (parallela also sell one but they've had big issues with their kickstarter campaign).  Xilinx even give you access to a (cut down) version of their development SDK.  With some free VHDL tools you should be able to generate a bit stream to define your own co-processor.  Parallela even use this to interface into their 16/64 core coprocessor and to define their HDMI hardware (yes, HDMI is defined in SW just add some hardware to support the physical interface).

Also there are some OpenCL to VHDL converters, GPU coins with simple algorithms and some market liquidity are about to get very cheap/easy to move to FPGA based mining rigs.  This is why I am mostly ignoring AES/SHA/CRYPT/X11 based coins...  A few $$$$ and some time could all but destroy them.

Regards,

--
bsunau7
hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev

so you're really mining with ARM? cool!
well, thermal throttling means it's not literally cool, but you get the point Smiley


Aside from the first 2 weeks when I had a dozen or so AWS instances everything I've done has been ARM based.  Not sure I'd call it mining yet, but it is fun.

No hardware division, slower clock, really slow memory access and 32bit architecture are the downsides.  On the upside, very low power and a super scaler architecture and my intel box isn't making noise.

Anyway, I rewrote the code to make use of neon instructions; parts of the chip were are normally in a powered down state are powered up drawing power and making heat.  I replaced the stock fan with a 12v silent one and knocked 23c off the temperature (107c to 84c).

If I can get the speed to something usable was thinking about a binary release, I am amazed at how many people have little raspberry pi's doing nothing (or very little).  Might make the few 100 RIC I own a little more valuable (or might not).

aamarket with android port dga'a miner probably was thinking the same general game plan.

Regards,

--
bsunau7

very interesting!
I used to work with an ARM chip that had an "embedded cryptographic coprocessor", which basically means it had a few interesting features implemented by hardware, like sha2 and modular exponentiation (up to 2048bits in this case). Wish I could put my hands on one of those, but the development boards were expensive.
member
Activity: 114
Merit: 10

so you're really mining with ARM? cool!
well, thermal throttling means it's not literally cool, but you get the point Smiley


Aside from the first 2 weeks when I had a dozen or so AWS instances everything I've done has been ARM based.  Not sure I'd call it mining yet, but it is fun.

No hardware division, slower clock, really slow memory access and 32bit architecture are the downsides.  On the upside, very low power and a super scaler architecture and my intel box isn't making noise.

Anyway, I rewrote the code to make use of neon instructions; parts of the chip were are normally in a powered down state are powered up drawing power and making heat.  I replaced the stock fan with a 12v silent one and knocked 23c off the temperature (107c to 84c).

If I can get the speed to something usable was thinking about a binary release, I am amazed at how many people have little raspberry pi's doing nothing (or very little).  Might make the few 100 RIC I own a little more valuable (or might not).

aamarket with android port dga'a miner probably was thinking the same general game plan.

Regards,

--
bsunau7
hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
Damn my cooling solution!

Speed the miner by 5% lose 5% of CPU thanks to thermal throttling.  Add 10% lose 10%.

Time to externally power the little fan on the odroid...

--
bsunau7

so you're really mining with ARM? cool!
well, thermal throttling means it's not literally cool, but you get the point Smiley
hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
ric 0.9.2 can be found here https://sourceforge.net/projects/riecoin/files/riecoin%200.9.2/
windows 32/64 and linux 32/64 bit binaries, and now mac osx dmg!  edit: you'll need 10.7 at least
sources at https://github.com/riecoin/riecoin as usual

will announce and update website later
sr. member
Activity: 308
Merit: 250
Riecoin and Huntercoin to rule all!
newbie
Activity: 7
Merit: 0
Difficulty drops to  1477
Time to mine  Wink
Jump to: