maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Gudian (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-947) perCoreThreadCount ineffective
Date Thu, 14 Feb 2013 18:24:13 GMT

    [ https://jira.codehaus.org/browse/SUREFIRE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319708#comment-319708
] 

Andreas Gudian commented on SUREFIRE-947:
-----------------------------------------

Fixed along with SUREFIRE-949: with the new and dedicated paramter {{forkCount}}, you can
specify per-core counting the {{mvn -T}} style by adding a "C" at the end. e.g. {{forkCount=1.5C}}
will result in 12 forks on an 8 core machine.
                
> perCoreThreadCount ineffective
> ------------------------------
>
>                 Key: SUREFIRE-947
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-947
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.13
>         Environment: 32-bit Linux 3.2.0 kernel (Ubuntu Precise), Java 7u9, i5-2520M CPU
× 4
>            Reporter: Jesse Glick
>             Fix For: 2.14
>
>
> I am running on a multicore machine with {{forkMode="perthread"}} + {{threadCount="1"}}
+ {{reuseForks="true"}} and not seeing any parallelism—at least {{jps -lm}}
reports only one {{surefirebooter.jar}} process. {{perCoreThreadCount}} defaults to {{true}}
so I expected to see 4 (or 8?) processes. Seems that I have to explicitly specify a larger
{{threadCount}} in order to get actual parallelism.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message