-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CryptoNight variant 2 migration guide #753
Comments
I tested xmrig on killallasics.moneroworld.com. for cn/2. I'm seeing a 25% drop in hashrate vs cn/1. I'm using dual E5-2660 V2 cpus, is this drop in hashrate expected? thanks |
|
CPU minerCPU miner will use highly optimized Assembly code for CryptoNight variant 2, author of this code is @SChernykh. Changes already in dev branch and ready for tests. Usually no additional configuration required for it, miner will load proper ASM code automatically if it available for your CPU, for fine tuning also added global and per thread option Possible values for
|
It's my understanding that @SChernykh is still working on the double hash asm mode, hopefully this will be done and incorporated by the release date. Without it I'm seeing a 12% reduction in hashrate on my CPU system. |
@jetbird747 Double hash asm version is already integrated into xmrig. |
Using double hash I'm seeing; Using single hash; ~9% reduction in hashrate 6 of 10 cores enabled on a Dual E5-2660 v2 processor; 25MB L3; Fedora 27
"threads": [ |
Hardware os and xmrig info |
@jetbird747 Try to enable all 10 cores. Run single thread on 8 cores and double thread on 2 remaining cores for each CPU. This should give you the best performance. |
OS: Win10 1803 CNv7: 1090 h/s Interestingly, using
|
OS: Win10 1803 CNv7 (CUDA) : 325 h/s
|
@xmrig I forgot to add my NVIDIA tuned OpenCL code for reading/writing scratchpad chunks: https://github.com/SChernykh/xmr-stak-amd/blob/master/opencl/cryptonight.cl#L728 Can you add it? I can create a pull request in a couple of days if you don't have time right now. |
@SChernykh Yes I can, I'll do it later today. |
Same GTX1050: CNv7 (OpenCL) : 320 h/s |
how to download xmrig 2.8? |
@vitaliy1985 Now it available only as source in dev branch. |
"exe" will be? |
Of course it will be, but later, we still have a lot of time before October 18th for release. |
OS: Win10 CNv7 (CUDA): 520 h/s
|
v2.8.0-rc (release candidate) will be released on October 1 (about 24 hours from now) if no critical bugs will found, except NVIDIA miner. https://config.xmrig.com/ is updated for v2.8 too. Also I create Twitter account https://twitter.com/xmrig_dev it's _dev because just xmrig is already taken. |
My xmrig.exe normally works. |
classic(test ~5 min each): VMware - Windows server 2008 R2 X64 (CPU E7- 4820 @ 2.00GHz - 64 core)
mode. --av=1 (in config av1)
mode. --av=1 (in config av1)
mode. --av=3 (in config av auto) +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mode. --av=3 (in config auto) very strange with AV2 double ASM
mode. --av=2 (in config av av2) +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
double hash mode. --av=2 |
and how can i do that on Ubuntu 16.4 TLS??? |
Stable v2.8.1 release (CPU/AMD/Proxy) available. For miners only minor bugfixes since v2.8.0-rc, for proxy update highly recommended to install. |
NVIDIA miner ready for |
i didnt understand is theres any update for ubuntu 16.4 TLS?? |
@FBI962, you should update miner at any distro. |
how can i update what is teh command? also is it working on ubuntu 18.4 TLS |
Read the doc |
I've optimized integer math for CUDA: SChernykh/fast_int_math_v2_cuda@2ac043c |
@SChernykh Added (you already saw it) about extra 1 H/s per card. Thank you. |
@SChernykh seeing the same as @xmrig. 1-5 h/s faster, depending on the GPU. |
@Bathmat Nice, can you post the latest numbers (CNv1 vs. CNv2) here, so I could update my performance table https://github.com/SChernykh/xmr-stak-cpu#performance ? |
@SChernykh Of note, this computer was slightly faster using CUDA 9.1 and 391 drivers (1100 h/s); however, I cannot get xmrig-nvidia to compile with CUDA 9.1 🤷♂️ For my Win10 with GTX1050: |
Compile error or? |
|
@Bathmat It looks like CUDA 9.1 and latest Visual Studio are not really compatible. |
@SChernykh yeah, I can get 9.1 to work with stak and Also, I misspoke earlier: Drivers 391 work better than 411 on my Win7 rig. Even if I compile stak with CUDA 9.1, it's still slower with driver 411. Oh well, I should probably just upgrade to CUDA 10. |
@Bathmat ok, then, you should use build instructions for CUDA 8 https://github.com/xmrig/xmrig-nvidia/wiki/Windows-Build-CUDA-8 but with path to CUDA 9.1.
|
@xmrig thanks, that worked. Reloaded 391 drivers and speed is back up: 1100 h/s total for CNv1 and 1067 h/s for CNv2 (97%). The GTX970 stayed the same at 455 h/s for CNv2, but the 2 GTX1050s got a 15h/s boost each to 306 h/s Also @SChernykh I tested my Win10 GTX1050 with your optimizations and CNv2 hashrate is the same; 318h/s |
Here's my last Nvidia: EDIT: Been running it for a few hours and hashrate is stable at 507 h/s (97.5%). |
xmrig-nvidia v2.8.0-rc released https://github.com/xmrig/xmrig-nvidia/releases/tag/v2.8.0-rc |
CPU....: Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz Version: xmr-stak 2.4.7 c5f0505d
Version: xmr-stak 2.5.0 90125127
Version: xmr-stak 2.5.0 90125127
Version: xmr-stak 2.5.0 90125127
amd.txt RX 550 - 2 x |
Just before switching back to CN/1, I copied the report on CN/2, and noticed that "Highest" is close to what I'd expect on CN/1
|
@trasherdk I think you reported your values to the wrong miner. This is a xmrig issue. Maybe you thought you are in fireice-uk/xmr-stak#1851 |
You are right. Sorry guys :) BTW. xmrig is running just fine.
|
Has anyone tested cn/2 (cnv8) with Vega and Blockchain drivers? I'm getting 1975 with cn/1 easily, but the best I can get with cn/2 is 1200 h/s (600 per thread). It's a mixed rig, and when I tried adrenaline 18.5.1, my RXs didn't want to switch to compute mode. I'll have to try again later, but just wanted to see if anyone had gotten blockchain drivers to work successfully. |
Monero will change PoW algorithm to CryptoNight variant 2 on October 18th.
Required steps
variant
option on each Monero pool should be set to-1
(automatic).Notes
variant
option, just update miners and proxy to v2.8.variant
option only on proxy side.Test pool
http://killallasics.moneroworld.com/
Checklist
The text was updated successfully, but these errors were encountered: