From: "Daniel P. Berrange" <berrange@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH] link to .xz files to save some bandwidth
Date: Wed, 8 Feb 2017 10:29:49 +0000 [thread overview]
Message-ID: <20170208102949.GD3129@redhat.com> (raw)
In-Reply-To: <20170207155956.21573-1-pbonzini@redhat.com>
On Tue, Feb 07, 2017 at 04:59:56PM +0100, Paolo Bonzini wrote:
> 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.
I'm not disagreeing with the proposal, but decompression time is
largely irrelevant, IMHO, as any speed up is lost in the noise
once you consider the time to actually build the QEMU after
unpacking it.
Saving GB's of bandwidth a day for our hosting site is a compelling
benefit, if that has direct impact on project running costs. Shorter
download times are nice, if you have a very slow internet link too,
but for most people they'll again be lost in the noise. As discussed
on IRC, a follow up effort would be to change our releases so we only
include QEMU source and ship pre-built ROMs in a separate tar.xz
which would make downloads massively smaller IIUC.
> 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> — <a
> + href="http://download.qemu-project.org/qemu-{{release.branch}}.{{release.patch}}.tar.xz.sig">signature</a> — <a
> href="http://wiki.qemu-project.org/ChangeLog/{{release.branch}}">changes</a></li>
> {% endfor %}
> </ul>
> --
> 2.9.3
>
>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|
next prev parent reply other threads:[~2017-02-08 10:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-02-08 16:05 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170208102949.GD3129@redhat.com \
--to=berrange@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).