[opensuse-kernel] use linux-*.tar.xz in kernel-source?
Hi, do you think it makes sense for the kernel-source package to switch to the xz compressed tarballs provided by kernel.org? Some scientific research: $ ls -1sh linux-3.0.tar.* 74M linux-3.0.tar.bz2 61M linux-3.0.tar.xz $ time -p bzcat linux-3.0.tar.bz2 >/dev/null real 10.63 user 10.57 sys 0.05 $ time -p xzcat linux-3.0.tar.xz >/dev/null real 5.74 user 5.50 sys 0.21 Thoughts? Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 18.11.2011 15:14, Cristian Rodríguez wrote:
On 18/11/11 11:10, Michal Marek wrote:
Thoughts?
did you tried pbzcat instead ?
seife@susi:/dev/shm> time bzcat linux-3.0.9.tar.bz2 > /dev/null real 0m12.247s user 0m12.178s sys 0m0.055s seife@susi:/dev/shm> time pbzcat linux-3.0.9.tar.bz2 > /dev/null real 0m12.702s user 0m12.450s sys 0m0.470s The tarballs would need to be compressed with pbzip2 for pbzcat to gain anything. Obviously they are not. Additionally, xz brings ~20% less file size. Michal, the only problem I can see is that xz might not be available for old distributions, so the buildservice might have a problem building for them? But this could be worked around. -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/18/2011 09:24 AM, Stefan Seyfried wrote:
On 18.11.2011 15:14, Cristian Rodríguez wrote:
On 18/11/11 11:10, Michal Marek wrote:
Thoughts?
did you tried pbzcat instead ?
seife@susi:/dev/shm> time bzcat linux-3.0.9.tar.bz2 > /dev/null
real 0m12.247s user 0m12.178s sys 0m0.055s seife@susi:/dev/shm> time pbzcat linux-3.0.9.tar.bz2 > /dev/null
real 0m12.702s user 0m12.450s sys 0m0.470s
The tarballs would need to be compressed with pbzip2 for pbzcat to gain anything. Obviously they are not.
Additionally, xz brings ~20% less file size.
Michal, the only problem I can see is that xz might not be available for old distributions, so the buildservice might have a problem building for them? But this could be worked around.
How old are we worried about? xz was included as far back as 11.2. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOxoMMAAoJEB57S2MheeWy5/YQAJqO4FaL//JoCDlKVbdkpBtu /MScnoMEO9qF4bacoicXmyH8pJIlsTVshNQ1TiOwzLI0Bv3HqB9iZvwPn0efhXbs 2UmfqptNXnrYftzT6OXpTsMWwBIJ3d8LoduhiRpxvsfSINy5vMtK3MFRwsJxfKPw zZBfsX2UOXD3+M7uhdcle8Et2HR0pLJGx8MWz4QUmWvpfWFWZ2am3LDRWgfGqzFg 2MEPJU/Pl/j+LiQGQGJ/UzRWp4OZxuoz6cy4t75gVg2OIzE1WDz7Jz7nuVKNDO0O xU2ai19iTQHaAtLkBmkYcYH3Z1X49F+N7PBG82Xz7WD8RDphZumJXyZGLOCI6oZI F+/igOWrHyQsFs/ZrLjcrCxoZdctnWB+ccBKDbdcrKJY0e1kv+3SiksqsH9E+WNt tfoGXp2iuZd/tsGitqpxuYomt8j1OaWNf16aLaGVVZgfzP0mF72CKm9YdyHClIpA rNr1yi9BCvAVGgwHjAhXyGqabVeeCLcC1D33Yre7mUHAzMbMmOtcgEt5qXlH6N8J fyhr4arjgFj0l45nizvCoJb/mQoQLz9bF4GrG/xg5Xsrn3PecQM8C/CNm0UBR2xA RQJbYSVwisV/G08ribL6c3BS3x+VppfLeSKtID7SzJVYekgIBDxOSLFgPLcAc2MF r7PhPr9XskbhuaSRp23c =9hY6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 18.11.2011 17:08, Jeff Mahoney wrote:
How old are we worried about? xz was included as far back as 11.2.
SLES11? I'm not worried about it, but probably you :-) Best regards, -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 11/18/2011 07:05 PM, Stefan Seyfried wrote:
On 18.11.2011 17:08, Jeff Mahoney wrote:
How old are we worried about? xz was included as far back as 11.2.
SLES11? I'm not worried about it, but probably you :-)
SLE11 already contains xz. So this should not be a problem. Some development machines are still SLE10 though. But I don't think anybody should use those for tar-up of kernel from git (a non-mirrored kernel) and similar. thanks, -- js suse labs -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi, On Sat, 19 Nov 2011, Jiri Slaby wrote:
SLES11? I'm not worried about it, but probably you :-)
SLE11 already contains xz. So this should not be a problem.
Some development machines are still SLE10 though. But I don't think anybody should use those for tar-up of kernel from git (a non-mirrored kernel) and similar.
Careful. Whatever you do in this regard test it before relying on it on SLE11. During the transition from lzma to xz the format was changed slightly some times. New xz should be capable of unpacking all old ones, but older xz/lzma perhaps not (as said, needs testing). Ciao, Michael. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Friday 18 November 2011 03:24:54 pm Stefan Seyfried wrote:
Michal, the only problem I can see is that xz might not be available for old distributions, so the buildservice might have a problem building for them? But this could be worked around.
Please note that a number of problems have been found in quilt with regards to handling of xz-compressed files (most notably in the inspect script used by "quilt setup", but not only.) While all known issues are believed to be addressed upstream and in Factory by now, this is not the case for released openSUSE distributions (let alone SLE.) This may not be a key decision factor, but rather something to keep in mind if we decide to switch to xz. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (7)
-
Cristian Rodríguez
-
Jean Delvare
-
Jeff Mahoney
-
Jiri Slaby
-
Michael Matz
-
Michal Marek
-
Stefan Seyfried