What can I do to speed up createrepo?

Posted by jsd on Server Fault See other posts from Server Fault or by jsd
Published on 2013-10-29T22:48:43Z Indexed on 2013/10/30 3:58 UTC
Read the original article Hit count: 508

Filed under:
|

We are using a yum repository to distribute our software to our production instances. Unfortunately, createrepo is becoming a bottleneck, and we only have 469 packages in the repository.

$ time createrepo /opt/tm-yum-repo
Spawning worker 0 with 469 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

real    0m43.188s
user    0m37.798s
sys 0m1.296s

What can I do to make it faster?

© Server Fault or respective owner

Related posts about yum

Related posts about rpm