Yea the issue is the config file. Needs to use environment variables to make silly easy to swarm.
Enable Hugepages support in Ubuntu 16.0.4
added: sudo sysctl -w vm.nr_hugepages=128
# /etc/security/limits.conf
* soft memlock 626688
* hard memlock 626688
"cpu_thread_num" : 2,
"cpu_threads_conf" : [
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 0 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 1 },
],
@Spartus how are you doing threads? Are you hand editing the config?
Need to get:
To be the right number of threads and then:Code:"cpu_thread_num" : 2,
Matching number of lines one per CPU.Code:"cpu_threads_conf" : [ { "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 0 }, { "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 1 }, ],
For one machine it is easy to edit by hand. Need it to be automated to be useful for docker. Yet another case where my bash text manipulation skills are not up to snuff.
@Spartus the STH Docker images have the number of threads logic (at least for MB L3 cache /2 but have the numbers to do any of the math for other thread numbers.) All that needs to happen is for the config.txt file to get generated. I may just fiverr this later today.
Yes. The other thing I would want to do is have the username get pushed into the script from an environment variable.yeah I was going to help do the config file editing. I assume you want to use the default config as a starting input and modify it in place right?
./minerd -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u $username -p x -t $numthreads
Mind sharing which guide you used or your notes?running R9 290 crossfire on Arch, It works, but its worse than windows purely because I can overclock in windows and don't want to reflash my GPU bios clocks (yet...)
performance is basically identical before overclock.