Comments (2)
The official stockfish only shares the main hash among cores and has per-thread tables for everything else, so numa awareness is a moo point in official. asmFish currently shares the cmh table among threads in the same node. For your machine you have essential three options
- setoption name nodeaffinity value all
This is the default and will try to use all of the nodes in your machine. - setoption name nodeaffinity value none
This disables numa awareness and tells the OS nothing about where to put stuff. - setoption name nodeaffinity value 0 (or setoption name nodeaffinity value 1)
This tell the OS to try put all of the stuff on node 0 (or node 1)
Option 2) is probably what you want since the OS should be smart enough to put everything on the same node if you request the same number of threads as there are cores on each node. The problem with 3) is with multiple instances - if you are running more than one instance of the program and they are both pinned to node 0, then they are going to be fighting for time. Option 1) is also not good for this same reason, since multiple instances will be using the nodes in the same way.
from asmfish.
You can see what the program is doing like this. Node number -1 is a dummy node. If you are running on a windows box, you will get a group number in addition to a 64bit mask.
$ ./pfish
pedantFishL_2017-05-25_popcnt
setoption name nodeaffinity value all
info string node 0 parent 0 cores 4 mask 0x000000000000000f
setoption name threads value 4
isready
info string node 0 has threads 0 1 2 3
readyok
setoption name nodeaffinity value none
info string node -1 parent -1 cores 1 mask 0x0000000000000000
info string node -1 has threads 0 1 2 3
setoption name nodeaffinity value 0
info string node 0 parent 0 cores 4 mask 0x000000000000000f
info string node 0 has threads 0 1 2 3
quit
from asmfish.
Related Issues (20)
- General Updates/Questions HOT 82
- armFish: Implementation of the arctan function HOT 1
- Action Items
- Cannot find FASMG to make a compile HOT 6
- what is bmi1 & bmi2 (question) HOT 5
- how to use big large pages file (question)
- Flat assembler g
- BMI1 better then BMI2 HOT 7
- Question: does project is dead? HOT 2
- Latest asmFish versions and progress update HOT 9
- Lc0 beat SF decisively at two tournaments HOT 2
- Update: Commit migration in progress. HOT 2
- Android binary (armFish) HOT 1
- Syzygy 7men support HOT 3
- question asmfish support the Nalimov format ?? HOT 1
- crashes on computers with more than 1 processor groups HOT 27
- brain2polyglot HOT 1
- Is it possible to embed assembly in official Stockfish's C++ code? HOT 3
- How is asmFish doing these days? HOT 5
- Memory usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asmfish.