Parallel build of packages

Registered by Alexej Ababilov on 2013-06-24

Source and binary packages can be build in parallel.

Add -j/--jobs option to smithy.

This speedup is measured for a 4-processor node Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz

# build source RPMs for Python dependencies
$ time make -f ../deps.mk
real 0m22.353s
user 0m16.062s
sys 0m3.437s
$ time make -f ../deps.mk -j 5
real 0m5.041s
user 0m15.459s
sys 0m2.962s

# build binary RPMs for Python dependencies
$ time make -f ../binary-anvil-deps.mk
real 3m54.385s
user 1m32.159s
sys 0m33.519s
$ time make -f ../binary-anvil-deps.mk -j 5
real 0m59.175s
user 1m25.572s
sys 0m19.342s

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Approved
Assignee:
Alexej Ababilov
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Joshua Harlow on 2013-08-06
Completed by
Joshua Harlow on 2013-08-06

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/parallel-build,n,z

Addressed by: https://review.openstack.org/34242
    Switch between OpenStack versions flexibly

Addressed by: https://review.openstack.org/34243
    Create and install Anvil deps RPM

Addressed by: https://review.openstack.org/34244
    Use parallel make to build packages

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.