From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8oGu-0006L7-GU for qemu-devel@nongnu.org; Tue, 15 Dec 2015 07:00:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8oGq-0002gV-Bo for qemu-devel@nongnu.org; Tue, 15 Dec 2015 07:00:00 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:34661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8oGq-0002gR-5u for qemu-devel@nongnu.org; Tue, 15 Dec 2015 06:59:56 -0500 Received: by mail-wm0-x231.google.com with SMTP id p66so106330407wmp.1 for ; Tue, 15 Dec 2015 03:59:55 -0800 (PST) Sender: Paolo Bonzini References: <566EE582.2070408@virtuozzo.com> <566FF912.3000809@openvz.org> From: Paolo Bonzini Message-ID: <567000B8.2070300@redhat.com> Date: Tue, 15 Dec 2015 12:59:52 +0100 MIME-Version: 1.0 In-Reply-To: <566FF912.3000809@openvz.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] guest kernel in the host RAM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Vladimir Sementsov-Ogievskiy , QEMU On 15/12/2015 12:27, Denis V. Lunev wrote: > The idea is that we could boot with the uncompressed Linux > kernel in the guest which serves 2 purposes: > - faster boot time as per Intel opinion > - memory savings > > Uncompressed kernel image could be the same for several > guests and thus memory pages for the kernel could be the > same, which saves a bit of RAM :) > > At the moment neither BIOS support this in full: nor SeaBIOS, > nor OVMF, nor QBoot. > > From our point of view QBoot is an ideal candidate for this. QBoot is not meant for use in production; SeaBIOS actually is just as fast if you configure it right. > Do you have any opinion for the topic? I honestly don't like the idea. Linux patches itself a lot, which makes the memory savings minimal (if they exist at all). What is the decompression time for a kernel that is compressed with LZO? Paolo