lueschem / edi

Embedded development infrastructure.
https://www.get-edi.io
GNU Lesser General Public License v3.0
38 stars 12 forks source link

Use ANSIBLE_PIPELINING to speed up image builds. #51

Closed lueschem closed 4 years ago

lueschem commented 4 years ago

It looks like Ansible pipelining can give edi a significant speedup: https://docs.ansible.com/ansible/latest/reference_appendices/config.html

The idea is that pipelining can be enabled on edi config level.

lueschem commented 4 years ago

Preliminary testing shows some improvements when using pipelining = True:

sudo edi -v image create --recursive-clean 5 pi3-buster-arm64.yml
time sudo edi -v image create --recursive-clean 5 pi3-buster-arm64.yml

--> 13m48s for pipelining=False --> 11m0s for pipelining=True