Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752533AbdC0LtA (ORCPT ); Mon, 27 Mar 2017 07:49:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:47531 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbdC0Lro (ORCPT ); Mon, 27 Mar 2017 07:47:44 -0400 Subject: Re: [PATCH] x86/boot: Support uncompressed kernel To: Sebastian Andrzej Siewior , Chao Peng References: <1490273467-97948-1-git-send-email-chao.p.peng@linux.intel.com> <20170323153117.GA6356@tigerII.localdomain> <1490333740.2925.7.camel@linux.intel.com> <20170327075817.bb7wda62fcuvfa4b@linutronix.de> Cc: Sergey Senozhatsky , Yinghai Lu , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , the arch/x86 maintainers , Kees Cook , Baoquan He , "H.J. Lu" , Paul Bolle , Masahiro Yamada , Borislav Petkov , Andrew Morton , Arnd Bergmann , Petr Mladek , "David S. Miller" , "Paul E. McKenney" , Andy Lutomirski , Thomas Garnier , Nicolas Pitre , Tejun Heo , Daniel Mack , Helge Deller , Rik van Riel , Linux Kernel Mailing List , linux-kbuild From: Michal Marek Message-ID: <2e97b35f-bb9e-66e4-736d-66313626354e@suse.com> Date: Mon, 27 Mar 2017 13:47:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170327075817.bb7wda62fcuvfa4b@linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 672 Lines: 18 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. Michal