Set new release and change MSR doc

- use `-2` suffix to add WORKERNAME (#6)
- we actually don't need to mount cpu device, podman seems to be smart
  enough
This commit is contained in:
Patrice Ferlet 2023-11-08 23:24:24 +01:00
parent e4e2425100
commit 76f5f9713e
No known key found for this signature in database
GPG Key ID: F3702E3FAD8F76DC
2 changed files with 1 additions and 6 deletions

View File

@ -1,7 +1,7 @@
VERSION = 6.20.0
CUDA_PLUGIN_VERSION=6.17.0
CUDA_VERSION=11-4
REL = $(VERSION)-1
REL = $(VERSION)-2
THREADS = $(shell nproc)
PRIORITY = 0
REPO=docker.io/metal3d/xmrig

View File

@ -126,7 +126,6 @@ MSR (Model Specific Registry) is a specific setting that allow read/write on spe
To be able to set MSR inside the container, you must (at least on podman, I don't use docker) :
- use `sudo`
- add `--device=/dev/cpu`
- add `--privileged`
This is not nice, I know... Using sudo is a constraint.
@ -137,15 +136,11 @@ In my case, this is the command line I use :
# basic mining with CPU (replace podman by docker if you are using it)
sudo podman run --rm -it \
--privileged \
--device /dev/cpu \
--device /dev/cpu_dma_latency \
docker.io/metal3d/xmrig
# to use CUDA devices
sudo podman run --rm -it \
--privileged \
--device /dev/cpu \
--device /dev/cpu_dma_latency \
--device nvidia.com/gpu=all \
-e CUDA=true
docker.io/metal3d/xmrig