mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Jean Delvare <khali@linux-fr.org>, Pavel Machek <pavel@ucw.cz>,
	"J.H." <warthog9@kernel.org>,
	"FTPAdmin Kernel.org" <ftpadmin@kernel.org>,
	users@kernel.org, lasse.collin@tukaani.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	mirrors@kernel.org
Subject: Re: [kernel.org users] XZ Migration discussion
Date: Sat, 13 Feb 2010 11:30:07 -0800	[thread overview]
Message-ID: <4B76FDBF.8050902@xenotime.net> (raw)
In-Reply-To: <10f740e81002131049o196380a6tf863b7713e5aafc5@mail.gmail.com>

On 02/13/10 10:49, Geert Uytterhoeven wrote:
> On Sat, Feb 13, 2010 at 18:10, Jean Delvare <khali@linux-fr.org> wrote:
>> On Thu, 11 Feb 2010 21:51:29 +0100, Pavel Machek wrote:
>>> I believe this is cleanest. gzip has performance advantages, (...)
>>
>> I have been investigating this issue and would like to share my
>> findings as an additional data point for this discussion.
>>
>> For my testing, I have been using the slowest machine I still have
>> available here: a Pentium 166 MMX, with 64 MB of memory and a slow hard
>> disk drive. I've been writing down the duration of each task it took to
>> boot kernel 2.6.27.45 on this machine. I did this for both .gz and .bz2
>> formats.
>>
>> Raw results are as follow (format=min:s):
>>
>> downloading linux-2.6.27.tar.bz2          5:01
>> downloading patch-2.6.27.45.bz2           0:02
>> unpacking linux-2.6.27.tar.bz2            7:28
>> applying patch-2.6.27.45.bz2              1:21
>> ----------------------------------------------
>> total for bz2                            13:52
>>
>> downloading linux-2.6.27.tar.gz           6:23
>> downloading patch-2.6.27.45.gz            0:02
>> unpacking linux-2.6.27.tar.gz             3:20
>> applying patch-2.6.27.45.gz               1:10
>> ----------------------------------------------
>> total for gz                             10:55
>>
>> So the gz option is unsurprisingly faster, setting up the source tree
>> takes almost 3 minutes less (-21%).
>>
>> Then the (common) build and installation times:
>>
>> building                                117:26
>> installing modules                        0:12
>> ----------------------------------------------
>> total                                   117:38
>>
>> This is a customized kernel, as small as I could do, with almost no
>> features and the minimal set of drivers. As you can see, the build time
>> is one order of magnitude greater than the tree setup time. Comparing
>> the total times from download to install between bz2 and gz:
>>
>> bz2: 13:52 + 117:38 = 131:30
>> gz:  10:55 + 117:38 = 128:33
>>
>> Compared to bz2, gz saves... 2% on the overall time. As a conclusion, I
>> think we can plain discard the argument "I need .gz because my machine
>> is slow" from now on. It simply doesn't hold.
> 
> 166 MHz and 64 MB of RAM is still an order of magnitude more than some other
> machines Linux is capable of running on.
> 
> Of course we no longer build kernels on those machines natively, we
> cross-compile
> on much faster machines (and use git to fetch the kernel sources, FWIW ;-).
> 
> BTW, who still downloads full kernel tarballs? From my experience, that's mostly
> distro people who have scripts to build kernels from tarballs + a
> bunch of patches?

All of my daily build & boot testing downloads tarballs.
They use full linux-x.y.z for "releases" (like 2.6.32)
and they use patch-x.y.z.gz/bz2 for intermediate versions.

I don't mind updating the scripts to use .xz tarballs, but I would
really prefer to stick with tarballs instead of git trees.

> I guess actual developers use git nowadays, even if they're stuck on
> an old 2.6.x kernel?
> Backporting critical fixes is sooo much easier using git cherry-pick...
> 
> Do we have statistics about tarball downloads vs. git clone / git pull?

That would be good to see.

-- 
~Randy

  reply	other threads:[~2010-02-13 19:30 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11 18:36 J.H.
2010-02-11 19:44 ` david
2010-02-11 19:48 ` H. Peter Anvin
2010-02-12  0:14   ` [kernel.org mirrors] " Carlos Carvalho
2010-02-11 20:22 ` [kernel.org users] " Willy Tarreau
2010-02-11 20:51 ` Pavel Machek
2010-02-11 22:22   ` H. Peter Anvin
2010-02-12 14:35     ` Jean Delvare
2010-02-13 17:10   ` Jean Delvare
2010-02-13 18:49     ` Geert Uytterhoeven
2010-02-13 19:30       ` Randy Dunlap [this message]
2010-02-16 14:55       ` Steven Rostedt
2010-02-13 23:28     ` Stefan Richter
2010-02-14  9:07       ` Jean Delvare
2010-02-13 23:52     ` Phillip Lougher
2010-02-14  9:23       ` Jean Delvare
2010-02-14  9:33         ` Justin P. Mattock
2010-02-14  9:49         ` Willy Tarreau
2010-02-14 12:43           ` Jean Delvare
2010-02-15 21:31           ` James Cloos
2010-02-17  5:40             ` Willy Tarreau
2010-02-17  5:54               ` H. Peter Anvin
2010-02-17 10:22               ` Petri Kaukasoina
2010-02-17 10:25               ` Petri Kaukasoina
2010-02-14  9:56       ` Andi Kleen
2010-02-18 23:59         ` Jan Engelhardt
2010-02-14 10:16       ` Lasse Collin
2010-02-12 14:01 ` Jean Delvare
2010-02-12 15:21   ` Linus Torvalds
2010-02-12 19:02     ` J.H.
2010-02-12 19:23       ` Jean Delvare
2010-02-12 23:07         ` Willy Tarreau
2010-02-13  6:20           ` Pavel Machek
2010-02-13 10:06             ` Stefan Richter
2010-02-13 10:21               ` Stefan Richter
2010-02-14  9:56                 ` Lasse Collin
2010-02-13  8:17           ` Jean Delvare
2010-02-13  9:59             ` Stefan Richter
2010-02-13 10:18               ` Avi Kivity
2010-02-13 21:37                 ` [kernel] " Mr. James W. Laferriere
2010-02-13 22:39                   ` Bernd Petrovitsch
2010-02-15 19:33                     ` [kernel.org users] [kernel] " Steve French
2010-02-16  9:16                       ` Bernd Petrovitsch
2010-02-16 15:13                         ` J.H.
2010-02-14 17:13               ` [kernel.org users] " Pavel Machek
2010-02-14 17:33                 ` Stefan Richter
2010-02-14 20:51                   ` Pavel Machek
2010-02-15  8:48                     ` Stefan Richter
2010-02-15 23:32                       ` Tom Rini
2010-02-16  8:21                         ` Stefan Richter
2010-02-14 17:07             ` Pavel Machek
2010-02-14 18:39               ` Stefan Richter
2010-02-14 21:04                 ` david
2010-02-14 21:32                   ` Jean Delvare
2010-02-14 18:59               ` H. Peter Anvin
2010-02-14 19:08               ` Jean Delvare
2010-02-15 15:15                 ` tytso
2010-02-16 15:29                   ` J.H.
2010-02-16 16:03                     ` Jean Delvare
2010-02-17  1:36                     ` David Rees
2010-02-16 14:00                 ` Pavel Machek
2010-02-19  0:08     ` Jan Engelhardt
2010-02-19  4:38       ` J.H.
2010-02-12 15:25   ` Steven Rostedt
2010-02-12 16:11     ` Jean Delvare
2010-02-12 16:30       ` Steven Rostedt
2010-02-12 16:44         ` Jean Delvare
2010-02-12 20:34         ` Junio C Hamano
2010-02-12 21:16           ` Steven Rostedt
2010-02-16 15:39     ` ketchup was " Pavel Machek
2010-02-16 16:17       ` Steven Rostedt
2010-02-16 16:27         ` Pavel Machek
2010-02-21 13:53           ` Pavel Machek
2010-02-21 14:26             ` Jean Delvare
2010-02-21 19:28               ` Pavel Machek
2010-02-22 18:59             ` Pavel Machek
2010-02-23 13:14               ` Steven Rostedt
2010-02-23 20:32                 ` Pavel Machek
2010-02-12 19:02   ` Phillip Lougher
2010-02-12 19:32     ` Jean Delvare
2010-02-12 19:57       ` Phillip Lougher
2010-02-12 21:59         ` Jean Delvare
2010-02-12 23:30           ` Phillip Lougher
2010-02-12 23:39           ` Phillip Lougher
2010-02-13  7:31             ` Jean Delvare
2010-02-13 22:37               ` Phillip Lougher
2010-02-14  9:32                 ` Jean Delvare
2010-02-14  9:53                   ` Justin P. Mattock
     [not found]           ` <20100212223547.GN5186@tux>
2010-02-13  7:20             ` Jean Delvare
2010-02-12 19:03   ` H. Peter Anvin
2010-02-12 20:25     ` Matthew Wilcox
2010-02-12 21:54       ` Greg KH
2010-02-12 21:58       ` Steven Rostedt
2010-02-14 14:49       ` Harald Arnesen
2010-02-14 18:34         ` H. Peter Anvin
2010-02-12 20:31     ` [kernel.org mirrors] " Sleddens, J.P.G.
2010-02-12 22:11       ` H. Peter Anvin
2010-02-12 23:14         ` [kernel.org users] [kernel.org mirrors] " Willy Tarreau
2010-02-13  7:42     ` [kernel.org users] " Tony Luck
2010-02-13  8:14       ` H. Peter Anvin
2010-02-13  8:53         ` Jean Delvare
2010-02-14  5:43           ` H. Peter Anvin
     [not found]             ` <987664A83D2D224EAE907B061CE93D53123E0ED5@orsmsx505.amr.corp.intel.com>
2010-02-17  0:11               ` H. Peter Anvin
2010-02-14 18:03 ` Eric W. Biederman
2010-02-14 22:27   ` Stephen Hemminger
2010-02-15 16:15     ` Jean Delvare

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=4B76FDBF.8050902@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=ftpadmin@kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=khali@linux-fr.org \
    --cc=lasse.collin@tukaani.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mirrors@kernel.org \
    --cc=pavel@ucw.cz \
    --cc=users@kernel.org \
    --cc=warthog9@kernel.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

Powered by JetHome