Re: Understanding debdelta.
2011/5/10 shirish शिरीष <shirishag75@gmail.com>:
> It would be interesting too if Mennucc at some >indeterminate time in the future also shares some stats as >to how many debdeltas were downloaded and how much >bandwidth saved for others to further take part in the >experience.
pretty interesting, saved around 2/3rds of the bandwidth today.
sudo aptitude safe-upgrade
Resolving dependencies...
The following NEW packages will be installed:
linux-image-2.6.38-2-amd64{a}
The following packages will be upgraded:
alsa-utils devscripts exim4-base exim4-config exim4-daemon-light
libboost-date-time1.46-dev libboost-date-time1.46.1
libboost-program-options1.46.1 libboost-python1.46.1
libboost-serialization1.46-dev libboost-serialization1.46.1
libboost-thread1.46-dev libboost-thread1.46.1 libboost1.46-dev
libdirac-decoder0 libdirac-encoder0 libdvbpsi6 libgupnp-igd-1.0-3
liblouis-data liblouis2 linux-image-2.6-amd64 python-crypto
python-louis
The following packages are RECOMMENDED but will NOT be installed:
alsa-base
23 packages upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 45.3 MB of archives. After unpacking 102 MB will be used.
Do you want to continue? [Y/n/?] n
$ sudo debdelta-upgrade alsa-utils devscripts exim4-base exim4-config
exim4-daemon-light libboost-date-time1.46-dev libboost-date-time1.46.1
libboost-program-options1.46.1 libboost-python1.46.1
libboost-serialization1.46-dev libboost-serialization1.46.1
libboost-thread1.46-dev libboost-thread1.46.1 libboost1.46-dev
libdirac-decoder0 libdirac-encoder0 libdvbpsi6 libgupnp-igd-1.0-3
liblouis-data liblouis2 python-crypto python-louis
Created, time 1.02sec, speed 1064kB/sec, alsa-utils_1.0.23-5+b1_amd64.deb
Delta is too big:
libboost-program-options1.46.1_1.46.1-4_1.46.1-5_amd64.debdelta
Delta is too big:
libboost-serialization1.46-dev_1.46.1-4_1.46.1-5_amd64.debdelta
Delta is too big: libboost-serialization1.46.1_1.46.1-4_1.46.1-5_amd64.debdelta
Created, time 0.23sec, speed 110kB/sec,
libgupnp-igd-1.0-3_0.1.11-1_amd64.deb
Delta is too big: liblouis2_2.2.0-1_2.3.0-1_amd64.debdelta
Created, time 0.21sec, speed 79kB/sec, python-louis_2.3.0-1_amd64.deb
Downloaded, time 0.19sec, speed 25kB/sec,
exim4-base_4.75-3_4.76-1_amd64.debdelta
Downloaded, time 0.21sec, speed 37kB/sec,
libboost-date-time1.46.1_1.46.1-4_1.46.1-5_amd64.debdelta
Downloaded, time 0.21sec, speed 46kB/sec,
libboost-date-time1.46-dev_1.46.1-4_1.46.1-5_amd64.debdelta
Downloaded, time 0.21sec, speed 47kB/sec,
libdvbpsi6_0.1.7-1_0.1.7-2_amd64.debdelta
Downloaded, time 0.35sec, speed 54kB/sec,
exim4-config_4.75-3_4.76-1_all.debdelta
Created, time 0.99sec, speed 1013kB/sec, exim4-base_4.76-1_amd64.deb
Created, time 0.23sec, speed 188kB/sec,
libboost-date-time1.46.1_1.46.1-5_amd64.deb
Downloaded, time 0.34sec, speed 58kB/sec,
devscripts_2.10.72_2.10.73_amd64.debdelta
Created, time 0.27sec, speed 172kB/sec,
libboost-date-time1.46-dev_1.46.1-5_amd64.deb
Downloaded, time 0.26sec, speed 76kB/sec,
libboost-thread1.46.1_1.46.1-4_1.46.1-5_amd64.debdelta
Created, time 0.18sec, speed 236kB/sec, libdvbpsi6_0.1.7-2_amd64.deb
Downloaded, time 0.29sec, speed 82kB/sec,
libboost-thread1.46-dev_1.46.1-4_1.46.1-5_amd64.debdelta
Created, time 0.37sec, speed 1225kB/sec, exim4-config_4.76-1_all.deb
Created, time 1.57sec, speed 403kB/sec, devscripts_2.10.73_amd64.deb
Created, time 0.19sec, speed 298kB/sec,
libboost-thread1.46.1_1.46.1-5_amd64.deb
Created, time 0.24sec, speed 258kB/sec,
libboost-thread1.46-dev_1.46.1-5_amd64.deb
Downloaded, time 5.74sec, speed 4670B/sec,
liblouis-data_2.2.0-1_2.3.0-1_all.debdelta
Created, time 1.55sec, speed 659kB/sec, liblouis-data_2.3.0-1_all.deb
Downloaded, time 1.85sec, speed 73kB/sec,
python-crypto_2.1.0-2+b2_2.3-1_amd64.debdelta
Created, time 1.06sec, speed 398kB/sec, python-crypto_2.3-1_amd64.deb
Downloaded, time 4.57sec, speed 31kB/sec,
libdirac-decoder0_1.0.2-3_1.0.2-4_amd64.debdelta
Created, time 0.27sec, speed 1148kB/sec, libdirac-decoder0_1.0.2-4_amd64.deb
Downloaded, time 5.13sec, speed 28kB/sec,
exim4-daemon-light_4.75-3_4.76-1_amd64.debdelta
Created, time 0.56sec, speed 1107kB/sec, exim4-daemon-light_4.76-1_amd64.deb
Downloaded, time 5.18sec, speed 29kB/sec,
libboost-python1.46.1_1.46.1-4_1.46.1-5_amd64.debdelta
Created, time 0.38sec, speed 927kB/sec,
libboost-python1.46.1_1.46.1-5_amd64.deb
Downloaded, time 7.01sec, speed 29kB/sec,
libdirac-encoder0_1.0.2-3_1.0.2-4_amd64.debdelta
Created, time 0.38sec, speed 982kB/sec, libdirac-encoder0_1.0.2-4_amd64.deb
Downloaded, time 34.38sec, speed 29kB/sec,
libboost1.46-dev_1.46.1-4_1.46.1-5_amd64.debdelta
Downloaded, time 6.89sec, speed 9kB/sec, liblouis2_2.3.0-1_amd64.deb
Downloaded, time 4.70sec, speed 43kB/sec,
libboost-serialization1.46.1_1.46.1-5_amd64.deb
Downloaded, time 12.91sec, speed 23kB/sec,
libboost-serialization1.46-dev_1.46.1-5_amd64.deb
Downloaded, time 7.58sec, speed 21kB/sec,
libboost-program-options1.46.1_1.46.1-5_amd64.deb
Created, time 38.64sec, speed 197kB/sec, libboost1.46-dev_1.46.1-5_amd64.deb
Delta-upgrade statistics:
Now, for the real thing, see the real difference.
$ sudo aptitude install alsa-utils devscripts exim4-base exim4-config
exim4-daemon-light libboost-date-time1.46-dev libboost-date-time1.46.1
libboost-program-options1.46.1 libboost-python1.46.1
libboost-serialization1.46-dev libboost-serialization1.46.1
libboost-thread1.46-dev libboost-thread1.46.1 libboost1.46-dev
libdirac-decoder0 libdirac-encoder0 libdvbpsi6 libgupnp-igd-1.0-3
liblouis-data liblouis2 python-crypto python-louis
The following packages will be upgraded:
alsa-utils devscripts exim4-base exim4-config exim4-daemon-light
libboost-date-time1.46-dev libboost-date-time1.46.1
libboost-program-options1.46.1 libboost-python1.46.1
libboost-serialization1.46-dev libboost-serialization1.46.1
libboost-thread1.46-dev libboost-thread1.46.1 libboost1.46-dev
libdirac-decoder0 libdirac-encoder0 libdvbpsi6 libgupnp-igd-1.0-3
liblouis-data liblouis2 python-crypto python-louis
The following packages are RECOMMENDED but will NOT be installed:
alsa-base
22 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/15.3 MB of archives. After unpacking 3,412 kB will be freed.
Do you want to continue? [Y/n/?] Y
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
apt-listchanges: Mailing root: apt-listchanges: changelogs for deb-home
Preconfiguring packages ...
What's interesting to note is that the download is down from ~45 MB to
only 15 MB, i.e 1/3 of the bandwidth used.
I can confirm though that even both the speed and the latency needs
to get much better.
Just my 2 paise.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
Reply to: