Bug #722

tar.xz support for OpenVZ OS Templates

Added by Danny Terweij 6 months ago. Updated 6 months ago.

Status:New Start date:11/06/2011
Priority:Urgent Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:2.1.0
Resolution: Operating System:
Reproduceable: Architecture:

Description

Currently at openvz.org, the templates are packed as tar.xz. HyperVM does not recognize them.

History

Updated by Danny Terweij 6 months ago

  • Target version set to 2.1.0

Updated by Danny Terweij 6 months ago

Can someone dig into this?

Updated by William Leonard 6 months ago

I am working on some numbers to present, but I think that xz would be a very bad idea. I would suggest anyone who wants to use one of those templates should decompress it and then gzip it. If multiple people were to rebuild at the same time it would really bog down the host. Again, I will have some numbers shortly.

Updated by William Leonard 6 months ago

An Ubuntu template of mine

Size
xz - 169 MB
gz - 256 MB
34% savings in disk space for xz

Time to decompress
xz - 25 s
gz - 9 s
64% davings in cpu time for gz

To avoid CPU usage, I have even wondered whether uncompressed tar files would be a better option as storage is the cheapest thing around.

Updated by Danny Terweij 6 months ago

The contributed templates at openvz.org are now in xz format.
So we have to support it or provide a conversion script from xz to tar.gz

Also available in: Atom PDF