namondo / ansible-dircopy

dircopy: custom Ansible module which can quickly copy directories recursively
MIT License
0 stars 1 forks source link

lot of small files #1

Open ztoth77 opened 6 years ago

ztoth77 commented 6 years ago

Hi Tamás! If the source .tgz file contains a lot of small files then the module will be very slow. Test: i stop the playbook, because it can not be finished in 1.5 hours, if the .tgz file size is 1.3gb and contains 99872 files (uncompressed size is 1.8gb). if the .tgz file is also 1.3gb but contains 1 file (uncompressed size is also 1.8gb) then the runing time is ~2 minutes. Thanks:zoltán

ztoth77 commented 6 years ago

Hi Tamás! idea: --use-compress-program=pigz Best regards:zoltán