You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sander Verbruggen (Jira)" <ji...@apache.org> on 2021/06/15 08:02:00 UTC
[jira] [Created] (MNG-7174) Parallel builds on macos get the thread
count wrong
Sander Verbruggen created MNG-7174:
--------------------------------------
Summary: Parallel builds on macos get the thread count wrong
Key: MNG-7174
URL: https://issues.apache.org/jira/browse/MNG-7174
Project: Maven
Issue Type: Bug
Components: Performance
Affects Versions: 3.8.1, 3.6.3
Reporter: Sander Verbruggen
When supplying `-T1C` to do a parallel build on macos, maven counts the _logical_ cores, not the _physical_ ones. This results in the system being overloaded and less responsive (twice the load it can handle).
Steps to reproduce:
sysctl -a|grep 'cpu.thread_count\|cpu.core_count' gives this output on my machine:
machdep.cpu.core_count: 4
machdep.cpu.thread_count: 8
Starting a maven session with `-T1C
--
This message was sent by Atlassian Jira
(v8.3.4#803005)