Bitcoin Forum
April 24, 2024, 02:30:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 »
  Print  
Author Topic: Building Cheap Miners : My "Secret"  (Read 60196 times)
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 13, 2019, 01:34:53 AM
Last edit: August 05, 2019, 03:20:33 PM by MinersRus
 #941

I just upgraded one Dell R815 to quad 16-core Opteron 6378's and tested RandomX on it.

Results were not as I expected.

All testing were done with: TurionPowerControl -psmax 1

Testing one Opteron 6378:

seq 0 1 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 8

gave good results of 2995 H/s

Code:
Running benchmark (10000 nonces) ...
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1497.22 hashes per second
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1497.49 hashes per second

but when I tested all four Opteron 6378's at the same time:

seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 8

the H/s dropped down to 2777 H/s per Opteron 6378 or a reduction of 7.3%

Code:
Running benchmark (100000 nonces) ...                                                                                                                                                        
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1398.73 hashes per second                                                                                                                                                      
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1394.46 hashes per second                                                                                                                                                      
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1393.11 hashes per second                                                                                                                                                      
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1390.36 hashes per second                                                                                                                                                      
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1386.95 hashes per second                                                                                                                                                      
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1386.33 hashes per second                                                                                                                                                      
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1383.43 hashes per second                                                                                                                                                      
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f                                                                                                          
Performance: 1375.52 hashes per second
   
                    
It seems that some thermal slowdown is happening with thread count 8 (16 per cpu) when all processors are active. I tested inside under AC so the ambient temp was not a factor.

I tried with 7 threads and it slightly improved 1% to 2806 H/s per Opteron 6378 or 11225 H/s for a Dell R815 with quad 16-core Opteron 6378's.

seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 7

6 threads had a large drop off so 7 threads is optimal.

The 2806 H/s per Opteron 6378 is only 5.8% better than an Opteron 6348 which produces 2653 H/s not the 16.1% improvement I was expecting.

Measured power during mining was 815 watts (idle 265 watts) or 13.77 Hashes per Watt.



Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713969012
Hero Member
*
Offline Offline

Posts: 1713969012

View Profile Personal Message (Offline)

Ignore
1713969012
Reply with quote  #2

1713969012
Report to moderator
1713969012
Hero Member
*
Offline Offline

Posts: 1713969012

View Profile Personal Message (Offline)

Ignore
1713969012
Reply with quote  #2

1713969012
Report to moderator
SpceGhst
Jr. Member
*
Offline Offline

Activity: 269
Merit: 4


View Profile
July 13, 2019, 11:32:26 AM
 #942

I don’t know much about Opterons or Linux, but this is what a buddy of mine shared with me for a 6276.

sixlitr@SixLitr-R815-1:~/RandomX/build$ ./randomx-benchmark --largePages --mine --jit --threads 16
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (1 thread) ...
Memory initialized in 70.2612 s
Initializing 16 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 38d47ea494480bff8d621189e8e92747288bb1da6c75dc401f2ab4b6807b6010
Reference result:  38d47ea494480bff8d621189e8e92747288bb1da6c75dc401f2ab4b6807b6010
Performance: 3310.21 hashes per second
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 13, 2019, 03:04:21 PM
Last edit: July 14, 2019, 08:08:57 AM by MinersRus
 #943

I don’t know much about Opterons or Linux, but this is what a buddy of mine shared with me for a 6276.

sixlitr@SixLitr-R815-1:~/RandomX/build$ ./randomx-benchmark --largePages --mine --jit --threads 16
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (1 thread) ...
Memory initialized in 70.2612 s
Initializing 16 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 38d47ea494480bff8d621189e8e92747288bb1da6c75dc401f2ab4b6807b6010
Reference result:  38d47ea494480bff8d621189e8e92747288bb1da6c75dc401f2ab4b6807b6010
Performance: 3310.21 hashes per second


Thanks for sharing.

I do want to point out a couple of issues with the above data. You might want to send this post to your friend for retesting.

First Running the benchmark with only 1000 nonces is way too small. This causes too high results and is not realistic if mining at 100% over an extended period.

Quote
Select N (number of nonces) equal to 10000, 100000 or 1000000 depending on the performance of your system. Aim for at least a 60-second mining period for accurate results.

https://github.com/tevador/RandomX/issues/25

I use 10000 nonces for quick testing and 100000 nonces for actual benchmarking tests of around 60 seconds. By using a too small nonces number the processor never even heats up so any issues with that are not seen and any power measurements would be invalid.

Second the "Performance: 3310.21 hashes per second" is too high for a single 6276. More than likely the system is a Dual Opteron 6276 system and the benchmark test from above is running on both processors and thus causing the too high number.

These Opterons are actually two dies in a single package (NUMA node 0 and 1) so to test properly you need to run two benchmarks one assigned to each node.

To test a single 6276 Opteron do this:

seq 0 1 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 10000 --init 8 --threads 8

This will run 16 threads (the same as the initial test from above) but does so by assigning 8 threads to each of the two dies inside a single Opteron.

For testing a Dual Opteron 6276 system do this:

seq 0 3 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 10000 --init 8 --threads 8


 
SpceGhst
Jr. Member
*
Offline Offline

Activity: 269
Merit: 4


View Profile
July 14, 2019, 05:11:52 PM
 #944

With the single cpu command you posted above, he got 1894 hashes.

Running the original command (16 threads) for 100k nonces, his hash actually went up to 3600 from 3300.
SpceGhst
Jr. Member
*
Offline Offline

Activity: 269
Merit: 4


View Profile
July 15, 2019, 11:48:13 AM
 #945

Update:

I don’t believe my friend entered the command you provided correctly. Turns out he has an 815 with 4x6276.  He jumped on Loki testnet using RandomX Loki algo and is getting 3400-3600 HS with xmrig for all four Opterons.  Bummer...
SixLitr
Jr. Member
*
Offline Offline

Activity: 62
Merit: 2


View Profile WWW
July 15, 2019, 04:06:32 PM
Last edit: July 15, 2019, 04:17:54 PM by SixLitr
 #946

I am "the friend" - and after reading everything I will be performing some more tests to help provide a more accurate representation of the servers I have ( 2 x R815's each with 64GB of RAM and 4 x Opteron  6276 running Ubuntu 16).

Quick question, as I am learning my way around "server CPU" mining and relatively new to this (been GPU mining for years). How do I test all 4 CPU's together, in addition to a single and dual for comparison? (Just posting the commands is fine, but I prefer to also learn what they do and why/how to use them).  Thanks!
SixLitr
Jr. Member
*
Offline Offline

Activity: 62
Merit: 2


View Profile WWW
July 15, 2019, 04:40:11 PM
Merited by vapourminer (1)
 #947

Results from testing (running hugepages at 9600 if that matters). Some interesting results testing all 4 CPUs as I noticed the last couple virtual machines slowed down considerably, dropping to 7 threads didn't help and reduced the overall score.

Single CPU [2435h/s]
Code:
seq 0 1 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 10000 --init 8 --threads 8
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
Memory initialized in 11.186 s
Initializing 8 virtual machine(s) ...
Memory initialized in 11.1881 s
Initializing 8 virtual machine(s) ...
Running benchmark (10000 nonces) ...
Running benchmark (10000 nonces) ...
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1218.28 hashes per second
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1217.59 hashes per second

Dual CPU [4875h/s]
Code:
seq 0 3 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 10000 --init 8 --threads 8
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
Memory initialized in 11.192 s
Initializing 8 virtual machine(s) ...
Running benchmark (10000 nonces) ...
Memory initialized in 11.2044 s
Initializing 8 virtual machine(s) ...
Running benchmark (10000 nonces) ...
Memory initialized in 11.2342 s
Initializing 8 virtual machine(s) ...
Running benchmark (10000 nonces) ...
Memory initialized in 11.2376 s
Initializing 8 virtual machine(s) ...
Running benchmark (10000 nonces) ...
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1222.54 hashes per second
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1219.92 hashes per second
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1221.46 hashes per second
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1213.3 hashes per second

Quad CPU [8836h/s]
Code:
 seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 8
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
Memory initialized in 11.181 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.2132 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.2208 s
Initializing 8 virtual machine(s) ...
Memory initialized in 11.2227 s
Initializing 8 virtual machine(s) ...
Memory initialized in 11.2278 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.2378 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 19.4071 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 19.4136 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1219.7 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1217.48 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1216.08 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1215.29 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1213.56 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1212.34 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 773.804 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 771.625 hashes per second
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 15, 2019, 04:52:19 PM
Last edit: July 16, 2019, 12:12:16 AM by MinersRus
Merited by vapourminer (1)
 #948

Update:

I don’t believe my friend entered the command you provided correctly. Turns out he has an 815 with 4x6276.  He jumped on Loki testnet using RandomX Loki algo and is getting 3400-3600 HS with xmrig for all four Opterons.  Bummer...

His numbers "on Loki testnet using RandomX Loki algo" are still way to low.

I am getting 11225 H/s for a Dell R815 with quad 16-core Opteron 6378's or 2806 H/s per each Opteron 6378.

The Opteron 6276 is only 100 MHz slower (2600 MHz) than the Opteron 6378 (2700 MHz) and taking into consideration the architectural changes for the 6300 series (5.7% faster) the 6276 should only be about 9% slower or around 2556 H/s for each Opteron 6276.

----------------------------------------------------------------------------------------------------------------

Data on AMD Opteron's 6378, 6276 and 6300 architectural changes:

AMD Opteron 6378 specifications:
http://www.cpu-world.com/CPUs/Bulldozer/AMD-Opteron%206378%20-%20OS6378WKTGGHK.html

AMD Opteron 6276 specifications:
http://www.cpu-world.com/CPUs/Bulldozer/AMD-Opteron%206276.html

The Piledriver Architecture: Improving On Bulldozer:
https://www.tomshardware.com/reviews/fx-8350-vishera-review,3328-3.html

----------------------------------------------------------------------------------------------------------------

Here are a few pointers to help your friend properly test the RandomX on his quad Opteron 6276 server:

Huge pages need to be 2400 for each processor (1200 per node, 2 nodes per processor) so do this command to set the correct number of Huge pages:
sudo sysctl -w vm.nr_hugepages=9600

Do this command to verify above change took:
cat /proc/meminfo

Be sure numactl is installed:

sudo apt install numactl

This is the test I used:

seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 7

If his numbers are still to low there can be a couple of reasons.

#1 Memory needs to be in installed on each processor and needs to be optimally configured.

For example the Dell R815 needs four memory sticks installed for each Opteron.

#2 His system is not running at the peak 2600 MHz for all cores.

TurionPowerControl can check and fix that problem.

Multiple Processor G34 Checklist
https://hardforum.com/threads/multiple-processor-g34-checklist.1669698

Instructions to install TurionPowerControl:

Code:
sudo apt install ncurses-dev

git clone https://github.com/mh0rst/turionpowercontrol.git
cd turionpowercontrol
make

sudo apt install cpuid

sudo modprobe cpuid
sudo modprobe msr

Now run this command:

sudo ./TurionPowerControl -l

a bunch of data for for each Opteron will be shown.

Here is a sniplet from my quad Opteron 6348 server:

Code:
Machine has 8 nodes
Processor has 6 cores
Processor has 8 p-states
Processor has 2 boost states

Power States table

-- Node: 0 Core 0
core 0 pstate 0 (pb0) - En:1 VID:24 FID:18 DID:0.00 Freq:3400 VCore:1.2500
core 0 pstate 1 (pb1) - En:1 VID:30 FID:15 DID:0.00 Freq:3100 VCore:1.1750
core 0 pstate 2 (p0) - En:1 VID:40 FID:12 DID:0.00 Freq:2800 VCore:1.0500
core 0 pstate 3 (p1) - En:1 VID:43 FID:9 DID:0.00 Freq:2500 VCore:1.0125
core 0 pstate 4 (p2) - En:1 VID:47 FID:5 DID:0.00 Freq:2100 VCore:0.9625
core 0 pstate 5 (p3) - En:1 VID:50 FID:2 DID:0.00 Freq:1800 VCore:0.9250
core 0 pstate 6 (p4) - En:1 VID:54 FID:12 DID:1.00 Freq:1400 VCore:0.8750
core 0 pstate 7 (p5) - En:0 VID:0 FID:0 DID:0.00 Freq:1600 VCore:1.5500
-- Node: x Core x : this is replicated for each core and each Opteron and is the same as above

at the bottom of the data dump you should this:

Code:
 --- Node 0:
Processor Maximum PState: 6
Processor Startup PState: 6
Processor Maximum Operating Frequency: 3400 MHz

Minimum allowed VID: 123 (0.0125V) - Maximum allowed VID 24 (1.2500V)

again these are duplicated and repeated for each node.

The "Processor Maximum PState: 6" is the problem in not having the Opteron properly running at the All-core frequency.

This is my RandomX test run with "Processor Maximum PState: 6":

seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 6 --threads 6

Code:
Running benchmark (10000 nonces) ...
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1261.93 hashes per second
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1261.98 hashes per second

Or 2524 H/s for one 6348 Opteron

Now doing this command:

sudo ./TurionPowerControl -psmax 1

which sets "Processor Maximum PState: 1"

and retesting:

Code:
Running benchmark (10000 nonces) ...
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1371.44 hashes per second
Calculated result: 3412fd710459cb4e710e2f72760f632f4f00a0463ab02dbdd7dae176aeb1ccc2
Performance: 1371.41 hashes per second

Or 2743 H/s for one 6348 Opteron or 8.7% faster
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 15, 2019, 05:05:21 PM
 #949

@SixLitr your results are really close to optimal hash rates.

I posted the above while you were posting so I didn't see your data until now.

Your results for Single and Dual CPU's is spot on and consistent.

The Quad CPU results are strange for the last CPU.

The results show around 2425 H/s for the first three CPU's but only 1545 H/s for the last CPU.

Is your system complaining about memory configuration for that CPU?

The other reason for that reduced result is that "HT assist" is enabled in the BIOS. If "HT assist" is enabled it reduces L3 cache by 2MB.
Check the BIOS settings under Processor settings and turn off "HT assist".

You should also gain hashes by doing the TurionPowerControl command:
sudo ./TurionPowerControl -psmax 1
SixLitr
Jr. Member
*
Offline Offline

Activity: 62
Merit: 2


View Profile WWW
July 15, 2019, 05:13:18 PM
 #950

Having some issues installing Turion for some reason and I can't seem to find the solution, any ideas?

Code:
g++ -O2   -MMD -MF obj/x86_64/.Brazos.d -MT obj/x86_64/Brazos.o -c -o obj/x86_64/Brazos.o Brazos.cpp
g++ -O2   -MMD -MF obj/x86_64/.Llano.d -MT obj/x86_64/Llano.o -c -o obj/x86_64/Llano.o Llano.cpp
g++ -O2   -MMD -MF obj/x86_64/.Interlagos.d -MT obj/x86_64/Interlagos.o -c -o obj/x86_64/Interlagos.o Interlagos.cpp
g++ -O2   -MMD -MF obj/x86_64/.MSRObject.d -MT obj/x86_64/MSRObject.o -c -o obj/x86_64/MSRObject.o MSRObject.cpp
g++ -O2   -MMD -MF obj/x86_64/.MSVC_Round.d -MT obj/x86_64/MSVC_Round.o -c -o obj/x86_64/MSVC_Round.o MSVC_Round.cpp
In file included from MSVC_Round.cpp:1:0:
MSVC_Round.h:5:17: error: ‘int round(float)’ conflicts with a previous declaration
 int round (float);
                 ^
In file included from /usr/include/c++/7/math.h:36:0,
                 from MSVC_Round.h:3,
                 from MSVC_Round.cpp:1:
/usr/include/c++/7/cmath:1771:3: note: previous declaration ‘constexpr float std::round(float)’
   round(float __x)
   ^~~~~
Makefile:62: recipe for target 'obj/x86_64/MSVC_Round.o' failed
make: *** [obj/x86_64/MSVC_Round.o] Error 1

MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 15, 2019, 05:30:49 PM
Last edit: July 16, 2019, 12:37:50 AM by MinersRus
 #951

Having some issues installing Turion for some reason and I can't seem to find the solution, any ideas?

Code:
g++ -O2   -MMD -MF obj/x86_64/.Brazos.d -MT obj/x86_64/Brazos.o -c -o obj/x86_64/Brazos.o Brazos.cpp
g++ -O2   -MMD -MF obj/x86_64/.Llano.d -MT obj/x86_64/Llano.o -c -o obj/x86_64/Llano.o Llano.cpp
g++ -O2   -MMD -MF obj/x86_64/.Interlagos.d -MT obj/x86_64/Interlagos.o -c -o obj/x86_64/Interlagos.o Interlagos.cpp
g++ -O2   -MMD -MF obj/x86_64/.MSRObject.d -MT obj/x86_64/MSRObject.o -c -o obj/x86_64/MSRObject.o MSRObject.cpp
g++ -O2   -MMD -MF obj/x86_64/.MSVC_Round.d -MT obj/x86_64/MSVC_Round.o -c -o obj/x86_64/MSVC_Round.o MSVC_Round.cpp
In file included from MSVC_Round.cpp:1:0:
MSVC_Round.h:5:17: error: ‘int round(float)’ conflicts with a previous declaration
 int round (float);
                 ^
In file included from /usr/include/c++/7/math.h:36:0,
                 from MSVC_Round.h:3,
                 from MSVC_Round.cpp:1:
/usr/include/c++/7/cmath:1771:3: note: previous declaration ‘constexpr float std::round(float)’
   round(float __x)
   ^~~~~
Makefile:62: recipe for target 'obj/x86_64/MSVC_Round.o' failed
make: *** [obj/x86_64/MSVC_Round.o] Error 1



I have installed turionpowercontrol on all my R815's (both 6200 & 6300 Series) without issues. I am on Ubuntu 16.04 with all the current updates.

You may want check that you have the latest updates:

sudo apt update
sudo apt upgrade

This is what I do to install turionpowercontrol

Code:
sudo apt install ncurses-dev
sudo apt install build-essential

git clone https://github.com/mh0rst/turionpowercontrol.git
cd turionpowercontrol
make


After it compiles without errors this needs to be done before running it.

Code:
sudo apt install cpuid

sudo modprobe cpuid
sudo modprobe msr
SixLitr
Jr. Member
*
Offline Offline

Activity: 62
Merit: 2


View Profile WWW
July 15, 2019, 05:40:21 PM
 #952

I just double-checked and I had these R815's updated to Ubuntu 18 LTS, that might be why I'm having issues.
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 15, 2019, 05:46:45 PM
 #953

I just double-checked and I had these R815's updated to Ubuntu 18 LTS, that might be why I'm having issues.

I am not on Ubuntu 18 LTS so I can't check that.

However I did notice I was missing the install build-essential step

You may want to do:

sudo apt install build-essential

and see if the make now works.

Code:
sudo apt install ncurses-dev
sudo apt install build-essential

git clone https://github.com/mh0rst/turionpowercontrol.git
cd turionpowercontrol
make
SixLitr
Jr. Member
*
Offline Offline

Activity: 62
Merit: 2


View Profile WWW
July 15, 2019, 06:23:24 PM
 #954

I have all the updates applied and that includes build-essential. No luck and I am contemplating re-installing with Ubuntu 16LTS just to see if that's the case. TurionPowerControl hasn't been updated in years.
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 16, 2019, 12:02:58 AM
 #955

Guys,
I am playing around with Proliant G7 4x E7-4870 and I cannot figure out the cpu threads config for XMR-STAK.
Getting either thread 0 error or very low hashrate.

What is your OS (Linux or Windows) version number?

Post your Nvidia.txt config file here so I can look at it and give you some help.


Hi. I booted HiveOS on this machine from the USB drive.

I no longer mine using HiveOS so I suggest going to the HiveOS Forum and asking them for help.
https://forum.hiveos.farm

Ar you using plain Ubuntu?

Yes I am on Ubuntu 16.04
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 16, 2019, 11:58:29 AM
 #956

@SixLitr: Were you able to improve the hash rate for the last processor?

Quote
The results show around 2425 H/s for the first three CPU's but only 1545 H/s for the last CPU.

The probable reason for the reduced result is that "HT assist" is enabled in the BIOS. If "HT assist" is enabled it reduces L3 cache by 2MB.
Check the BIOS settings under Processor settings and turn off "HT assist".
SixLitr
Jr. Member
*
Offline Offline

Activity: 62
Merit: 2


View Profile WWW
July 16, 2019, 05:58:28 PM
 #957

@MinersRus

Unfortunately no, I am unable to improve that last processor but I am still working on things. No luck getting TurionPowerControl working either. Will update if I get anything different (positive or negative). If anyone reading has any ideas on how to get Turion installed on Ubuntu 18 please let me know  Wink - I'd hate to have to downgrade these servers to 16, but if I have to I will to see if anything changes.
MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 16, 2019, 07:37:07 PM
Last edit: July 17, 2019, 12:21:41 AM by MinersRus
 #958

@MinersRus

Unfortunately no, I am unable to improve that last processor but I am still working on things. No luck getting TurionPowerControl working either. Will update if I get anything different (positive or negative). If anyone reading has any ideas on how to get Turion installed on Ubuntu 18 please let me know  Wink - I'd hate to have to downgrade these servers to 16, but if I have to I will to see if anything changes.

For testing without downgrading you can install Ubuntu 16.04 LTS desktop to a USB stick and boot from that stick for testing.

All of my Dell R815's are running off a USB stick.

For testing you can just attach it to the front or back.

For production I have it installed inside at the front left side where there is an internal USB port.

-------------------------------------------------------------------------------------------------------------------

Just a FYI but not all USB sticks are fast or reliable.

I have found that the "SanDisk 16GB Cruzer GLIDE USB Flash Drive" is both fast and reliable.

I buy them new off eBay and just picked up another four of them for $17.50

https://www.ebay.com/itm/Lot-of-4-SanDisk-16GB-Cruzer-GLIDE-USB-Flash-Pen-Drive-2-Lanyards-64GB-total/251883862710



MinersRus
Member
**
Offline Offline

Activity: 214
Merit: 24


View Profile
July 16, 2019, 11:30:43 PM
Last edit: July 17, 2019, 12:18:23 AM by MinersRus
 #959

@MinersRus

Unfortunately no, I am unable to improve that last processor but I am still working on things.

Does that mean that "HT assist" was already disabled in the BIOS?

These are the other settings I have in the processor settings:

HT assist: Disabled
Core Performance Boost Mode:  Enabled
Processor HPC mode: Disabled
C1E: Enabled

Quote from: SixLitr
No luck getting TurionPowerControl working either.

I have discovered that TurionPowerControl binary can be downloaded here:

https://github.com/mh0rst/turionpowercontrol/releases

Just download the tpc-0.44-rc2.tar.gz file (or tpc-0.44-rc2.zip) and unzip it.

In the tpc-0.44-rc2/bin/Ubuntu-amd64 folder you will see the TurionPowerControl binary
SixLitr
Jr. Member
*
Offline Offline

Activity: 62
Merit: 2


View Profile WWW
July 17, 2019, 12:32:23 AM
Merited by vapourminer (1)
 #960

Quote
Does that mean that "HT assist" was already disabled in the BIOS?

I completely forgot to check this honestly - the R&D facility is 30min away so I will have to head back tomorrow and check this setting, most of the time I am just remoting into these servers. Based on the results below I think this may in fact be the culprit to that low hash rate on the last CPU.

Quote
I have discovered that TurionPowerControl binary can be downloaded here:

https://github.com/mh0rst/turionpowercontrol/releases

Just download the tpc-0.44-rc2.tar.gz file (or tpc-0.44-rc2.zip) and unzip it.

In the tpc-0.44-rc2/bin/Ubuntu-amd64 folder you will see the TurionPowerControl binary


I found that yesterday and still didn't make a difference on 18LTS unfortunately.



And now for the latest update:  I went ahead and put 16LTS on a USB thumb drive (great idea don't know why I didn't think of it sooner) BUT I accidentally flashed the image to the hard drive array instead of booting off the USB, oh well, that's what these servers are for right now. So now I can compare 16 vs 18 head to head if there are any subtle differences in OS versions, but I digress.

I ran the baseline test again with all 4 CPUs and got slightly better results [9388H/s] - I even went back after and set psmax to 6 again to check and got [9395H/s] so it's fairly consistent and repeatable.

Code:
seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 8
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
Memory initialized in 11.2737 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.2907 s
Initializing 8 virtual machine(s) ...
Memory initialized in 11.2882 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.3152 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.3287 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.342 s
Initializing 8 virtual machine(s) ...
Memory initialized in 11.3486 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 11.3483 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1220.71 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1219.81 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1218.37 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1217.59 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1217.56 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1216.92 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1043.43 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1038.67 hashes per second

I then ran the same 4 CPU test with TurionPowerControl settings at Processor Maximum PState: 1 and it got worse [8756H/s]

Code:
seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 8
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
Memory initialized in 10.6503 s
Initializing 8 virtual machine(s) ...
Memory initialized in 10.6667 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6677 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6707 s
Initializing 8 virtual machine(s) ...
Memory initialized in 10.6735 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6835 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6931 s
Initializing 8 virtual machine(s) ...
Memory initialized in 10.6934 s
Initializing 8 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1310.76 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1309.99 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1310.33 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1309.63 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1305.83 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1305.44 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 454.509 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 454.231 hashes per second

And finally I ran the same 4 CPU test at psmax 1 with only 7 VM's and got this [8612H/s]

Code:
seq 0 7 | xargs -P 0 -I node numactl -N node ./randomx-benchmark --mine --largePages --jit --nonces 100000 --init 8 --threads 7
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
RandomX benchmark v1.0.4
 - full memory mode (2080 MiB)
 - JIT compiled mode
 - hardware AES mode
 - large pages mode
Initializing (8 threads) ...
Memory initialized in 10.6593 s
Initializing 7 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6523 s
Initializing 7 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6576 s
Initializing 7 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6864 s
Initializing 7 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 10.6983 s
Initializing 7 virtual machine(s) ...
Memory initialized in 10.6983 s
Initializing 7 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Running benchmark (100000 nonces) ...
Memory initialized in 13.1069 s
Initializing 7 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Memory initialized in 13.1296 s
Initializing 7 virtual machine(s) ...
Running benchmark (100000 nonces) ...
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1267.87 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1267.82 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1267.58 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1267.42 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1264.88 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 1258.68 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 521.747 hashes per second
Calculated result: d6660144e9a2e68bf47d7cc8afc206672e72f82dfff69fe0d974531e85f7504f
Performance: 501.978 hashes per second
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!