[ovs-git] [openvswitch/ovs] 7654a3: travis: Cache DPDK build.

Ilya Maximets noreply at github.com
Thu Aug 15 12:42:25 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 7654a3ed0b38a985da7b1e6e436ffdb0fdb24b5a
      https://github.com/openvswitch/ovs/commit/7654a3ed0b38a985da7b1e6e436ffdb0fdb24b5a
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M .travis.yml
    M .travis/linux-build.sh

  Log Message:
  -----------
  travis: Cache DPDK build.

This change enables cache for DPDK build directory, so we'll never
build same version of DPDK again. This speeds up each DPDK related
job by 4-6 minutes effectively saving 30-50 minutes of the total time.
Ex. Full TravisCI run on 'trusty' images:

  Without cache:
    Ran for 1 hr 9 min 29 sec
    Total time 4 hrs 55 min 13 sec

  With populated cache:
    Ran for 1 hr 2 min 18 sec
    Total time 4 hrs 20 min 9 sec

Saved:
  Real time: ~7 minutes.
  Total worker time: ~35 minutes.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Aaron Conole <aconole at redhat.com>


  Commit: 2581b0ad11591afef7bcebeb5483e53d9d403fef
      https://github.com/openvswitch/ovs/commit/2581b0ad11591afef7bcebeb5483e53d9d403fef
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M .travis.yml
    M .travis/linux-build.sh

  Log Message:
  -----------
  travis: Combine kernel builds.

Single kernel build job takes ~3 minutes in average. Most of
this time takes VM spawning and initial configuration.
Combining these 24 jobs in 4 allows us to better utilize workers
and not waste time on spawning VMs.

Before:

    24 jobs * 3 minutes = 72 minutes
    72 minutes / 5 workers = 14.4 minutes / worker

After:

    4 jobs * 10 minutes = 40 minutes
    40 minutes / 4 workers = 10 minutes / worker
    + 1 free worker that able to run other jobs at the same time.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Aaron Conole <aconole at redhat.com>


  Commit: 3bfc9c1c30d5470288769adc0a6a7f7f44323c8e
      https://github.com/openvswitch/ovs/commit/3bfc9c1c30d5470288769adc0a6a7f7f44323c8e
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M .travis/osx-prepare.sh

  Log Message:
  -----------
  travis: Drop OSX workarounds.

TravisCI currently uses xcode9.4 as a default image and it
it has good version of libtool out-of-the-box.
Removing these workarounds saves 4-6 minutes of OSX build.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Aaron Conole <aconole at redhat.com>


Compare: https://github.com/openvswitch/ovs/compare/58b34b0016bf...3bfc9c1c30d5


More information about the git mailing list