You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesse Glick (JIRA)" <ji...@codehaus.org> on 2013/01/03 22:20:13 UTC

[jira] (SUREFIRE-947) perCoreThreadCount ineffective

Jesse Glick created SUREFIRE-947:
------------------------------------

             Summary: 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


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

       

[jira] (SUREFIRE-947) perCoreThreadCount ineffective

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SUREFIRE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold updated SUREFIRE-947:
----------------------------------------

      Description: 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.  (was: 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.)
      Environment: 32-bit Linux 3.2.0 kernel (Ubuntu Precise), Java 7u9, i5-2520M CPU × 4  (was: 32-bit Linux 3.2.0 kernel (Ubuntu Precise), Java 7u9, i5-2520M CPU × 4)
    Fix Version/s: 2.14
    
> 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

       

[jira] (SUREFIRE-947) perCoreThreadCount ineffective

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SUREFIRE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-947.
---------------------------------------

    Resolution: Fixed
      Assignee: Kristian Rosenvold
    
> 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
>            Assignee: Kristian Rosenvold
>             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

       

[jira] (SUREFIRE-947) perCoreThreadCount ineffective

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/SUREFIRE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316620#comment-316620 ] 

Kristian Rosenvold commented on SUREFIRE-947:
---------------------------------------------

Looks like we're missing the "perCore" multiplier for multiple forks. Scheduling this for the next version.
                
> 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

       

[jira] (SUREFIRE-947) perCoreThreadCount ineffective

Posted by "Andreas Gudian (JIRA)" <ji...@codehaus.org>.
    [ 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