I built my first Cryptonight rig a few months back using Sapphire Pulse RX 570 and was able to get 915 h/s @ 95 watt on the wall. Due to high prices and unavailability of RX 570s, I decided to give RX 560s a shot. I am glad to mention that I am able to obtain 515 h/s @ 40 watt on the wall for AMD RX 560 while mining Electroneum/Sumokoin (will be true for all Cryptonight coins e.g., Monero, Karbo). You can see the proof of hashrate and clock settings at this link:
https://imgur.com/a/q1iKkI am using sgminer-gm 5.5 with rawintensity 416 and worksize 8. The trick was to use 2 gpu threads in the config file as follows:
"rawintensity": "416", "worksize": "8", "gpu-threads": "2"
My GPU is Asus OC 2gb Polaris 14nm 1210 Ghz core and 1750 Mhz memory clock. It uses Elpida DDR5 memory. Its bios is modified using Polaris 1.6.6 editor's one click patch option and that was pretty much it. (I tried Sapphire RX Pulse 4gb version but could not get it above 410 h/s).
I tried Crimson Beta 17.30 Blockchain driver but it kept on crashing. Finally managed to make Crimson relive 17.7 work.
If you find the above post useful, please consider donating to following addresses:
BTC: 3CW1WbDDtjfWprc7K4VQpNtJP7jsJMTbGF
ETH: 0x134e57a0902eAb8019aE0dd7bC80cFd75B4b55f0
Sumokoin: Sumoo3NqEtVixhMfApYUzDa6AmomPypQ5AkHeMgfqTzG7G3nyQw5kbPSw9m69fKFJADMaVbnAkhpv86
kdK2haPRdgV5k1A3LJYi
Electroneum: etnk4mvPSG49h6Hw4xgaQrTbjQyJ4fnUh6F6jFVM6xpAfrJtswC6AaiJepPCWF1PSNj4xiMXc8QXU7G
cfFZvpUi422Z9F82eth
Digibyte: DBtUYVhUrAXuDjjmAzNNWpcMWe6tJvWoEP
Wow - very eerie to see the exact same numbers that I came up with for my 2GB XFX RX 560's so I gave you your first merit!
How did you arrive at the rawIntensity number? I found a few bits of advice from one of the SGMiner-GM devs - OhGodAGirl - in several threads:
The formula for rawintensity is #(CUs) x worksize x 4 - so, for a 280x, you'd have 32 x 4 x 4. That gives us 512.
Worksize of 8 can be used, but make sure to change gpu-threads to 1 then (instead of 2).
Start with calculated rawintensity then decrease by 8 to find best hashrate.
Don't ever use xIntensity. Rawintensity only.
So I started with rI of 256, worksize = 4 and gpu-threads = 2 and got fairly anemic results. Changing worksize to 8 improved hashrate, while changing gpu-threads to 1 reduced hashrate, so I went back to 2. Right then I knew the above info wasn't useful, so I decided to do a binary search to find the best rI. Since I was at 256 the next increment was 512, but that resulted in SGMiner-GM crashing soon after starting up. Next up was 384 - halfway between 256 and 512 - and that was faster than 256, so next was 416, and that was faster still, but by a much smaller margin so I felt like I was getting pretty close to the optimal setting. Turns out that was just a tad too high because the rig would still crash after a few hours so I dropped rI to 408 and it's been humming along ever since. My average hashrate isn't quite as good as yours, though - 458 H/s per card - but it's a lot better than the 330 H/s or so they delivered in stock form.