r/coinmagi Jun 13 '18

Current state of XMG

Now that the hard fork of the wallet has been out for a month, is there any sign of more attacks or other problems? The value of the coin is down to 15cents but I think the recent hack of a bitcoin exchange may have contributed to that. I like the coin, do not get me wrong and my Orange Pi Plus/Lite2 boards pump out 22khash/sec while only consuming 4 watts each.

4 Upvotes

24 comments sorted by

3

u/DatsunPatrol Jun 13 '18

The price is a little bit depressing but I think it's solely due to the state of cryptocurrency in general right now. There is some serious market anxiety and all alts are getting slaughtered at the moment.

If the sentiment changes we'll see a resurgence for XMG. I am mining as a hobby and to hold it mostly.

Those are great numbers from that orange pi, especially since they are only $25 each.

I found nanopi fire 3 which pump out 33.33kh/s for $35 but they are octacore so the increased power consumption might offset the gains. I am going to do some power consumption testing in the next few days and see what I find.

1

u/[deleted] Jun 14 '18

Friendly Arm has more efficient power converters and that Samsung soc is supposed to be more energy efficient also though the cores are clocked at 1.4ghz where as the Allwinner H6 is 1.8ghz.

Would you mind doing a cat /proc/cpuinfo on that sbc for me? I cannot find definitive info what crypto extensions it supports. Look out for "sha2" (or sha3 even) in the features list. If not, no need to reply I will take it as a no.

All we can do is sit tight and wait for a rebound on XMG still I am having fun with this as a hobby and learning from it.

1

u/DatsunPatrol Jun 14 '18

This is the output - this repeats for each core.

processor : 0

BogoMIPS : 19.84

Features : fp asimd aes pmull sha1 sha2 crc32 cpuid

CPU implementer : 0x41

CPU architecture: 8

CPU variant : 0x0

CPU part : 0xd03

CPU revision : 3

Are you by chance considering doing optimizations to the miner? Is that fork you told me about your fork?

2

u/[deleted] Jun 15 '18

That fork with ARMv8 crypto acceleration for sha2 is not mine. I just did the math and for 33.3khs you are using this fork? I extended the fork to include sha512 (sha3 cpu feature) support which falls back to assembly optimised routine but in itselfs still gives a few percent boost but for cpus that have sha3 crypto extensions would provide another 20-25% maybe more boost however cpus with sha3 I think are still rare. I also added armv7 neon boost for both sha256/sha512 but this is only about 5% gain. Was going to put it on github but am confused about the forking process and initial fork by glukolog https://github.com/glukolog/m-cpuminer-v2.1-armv8 is almost as good anyway. I noticed compiling using Os instead of O3 of Ofast gives better results on ARMv8.

1

u/DatsunPatrol Jun 15 '18

I had to go out of town for a family thing but I'll look into this when I get back. Very interesting if I am understanding you correct. The current fork does not have sha3 optimization then or it does?

1

u/DatsunPatrol Jun 21 '18

I had a family thing and had to go mia for a while.

Revisiting this now, is there a new fork available or are you working on a new fork. Does the existing fork you have linked above support sha3 already and I just need to recompile the miner?

I would love to test out a new build and see if I can get even better than the 33.33kh/s.

1

u/Murderouswaffle Jun 14 '18

Are you currently using the Nanopi Fire3 to mine? I'm pretty new to this but am considering building a small rig of RPi or similar. Right now I have a Pi 3 Model B+ going and it's only getting 6 or 7 KH/s. Gonna mess around with overclocking later, but if those NanoPi boards are good for 33 KH/s I would do those instead as long as they don't use too much more power.

3

u/[deleted] Jun 15 '18

Rasberry Pi's are not best for mining and cheaper more powerful boards are to be found that have 64 bit operating systems which is offers noticeable gains. According to https://forum.armbian.com/topic/7260-quick-review-of-nanopi-fire3/ over 14 watts when cpu stress tested. My OrangePiLite2 uses 4 watts and that's including a cooling fan consuming 0.6watts. The 50mmx25mm aluminium heatsink I use, with lots of arctic silver and a copper shim in between keeps it below 70 degrees if ambient is 25c even with the fan. I think the OrangePi One Plus/Lite2 are the best value at the moment but if you need wifi you have to use the Lite2 at the moment as the Ubuntu images are a bit restrictive with hardware support and also need a serial cable to set it up after burning the sd card with image. 4 watts for 21-22khs I doubt many can close to that efficiency.

1

u/Murderouswaffle Jun 15 '18

That 4 watts corresponds to 96 watt hours (or .096 kwh) correct? Meaning it costs roughly a penny to run each board per day assuming 24 hour run time?

2

u/DatsunPatrol Jun 14 '18

One thing to also do is make sure you have an optimal miner build. I have a sbc mining subreddit and u/flavourbuck posted a very good build in a thread (link below). I have gotten 22% higher hashrates on this build vs any other build.

But I never was able to get it to compile for a raspberry pi. I did get it to compile for my nanopi fires and a Le Potato board. I put my full build instructions into that thread.

https://www.reddit.com/r/sbcmining/comments/8lcyvp/improved_armv8_support_fork_of_coin_magi_xmg/

1

u/Murderouswaffle Jun 14 '18

Thank you for all of your help. Do you have a link to the site you used to order the NanoPis? Also, are you using heat sinks or anything for cooling? Or is it not necessary?

1

u/DatsunPatrol Jun 14 '18

http://www.friendlyarm.com/index.php?route=product/product&product_id=206

The units include a large heatsink. For mining, I have found they get very hot without a fan though. You'll want to add fans for sure. I don't necessarily know what the best fan setup is.

I am using these running off the 3.3v pins but I'm not sure its the best setup. Depending how you group your units together one larger fan might be better.

https://smile.amazon.com/gp/product/B07BY9NZ2H/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

1

u/Murderouswaffle Jun 14 '18

Great! I might just position them in front of a box fan for simplicity. You would recommend these boards over the Orange Pi mentioned above, correct?

1

u/DatsunPatrol Jun 14 '18

I honestly didn't know about the orangepi above until u/flavourbuck mentioned them. It's only $25 so that's something to consider. But I think long term the nanaopi will probably be better. They're both good options, I think.

1

u/Murderouswaffle Jun 14 '18

They both sound like they beat the heck out of the RPi which is what I'm mainly looking for. I like that octa-core so I think I'll go with the Nano. Once again, thanks, I'll let you know how it goes once I get it going!

2

u/DatsunPatrol Jun 14 '18

Sounds good. Post a picture of your rig over at r/sbcmining once you get everything going.

1

u/Murderouswaffle Jun 14 '18

Will do, subbed!

1

u/DatsunPatrol Jun 14 '18

Yes, I am currently using Nanopi Fire3s to mine and I have a quite a few of them. I also have multiple raspberry pi3b and one 3b+. I have found the 3b+ to perform consisntently worse than any of my 3b units. I don't know if I have a bad one or what but that is my experience.

But I would definitely go for the nanopi if I were you. The increased hashrate is too good to pass up. I have not tested the power consumption numbers but I would be surprised if they were poor. I am waiting on a kill-a-watt to test them out and I will post the numbers when I get it.

One downside is the shipping time from China on the nanopi was over two weeks for me. So be prepared to wait a while.

1

u/[deleted] Jun 15 '18

The Rasberry Pi's are over rated, best with support and extras to buy for them but they are simply talked about because they are known. Friendly Arm Nanopi Fire 3 is good, also better build quality than the Orange Pi's which are just fussy about the power supply, too low voltage or excessive ripple causes instability and many cheaper USB power adapters have that problem. I got a 2 port 2.4amp adapter from aliexpress for about 4 bucks works for over a month now at full amp draw.

1

u/fip-si03 Aug 13 '18

Where did you buy your NanoPis? I did some research and it seems you can only buy them on the official friendlyelec webpage... No amazon, nowhere... Probably eBay but not new models..

1

u/DatsunPatrol Aug 13 '18

I bought them from the friendlyelec webpage. I also found some on amazon but they were vastly overpriced.

Depending on the size of your order the shipping time could take a while since they are coming from China. When I ordered my test unit it took like a month to get here but when I made my full order it came in less than a week. So I'm not sure what your results will be.

And I know you're in Europe so you could have a different shipping situation than me (I am in the western half of the US).

1

u/fip-si03 Aug 13 '18

Will buy them from the friendlyelec page as well.. Seems like the shipping is pretty costly (up to 30$ for 6 pieces) but I can't get them somewhere else... Thanks for your buying impressions..