Skip to content

HT CPU Core Affinity #9

Open
Open

Description

@nate911

Are there plans to change how worker threads are assigned to CPU cores (with hyper-threading)? For example, I'd like to use it with an i7 on 4 out of 8 cores. The physical cores are 0/2/4/6, but currently, this configuration uses CPU cores 3/4/5/6, a mix of virtual and physical cores.

Activity

  1. ProgrammerDan commented on Apr 1, 2018

    @ProgrammerDan
    Owner

    ATM the route I recommend is controlling at the OS level. Use taskset in *nix and start /affinity <mask> for Windows.

    The affinity library I use is pretty feature full, but the windows support has been leaving me a bit dissapointed.

    Let me know if I can give clearer guidance on the external affine set. For your specific case you'd use (in windows: start /affinity 77 java -d64 -jar arionum-miner-java.jar for 0/2... iirc and start /affinity AA java -d64 -jar arionum-miner-java.jar for 1/3/ etc.

  2. nate911 commented on Apr 1, 2018

    @nate911
    Author

    Thanks for the guidance. It looks like once I add those parameters, the behavior is covered by issue #8. I'll check back for a release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions