On Thu, 08 Jul 2021 13:56:28 +0200, Richard Biener wrote:
On Thu, 8 Jul 2021, Takashi Iwai wrote:
On Wed, 30 Jun 2021 18:12:37 +0200, Ahmad Samir wrote:
On 30/06/2021 16:28, Martin Wilck wrote:
On Mi, 2021-06-30 at 15:49 +0200, Ahmad Samir wrote:
Adding to the above, zypper supports deltarpms, so the download size is smaller between version pumps? (or is this with TW, and deltarpms aren't available there?).
In my experience, updating using deltarpms is slower than updating with full rpm downloads.
Martin
It is a trade-off by design, less download size vs more CPU power to decompress the packages.
I checked the performance of deltarpm many years ago, and found that the actual time eater of drpm isn't about decompression but the step for contents or signature check (I forgot details); it requires compressing *again* the whole data to match with the original rpm file contents. If we skip that part, deltarpm would be quite fast.
Providing an alternate checksum/signature for the uncompressed data to check against might also work of course.
That's the logical consequence I reached at that time, too :) I vaguely remember a chat with mls about that, but the checksum wasn't available in the defined format (so need to extend the format somehow).
Isn't the delta rpm somehow signed?
Sorry, I don't know about the current situation. Someone needs to re-check. Takashi