• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Apple M1 Processor Manages to Mine Ethereum

AleksandarK

News Editor
Staff member
Joined
Aug 19, 2017
Messages
3,133 (1.10/day)
Ethereum mining has been a crazy ride over the years. In recent times, it has become very popular due to a huge surge in Ethereum prices, following those of the main coin currently present on the market - Bitcoin. However, Ethereum miners use a customized PC stocked with many graphics cards to mine the Ethereum coin. Any other alternative is not viable and graphics cards have a high hash rate of the KECCAK-256 hashing algorithm. But have you ever wondered could you mine Ethereum on your shiny new Apple M1-equipped Mac? Our guess is no, however, there are still some people making experiments with the new Apple M1 processor and testing its capabilities.

Software engineer Yifan Gu, working for Zensors, has found a way to use Apple's M1 GPU to mine Ethereum. Mr. Gu has ported Ethminer utility to Apple's macOS for Apple Silicon and has managed to get GPU mining the coins. While technically it was possible, the results were rather poor. The integrated GPU has managed to get only 2 MH/s of mining power, which is rather low compared to alternatives (desktop GPUs). Being possible doesn't mean it is a good idea. The software will consume all of the GPU power and it will limit your work with the GPU, so it isn't exactly a profitable solution.


View at TechPowerUp Main Site
 
yet

but 20 or 40 A15 chip on a card pcie ? this is revolution !!!!

a keybaord is 130 key 1 key = chip size
 
8GB frame buffer each on a PCB is a bit far stretched, and 16 billion transistors, well 4 billion is only 2Mh at 10W.
when 17,4 billion transistor 3070 does 60Mh ~ RTX 5050 on 5nm.
 
Now all M1 powered devices will be out of stock. kek
 
Mining with a high end graphics card

1614619596691.png


Mining with M1

1614619417336.png
 
I'd bet he didnt use Eth Enlargement. :eek: :p
 
1614642170501.png

Now there is a disturbing ad. The ad-blocker is going to come back on if that doesn't go away on it's own.
 
View attachment 190547
Now there is a disturbing ad. The ad-blocker is going to come back on if that doesn't go away on it's own.

Not even uBlock Origin nukes it completely though - I have it on and I'm still getting just the top portion of it (the stuff above the TechPowerUp banner) :fear:
 
Not even uBlock Origin nukes it completely though - I have it on and I'm still getting just the top portion of it (the stuff above the TechPowerUp banner) :fear:
Use add blocker ultimate on Firefox it works
 
At least I have not heard of miners resorting to iGPU for mining so far, and quite frankly, there is nothing surprising with the results.
 
At least I have not heard of miners resorting to iGPU for mining so far, and quite frankly, there is nothing surprising with the results.
oh i thought they where doing it on the cpu
 
Next up Vega APUs.
 
Good thing I got my M1-MBP lol.. At least Apple reserve their products for actual end-customers unlike those clowns Sony/XBOX/Intel/NVIDIA/AMD
 
The strength of the M1's integrated GPU is in its Unified Memory. There's more to optimizing GPU-Compute code for an M1 than just a tweak here and there to get it to compile.
In a typical PC.. to do CUDA calcs, you'd do something like this..

You start with a data structure in system RAM, often an array of data (or it's not worth using the GPU).
1. You create an identical data structure in the GPU card's RAM.
2. Copy array data from System to GPU's RAM
3. Do your work on data in the GPU's RAM.
4. Copy your results from GPU RAM back to System RAM.
5. Destroy the data structure on the GPU (clean up).

On an M1.. System RAM is GPU RAM. More importantly.. they share the same memory space so instead of copying the data to be worked on, you just need to pass a reference to the original data structure.
You get to ignore steps 1, 2, 4 & 5. Instead, you just go straight to having the GPU do your work on the data in System RAM.

I'd be interested to know how optimized the M1 port of the mining software was.
And just for my own curiosity (why I ended up here), I'd love to know how a properly optimized mining client would run on the M1 Ultra chip that Apple announced today. The M1 in an Air ships with 7 or 8 GPU cores. The new M1 Ultra chip ships with 64 GPU cores and way more memory bandwidth.
The new Apple Studio computers with the big M1 Ultra Chips start at $4k so I doubt we'll see mining farms made out of them either. I'm just curious how the on-die GPU on the new chip would hold up against a large fast dedicated RTX GPU.. for the same ultimately pointless reason I've watched videos of a Tesla Plaid racing muscle cars.. even though I own neither. :)

.. just occurred to me to compare the published theoretical performance. Apple's claimed GFlops perf puts their new chip in the ballpark of an RTX 3070.
 
Last edited:
Back
Top