-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpu.txt
59 lines (56 loc) · 3.38 KB
/
cpu.txt
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
53
54
55
56
57
58
/*
* Thread configuration for each thread. Make sure it matches the number above.
* low_power_mode - This can either be a boolean (true or false), or a number between 1 to 5. When set to true,
this mode will double the cache usage, and double the single thread performance. It will
* consume much less power (as less cores are working), but will max out at around 80-85% of
* the maximum performance. When set to a number N greater than 1, this mode will increase the
* cache usage and single thread performance by N times.
*
* no_prefetch - Some sytems can gain up to extra 5% here, but sometimes it will have no difference or make
* things slower.
*
* affine_to_cpu - This can be either false (no affinity), or the CPU core number. Note that on hyperthreading
* systems it is better to assign threads to physical cores. On Windows this usually means selecting
* even or odd numbered cpu numbers. For Linux it will be usually the lower CPU numbers, so for a 4
* physical core CPU you should select cpu numbers 0-3.
*
* On the first run the miner will look at your system and suggest a basic configuration that will work,
* you can try to tweak it from there to get the best performance.
*
* A filled out configuration should look like this:
* "cpu_threads_conf" :
* [
* { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
* { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
* ],
*/
"cpu_threads_conf" :
[
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 1 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 3 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 4 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 5 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 6 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 7 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 8 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 9 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 10 },
{ "low_power_mode" : 3, "no_prefetch" : true, "affine_to_cpu" : 11 }
/*
,
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 12 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 13 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 14 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 15 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 16 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 17 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 18 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 19 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 20 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 21 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 22 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 23 },
*/
],