Return-Path: 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 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> From: Michal Marek Message-ID: <2e97b35f-bb9e-66e4-736d-66313626354e@suse.com> Date: Mon, 27 Mar 2017 13:47:39 +0200 MIME-Version: 1.0 In-Reply-To: <20170327075817.bb7wda62fcuvfa4b@linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sebastian Andrzej Siewior , Chao Peng 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 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