Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upraise default number of threads (minimum: 4; otherwise: CPUcount*2) #24
Comments
ryran
added
the
enhancement
label
Nov 4, 2016
ryran
self-assigned this
Nov 4, 2016
added a commit
that referenced
this issue
Nov 4, 2016
ryran
closed this
Nov 4, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ryran commentedNov 4, 2016
•
edited
Further testing last night showed that having up to
CPUcount * 2threads can greatly improve performance. In the case of a single CPU, I found that having 4 threads was even better than 2. (On an 8-core system having 32 threads was NOT better than having 16.)So end-result: if 4 or more CPUs, we set default threads to
CPUcount*2; otherwise, set it to 4.