Review main Merged

47767[TASK] travis-ci: Limit number of parallel jobs

Christian Kuhn CR +2 V +2 Easy +2 −2 updated 04/18/16, 22:55

Commit message

The docker environment of travis-ci reports no solid amount of
available CPU's, so parallel forks a massive amount of processes
in parallel.
The patch limits the maximum number of jobs in parallel for
travis to 6. This should lead to full CPU usage (there should
be 2 hardware available) even if the one or the other process
is in i/o wait for mysql or similar, and 6 should still not
hammer the VM too much.
This has a number of advantages, since the overall memory
consumption is lower, the system has to do much less context
switches, we're a nicer neighbor, single tests are quicker
and the test order is better predictable.

Review

  • Code review CR +2
    • Christian Kuhn +2
    • Wouter Wolters +1
    • Nicole Hummel +1
    • Philipp Gampe +1
  • Verified V +2
    • Christian Kuhn +2

Issues 1

Files 1

Review log 8

  1. Christian Kuhn uploaded patch set 1 04/18/16, 22:10

  2. Nicole Hummel commented on patch set 1 04/18/16, 22:32

    shouldn't?
  3. Christian Kuhn commented on patch set 1 04/18/16, 22:38

    Reply

    no, should is ok: we do want full cpu usage, but no hammering with 150 processes.
  4. Philipp Gampe voted on patch set 1 CR +1 04/18/16, 22:43

  5. Wouter Wolters voted on patch set 1 CR +1 04/18/16, 22:45

  6. Nicole Hummel voted on patch set 1 CR +1 04/18/16, 22:54

  7. Christian Kuhn voted on patch set 1 CR +2 V +2 04/18/16, 22:55

  8. Gerrit merged patch set 1 04/18/16, 22:55