The R-mode tuning guide is available at: teamredminer/ETHASH_TUNING_GUIDE_RMODE.txt at master · todxx/teamredminer · GitHub
From the link:
R-mode effect on various gpus
The effect of R-mode on different gpus can be summarized as follows:
-
5700XT/5700: big winner. Core clk 1050-1075 MHz is now enough to
sustain 56 MH/s. Can almost always run at sub-700mV core voltage. -
5600XT: decent winner. Core clk 950 MHz supports 42 MH/s, core voltage
can be dropped low.
Requirements / Enabling R-mode
R-mode needs a modern linux kernel and amdgpu driver setup, and a specific set of amdgpu kernel boot parameters:
amdgpu.vm_block_size=11 amdgpu.vm_size=2048
We do not expect things to run well on opencl versions before 20.40. Testing has primarily been done on newer opencl versions such as 21.40.2 and 21.50.2.
There are three ways of setting the necessary kernel boot parameters:
- Using the new integrated support in the miner.
- Mining distro integrated support.
- Manually.
Enabling R-mode using miner integrated support
To simplify setting up for R-mode, and also making sure it’s set properly after e.g. mining distro upgrades, we’ve added a bundled shell script called “ubuntu_mode_script.sh” which is integrated
directly into the miner.
This setup will work on all Linux distros that uses a /etc/default/grub file. This includes most mining distros incl Hive, Minerstat OS, SMOS. The script will set the correct parameters, run update-grub, and reboot if anything was modified and it was asked to do so.
To use it, just add the miner argument --kernel_vm_mode=X, where X is one of:
N - set no specific mode.
C - set old Radeon VII C-mode.
R - set new R-mode.
RN - set no specific mode and reboot if there was a change.
RC - set old Radeon VII C-mode and reboot if changed.
RR - set new R-mode and reboot if changed.
This way, you can add “–kernel_vm_mode=RR” to e.g. your Hive flight sheet custom arguments and leave it there. After any distro upgrade or clean reinstall, the miner will set up the R-mode parameters and reboot automatically the first time it’s executed.