Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Advanced threads mode #563

@xmrig

Description

@xmrig

In v2.6.0-beta3 added advanced threads mode and extended low power modes.

Advanced threads mode

Now threads field in config can accept object with individual threads configuration:

"threads": [
        {"low_power_mode": true,  "affine_to_cpu": 0 },
        {"low_power_mode": false, "affine_to_cpu": 1 },
        {"low_power_mode": 1,     "affine_to_cpu": 2 },
        {"low_power_mode": 3,     "affine_to_cpu": false }
],

low_power_mode number between 1 and 5 or boolean, false equal to 1 and true equal to 2. When set to a number N greater than 1, this mode will increase the cache usage and single thread performance by N times.
affine_to_cpu This can be either false (no affinity), or the CPU core number.

Changed huge pages allocation strategy, now each thread allocate huge pages by self.

Backward compatibility

  • Miner can work with config from previous versions, where is threads set as number or null.
  • Options av and cpu-affinity has no effect in advanced mode.
  • New option hw-aes works only in advanced mode.
  • Threads array compatible with xmr-stak.

New --av modes

  • --av=5 Triple hash mode
  • --av=6 Quard hash mode
  • --av=7 Penta hash mode
  • --av=8 Triple hash mode (Software AES)
  • --av=9 Quard hash mode (Software AES)
  • --av=10 Penta hash mode (Software AES)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions