3 ms·
>> Basically, the only cryptocoin that MIGHT be worthwhile on an APU connected to DDR4 is Monero / Cryptonight. Even then, because Cryptonight is primarily memo
by icelancer 9y ago
>> Basically, the only cryptocoin that MIGHT be worthwhile on an APU connected to DDR4 is Monero / Cryptonight. Even then, because Cryptonight is primarily memory-latency bound, I doubt that the GPU-portion would be any faster than the CPU. The majority of the algorithm is waiting for L3 cache to respond.
Good guess. The CPU is nearly twice as fast as APU, and limited by L3 cache as you correctly noted.
http://www.legitreviews.com/amd-ryzen-5-2400g-mining-performance-nicehash-xmr-stak_202662 http://www.legitreviews.com/amd-ryzen-5-2400g-mining-perform...
- dragontamer 9y agoThanks. Its always good to see real benchmarks. One "qualm" is that AMD's APU is a very interesting platform, which can share pointers and memory between the CPU and GPU. Some degree of caching is shared between the CPU and GPU since both are on the same die! Its not a big deal for cryptonight (which basically pushes AES-NI instructions: so its fastest on the CPU anyway. And L3 is so small that only 2-instances can run on the Ryzen 5 2400G). But in the general case (say: maybe Ethash, which isn't as latency bound / L3 bound), there may be custom code that can be written to take advantage of AMD's HSA platform. Code which doesn't exist yet (and therefore can't be benchmarked). In part, the ROCm project doesn't even have Raven Ridge support yet, so HSA coding / CPU/GPU sharing can't really take place yet. But looking forward: it might be an interesting project to see EtHash implemented as HSA / ROCm code.