qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] link to .xz files to save some bandwidth
@ 2017-02-07 15:59 Paolo Bonzini
  2017-02-07 16:51 ` Eric Blake
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Paolo Bonzini @ 2017-02-07 15:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: mdroth

I have converted all .gz and .bz2 files to .xz on download.qemu.org
and this patch would change the links in the website.  This would save
about 5 GB of bandwidth every day (about 20% savings).

xz should be available for all platforms.  Besides providing better
compression ratios, decompression of .xz files is about twice as fast
compared to bzip2.  Compression instead is about 5.5 times slower.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 _download/source.html   | 4 ++--
 _includes/releases.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/_download/source.html b/_download/source.html
index 1ac8f4f..d090a5e 100644
--- a/_download/source.html
+++ b/_download/source.html
@@ -15,8 +15,8 @@
 
 	{% for release in site.data.releases offset: 0 limit: 1 %}
 	<p>To download and build QEMU {{release.branch}}.{{release.patch}}:</p>
-<pre>wget http://download.qemu-project.org/qemu-{{release.branch}}.{{release.patch}}.tar.bz2
-tar xvjf qemu-{{release.branch}}.{{release.patch}}.tar.bz2
+<pre>wget http://download.qemu-project.org/qemu-{{release.branch}}.{{release.patch}}.tar.xz
+tar xvJf qemu-{{release.branch}}.{{release.patch}}.tar.xz
 cd qemu-{{release.branch}}.{{release.patch}}
 ./configure
 make
diff --git a/_includes/releases.html b/_includes/releases.html
index 2caab8d..226c719 100644
--- a/_includes/releases.html
+++ b/_includes/releases.html
@@ -1,9 +1,9 @@
 <ul>
 {% for release in site.data.releases offset: 0 limit: 4 %}
 <li><strong><a
-  href="http://download.qemu-project.org/qemu-{{release.branch}}.{{release.patch}}.tar.bz2">{{release.branch}}.{{release.patch}}</a></strong>
+  href="http://download.qemu-project.org/qemu-{{release.branch}}.{{release.patch}}.tar.xz">{{release.branch}}.{{release.patch}}</a></strong>
   {{release.date}}<br><a
-  href="http://download.qemu-project.org/qemu-{{release.branch}}.{{release.patch}}.tar.bz2.sig">signature</a> &mdash; <a
+  href="http://download.qemu-project.org/qemu-{{release.branch}}.{{release.patch}}.tar.xz.sig">signature</a> &mdash; <a
   href="http://wiki.qemu-project.org/ChangeLog/{{release.branch}}">changes</a></li>
 {% endfor %}
 </ul>
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-02-08 16:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-07 15:59 [Qemu-devel] [PATCH] link to .xz files to save some bandwidth Paolo Bonzini
2017-02-07 16:51 ` Eric Blake
2017-02-08  8:49   ` Markus Armbruster
2017-02-08  9:29     ` Laszlo Ersek
2017-02-08 13:44     ` Eric Blake
2017-02-08  0:43 ` Michael Roth
2017-02-08  8:07   ` Paolo Bonzini
2017-02-08 10:17 ` Laszlo Ersek
2017-02-08 10:29 ` Daniel P. Berrange
2017-02-08 16:05   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).