The idea of using metadata to conclude whether/not drpm reconstruction will be successful, is possible. This metadata is called a sequence number "SEQ" for some reason. However, at this time, I have not integrated code for that. The current code blindly tries downloading and fails with a 404. Integrating metadata is listed on the TODO on presto page, and it shouldn't be too difficult anyway. However, since drpms are usually too small compared to their comparative rpm, and since in almost all cases on disk files are not going to be corrupt, I did not see much value in using this kind of metadata.
<br><br>The drpm generator script does keep drpms on the server only if they are worth keeping. The worthfulness numbers, of course can be tuned later. I even think it might be a good idea to make worthfulness depend linearly on the new rpm size. 
i.e. keep drpms for large rpms, even if savings are not that great. We are however getting very good savings on large packages anyway<br><br>My main focus now is on testing and making sure the "base" system is working as it should. Any ideas about that regression system? Do you think it's a good idea? I'm not primarily into coding, so I'll need help making sound decisions. I'm thinking of having a full FC6 install, then using drpms to upgrade that into *-testing, that should give us some nice reports for how many upgrades/reconstructions are failing. We'll probably need some server to host the drpms on, plus the test client.
<br><br><div><span class="gmail_quote">On 3/9/07, <b class="gmail_sendername">Warren Togami</b> <<a href="mailto:wtogami@redhat.com">wtogami@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jonathan Dieter wrote:<br>> On Fri, 2007-03-09 at 12:35 -0500, Warren Togami wrote:<br>>> 2) Ahmed Kamal has been working on a potentially sane implementation of<br>>> deltarpm for Fedora's yum.  Theoretically, it would work as an optional
<br>>> yum plugin.  If the deltarpm is substantially smaller than an RPM<br>>> update, then the deltarpm is provided on a mirror.  If the deltarpm is<br>>> not provided, then yum downloads the original RPM instead.  If it
<br>>> downloaded a deltarpm, it reconstructs the original RPM and uses GPG to<br>>> verify integrity just like yum would verify plain RPM downloads.<br>>><br>>> Ahmed probably could use some developer and testing help.  I've been
<br>>> encouraging him to be more communicative about his project in order to<br>>> get more help, but I haven't seen any further outreach lately.<br>>><br>>> Warren Togami<br>>> <a href="mailto:wtogami@redhat.com">
wtogami@redhat.com</a><br>>><br>> I've been working with Ahmed and Michael Schroeder (the upstream<br>> maintainer of deltarpm) to track down some long-standing bugs in<br>> deltarpm, especially as it relates to prelinked binaries.  These bugs
<br>> were causing very odd problems while working with the yum-deltarpm<br>> plugin.<br><br>Interesting!  I had not considered prelinking.  I'm glad you found this<br>problem.<br><br>Does it check the integrity of all other files (except %config) before
<br>deciding to attempt to download the deltarpm?  (If some other file is<br>modified, abort and download the regular RPM?)<br><br>><br>> We *think* we've found them all (the patches are in the latest Rawhide<br>
> version of deltarpm in Extras), so I think we're at the point where what<br>> we really need is someone who would be willing to create drpms of all<br>> new packages in Core and Extras (there's a modified version of prunerepo
<br>> that does all the work for you), and host them for us.<br>><br>> To give you an idea of the savings we're looking at:<br>> * kdebase-3.5.5-0.4.fc6  => kdebase-3.5.6-0.1.fc6 =  3.5MB vs. 30.2MB<br>
> * kdegames-3.5.5-0.1.fc6 => kdegames-3.5.6-0.1.fc6 = 740KB vs. 11.1MB<br>> * OO.o-core-2.0.4-5.5.3  => OO.o-core-2.0.4-5.5.10 = 8.7MB vs. 92.4 MB<br>> There won't be that kind of savings for all the packages, but a general
<br>> rule of the thumb is that the bigger the package, the better the chance<br>> that we'll get a good compression ratio on the drpm.<br><br>Generated drpms are only to be kept on mirrors if the download savings
<br>are substantial.  Some threshold level has to be decided.<br><br>For example (actual numbers can be decided later):<br>Only push a drpm to mirrors if the download savings are greater than 40%<br>total size, and greater than 5MB.
<br><br>Warren Togami<br><a href="mailto:wtogami@redhat.com">wtogami@redhat.com</a><br><br>--<br>fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">
https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br></blockquote></div><br>