Bug 510878 - RFE: Gain in delta download should include presto metadata size
RFE: Gain in delta download should include presto metadata size
Product: Fedora
Classification: Fedora
Component: yum-presto (Show other bugs)
x86_64 Linux
low Severity low
: ---
: ---
Assigned To: Jonathan Dieter
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-07-11 19:11 EDT by Riumin Oleksii
Modified: 2010-06-28 09:35 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-28 09:35:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Riumin Oleksii 2009-07-11 19:11:50 EDT
Description of problem: Since the calculating does not include size of file updates/prestodelta, results too optimistic. On small updates gain can be negative actually.
Actual results:

updates/prestodelta                                      | 316 kB     00:49     
Processing delta metadata
Download delta size: 216 k
(1/4): rpm-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm         |  41 kB     00:07     
(2/4): rpm-build-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm   |  34 kB     00:05     
(3/4): rpm-libs-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm    | 120 kB     00:44     
(4/4): rpm-python-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm  |  21 kB     00:05     
Finishing rebuild of rpms, from deltarpms
<delta rebuild>                                          | 1.5 MB     00:01     
Presto reduced the updates to 216 k from 1.5 M which is a 87% savings.

Expected results:
Presto reduced the updates to 532 k from 1.5 M which is a 65% savings.
Comment 1 Peter Fernandes 2009-07-12 15:18:26 EDT
Wrong presto guys!  "presto" is a tilemap engine, yum-presto is what you're looking for.  Bug reassigned.
Comment 2 James Antill 2009-07-13 10:34:16 EDT
That's true, but fixing this is somewhat problematic though for instance:

1. yum makecache (downloads presto delta info.)
2. yum update blah (repo. hasn't updated since #1, so metadata is still good).


1. yum update foo (downloads presto metadata + drpm for foo)
2. yum update bar (downloads drpm for bar)
Comment 3 Jonathan Dieter 2009-07-14 05:29:08 EDT
As James pointed out, the real problem is that there are certain situations where the savings will not be exact.  Unless you have a *very* minimal install, yum-presto will give you an overall savings (normally a large overall savings).

Having said that, I would welcome a patch that would add prestodelta.xml.gz's size to the actual_download_size whenever we actively download it.
Comment 4 James Heather 2009-11-25 03:14:24 EST
A nice little example of negative savings! (This isn't intrinsically bad, of course: it's saved me several GB of download overall. But it would make the stats more believable if the delta size was included when it was downloaded.)

Total download size: 149 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
updates-testing/prestodelta                                                          | 135 kB     00:00     
Processing delta metadata
Download delta size: 21 k
liveusb-creator-3.8.6-1.fc12_3.8.7-1.fc12.noarch.drpm                                |  21 kB     00:00     
Finishing rebuild of rpms, from deltarpms
<delta rebuild>                                                                      | 149 kB     00:01     
Presto reduced the update size by 87% (from 149 k to 21 k).
Comment 5 Bug Zapper 2010-04-27 11:37:33 EDT
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
Comment 6 Bug Zapper 2010-06-28 09:35:13 EDT
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.