Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1609828

Re: [PATCH] x86/boot: Support uncompressed kernel

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/boot: Support uncompressed kernel
Date 2017-03-27 15:30 +0200
Message-ID <tpCSB-hj-9@gated-at.bofh.it> (permalink)
References (1 earlier) <tocxd-3SR-53@gated-at.bofh.it> <tod0e-4a5-21@gated-at.bofh.it> <toq77-5eW-3@gated-at.bofh.it> <tpxSW-4Xx-17@gated-at.bofh.it> <tpBtw-7vp-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 27, 2017 at 1:47 PM, Michal Marek <mmarek@suse.com> wrote:
> Dne 27.3.2017 v 09:58 Sebastian Andrzej Siewior napsal(a):
>> On 2017-03-24 13:35:40 [+0800], Chao Peng wrote:
>>>
>>>>>>     kernel               kernel size    time in decompress_kernel
>>>>>>     compressed (gzip)    3.3M           53ms
>>>>>>     uncompressed         14M            3ms
>>>>>
>>> Exactly, LZ4 is the fastest. It takes 16ms to complete the
>>> decompression. Still sounds a little longer when compared to
>>> uncompressed kernel.
>>
>> Are we seriously talking here about one-time improvement of 13ms
>> boot time?
>
> If the use case is launching new VM instances continuously, then
> compressing the kernel image is about as useful as compressing /bin/bash.

I guess the next step would be to use CONFIG_XIP_KERNEL on x86,
which requires an uncompressed kernel but has the additional advantage
of sharing the read-only sections of the kernel image across virtual
machines, resulting in better RAM and cache usage.

        Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/boot: Support uncompressed kernel Chao Peng <chao.p.peng@linux.intel.com> - 2017-03-23 14:10 +0100
  Re: [PATCH] x86/boot: Support uncompressed kernel Yinghai Lu <yinghai@kernel.org> - 2017-03-23 16:10 +0100
    Re: [PATCH] x86/boot: Support uncompressed kernel Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2017-03-23 16:40 +0100
      Re: [PATCH] x86/boot: Support uncompressed kernel Chao Peng <chao.p.peng@linux.intel.com> - 2017-03-24 06:40 +0100
        Re: [PATCH] x86/boot: Support uncompressed kernel Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2017-03-27 10:10 +0200
          Re: [PATCH] x86/boot: Support uncompressed kernel Chao Peng <chao.p.peng@linux.intel.com> - 2017-03-27 11:30 +0200
          Re: [PATCH] x86/boot: Support uncompressed kernel Michal Marek <mmarek@suse.com> - 2017-03-27 14:00 +0200
            Re: [PATCH] x86/boot: Support uncompressed kernel Arnd Bergmann <arnd@arndb.de> - 2017-03-27 15:30 +0200
              Re: [PATCH] x86/boot: Support uncompressed kernel Chao Peng <chao.p.peng@linux.intel.com> - 2017-03-28 14:10 +0200
                Re: [PATCH] x86/boot: Support uncompressed kernel "H. Peter Anvin" <hpa@zytor.com> - 2017-03-29 01:00 +0200
                Re: [PATCH] x86/boot: Support uncompressed kernel Andy Lutomirski <luto@amacapital.net> - 2017-03-29 01:00 +0200
  Re: [PATCH] x86/boot: Support uncompressed kernel Michal Marek <mmarek@suse.com> - 2017-03-24 09:30 +0100

csiph-web