Faster builds

Jeff Sheltren jeff at osuosl.org
Fri Jan 4 03:07:49 UTC 2008


On Jan 3, 2008, at 5:59 PM, Michael Schwendt wrote:

> Some good news for package maintainers with many sub-packages:
>
> Plague used to sleep at least 20 seconds for each (!) file it had to
> download from a builder. Even downloading the several small log  
> files used
> to take at least 20 seconds *each*.
>
> Reading and debugging the code, I found the source of the problem and
> taught the build server to sleep less when files are being downloaded.
> Interestingly, the speedup is noticeable even for tiny build-jobs,  
> e.g.
>
>  revisor down from 7m to 4m
>  nagios down from 6m to 4m
>
> but it will be incredible for build-jobs with a larger number of pkgs
> (e.g. try moodle or nagios-plugins which are in EPEL already). That
> means, such packagers get the build-results and the mail notification
> much faster.
>

Michael, that's very cool.  This has always been something that bugged  
me when using plague, but I never got around to figuring out why the  
"downloading" code was so slow, even locally.  Would you mind posting  
a patch for plague with your changes?

Thanks,
Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/epel-devel-list/attachments/20080103/931decee/attachment.sig>


More information about the epel-devel-list mailing list