ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.97k stars 2.28k forks source link

what is the good options for RX470 with 8G ram #697

Closed felixdfdf closed 6 years ago

felixdfdf commented 6 years ago

how to adjust the --cl-local-work and --cl-global-work parameters? I have 8 RX470 with 8G RAM. I increase the two options casually so that the total hashrate could be >370, waht a amazing. Even though the card temp is <70 and Fan speed is about 40%, I changed these paramters to default value in case the cards been damaged. Could anybody tell me how to adjust these two paramtes for my RX470 with 8G RAM, thanks very much.

ghost commented 6 years ago

I use this for 4GB RX 480:

--cl-local-work 256 --cl-global-work 18432

Keep local-work at 256 and experiment with global work sizes in +/-2048 increments. Don't look only at hashrate. Let it run for a while and check your pool to confirm your speed and that you see no increase in stales.

ddobreff commented 6 years ago

--cl-local-work 256 --cl-global-work 16384 --cl-parallel-hash 2 --cl-kernel 1 Global worksize is calculated like this ( local-worksize threads-per-hash compute units )

ghost commented 6 years ago

I experience slower performance with anything but --cl-parallel-hash 8. How would reducing the number of threads per hash increase hashrate?

czechspekk commented 6 years ago

--cl-parallel-hash 2 seems to work best for my setup too

ghost commented 6 years ago

Nevermind. I just modded my BIOS, and --cl-local-work 256 --cl-global-work 18432 --cl-parallel-hash 2 --cl-kernel 1 is the sweet spot for my RX 480s. Getting 25+ Mh/s.

simbadMarino commented 6 years ago

Hello there, I'm having some problems with my hashrate in a RX 580, it's supposed to be ~24Mh/s without modding the BIOS but currently getting only 15.8Mh/s :(. I'm using the binary file in Ubuntu with following options: ./ethminer --farm-recheck 200 -G -S us2.ethermine.org:4444 -FS us1.ethermine.org:4444 -1

Any help is much appreciated. I've googled a lot without any clue.... Thank you!

ghost commented 6 years ago

Which amdgpu driver version are you using?

simbadMarino commented 6 years ago

Hi @jramos its amdgpu-pro 17.40-492261 amd64 thanks for helping!

ghost commented 6 years ago

Either upgrade to 17.50, or enable large page support in 17.40.

17.50: https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx

17.40:

Ubuntu 16.04 LTS
Edit /etc/default/grub as root and modify GRUB_CMDLINE_LINUX_DEFAULT in order to add "amdgpu.vm_fragment_size=9" (without the quotes). The line may look something like this after the change:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"

Update grub and reboot as root:

update-grub; reboot
simbadMarino commented 6 years ago

Thanks a lot @jramos ! Let me try and will come back with results.

ghost commented 6 years ago

IIRC, large page support gave me a ~15% increase. I would definitely consider doing a BIOS mod, as well... that gave me another ~20%. I just used the one click timing feature in Polaris BIOS Editor. Still need to experiment with clock rate adjustments.

simbadMarino commented 6 years ago

Hello again @jramos no luck with adding the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9" line... :/

Do you think that it should be enough? Or should I try upgrading the driver to 17.50?

I will try also the BIOS mod after getting the normal stock Hash rate that should be 23Mh/s as per reviews

ghost commented 6 years ago

Did you run update-grub?

simbadMarino commented 6 years ago

Yes, then I rebooted but stil not having the correct Mh/s... Any sugestions?

Enviado desde la aplicación myMail para Android viernes, 16 febrero 2018, 11:57a.m. -06:00 de Justin Ramos notifications@github.com :

Did you run update-grub? — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .