Bug 559647
Summary: | quadratic work: genisoimage per .rpm on split .iso | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> | ||||||
Component: | pungi | Assignee: | David Cantrell <dcantrell> | ||||||
Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | rawhide | CC: | dcantrell, jcm, jonathan, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-01-28 18:35:41 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
John Reiser
2010-01-28 16:50:31 UTC
I believe it's pungi that calls genisoimage, not anaconda. 10% savings for something that makes us a lot more likely to overrun sizes and a bunch of added complexity isn't something I'm interested in. Certainly not something I'm going to spend time coding. If you have patches, I might entertain them. On the systems where we compose, the entire compose only takes about 40 minutes, so shaving 4 minutes off of 40 just doesn't really matter to me. I'm closing this deferred. pkgorder+splittree would rise to 23% of elapsed time for a compose, assuming infinite download speed. (18% of the 40 minutes mentioned in comment #2.) I saved 5 minutes during buildinstall by using tmpfs in RAM: mkdir -p /dev/shm/pungi-$$ export TMPDIR=/dev/shm/pungi-$$ The peak usage was 1.58GB, so a 3GB machine is not quite enough for one simultaneous compose because the default for /dev/shm is 50% of RAM. Previously I used TMPDIR=$DESTDIR/work/$ARCH/tmp on ext4 (SATA-II.) My observed timeline this morning was: 08:30 begin compose 08:38 end package downloads (134 packages, total 285MB) 08:40 buildinstall 08:50 end buildinstall downloads (another 284MB) 09:05 mkisofs DVD 09:07 pkgorder 09:10 splittree 09:14 repo data 09:16 mkisofs disc1 09:18 end compose ===== 48m total elapsed time 8m package downloading 10m buildinstall downloading ------- 30m elapsed non-download 3m pkgorder 4m splittree Still not really enough for me to care, particularly without code in hand. Created attachment 447604 [details]
splittree in a couple seconds (average 3 genisoimage per CD)
This patch to pungi-2.1.2/src/pypungi/splittree.py implements the suggested "pack using .st_size as estimate, check using genisoimage, correct if necessary."
Created attachment 450487 [details]
revised patch for splittree.py
Better detection and processing of space overflow.
Please consider for Fedora 15 (after Fedora 14.)
splittree is dead in F15, so there is no need to patch it. |