diff mbox

[v1,3/3] .travis.yml: make -j3

Message ID 1458651195-21176-4-git-send-email-alex.bennee@linaro.org
State New
Headers show

Commit Message

Alex Bennée March 22, 2016, 12:53 p.m. UTC
The move from Travis VMs to Containers came with a upgrade from 1.5
cores to 2. The received wisdom is -j N+1 means a core can be doing work
while other threads wait for IO to complete. This is hard to test on the
Travis infrastructure but an initial before/after eyeballing seems to
confirm it is an improvement.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Gibson March 23, 2016, 1:25 a.m. UTC | #1
On Tue, Mar 22, 2016 at 12:53:15PM +0000, Alex Bennée wrote:
> The move from Travis VMs to Containers came with a upgrade from 1.5
> cores to 2. The received wisdom is -j N+1 means a core can be doing work
> while other threads wait for IO to complete. This is hard to test on the
> Travis infrastructure but an initial before/after eyeballing seems to
> confirm it is an improvement.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

> ---
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 3f77bfa..345e3ca 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -59,7 +59,7 @@ before_install:
>  before_script:
>    - ./configure ${CONFIG}
>  script:
> -  - make -j2 && ${TEST_CMD}
> +  - make -j3 && ${TEST_CMD}
>  matrix:
>    include:
>      # Sparse is GCC only
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index 3f77bfa..345e3ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,7 +59,7 @@  before_install:
 before_script:
   - ./configure ${CONFIG}
 script:
-  - make -j2 && ${TEST_CMD}
+  - make -j3 && ${TEST_CMD}
 matrix:
   include:
     # Sparse is GCC only