[ 
https://issues.apache.org/jira/browse/MNG-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809148#comment-16809148
 ] 

Jason Faust commented on MNG-6623:
----------------------------------

I have a build i'm trying to balance that takes a long time, but I don't want 
to choke out the developers workstations or the CI server.  I'm trying to say 
use up most available on the system, but leave a core alone for the OS and 
other items to function. {{,75C}} works on the workstations, as they are four 
core, but the other half is a 24 core box, but using {{,75C}} on that leaves 6 
cores idle (uses 18), but would prefer to only have 1 idle.  I know I can solve 
it with (in this case) something like {{,99C}}, but {{1C-1}} would express the 
intent better.

> Adding / Removing from core multiplier for parallel builds
> ----------------------------------------------------------
>
>                 Key: MNG-6623
>                 URL: https://issues.apache.org/jira/browse/MNG-6623
>             Project: Maven
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 3.6.0
>            Reporter: Jason Faust
>            Priority: Minor
>             Fix For: waiting-for-feedback
>
>
> An extension to the parallel build syntax would be useful to fine tune the 
> result after the first adjustment happens.
> One idea is {{nC(+|-)x}} where {{nC}} is the existing syntax, and the plus or 
> minus would increase or decrease the result, or another way:
>  * {{1C+4}} = Number of cores, plus 4 more threads, so on a 1 core system, 5 
> threads
>  * {{2C-2}} = On a 4 core system, 6 threads



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to