Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #59656
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Benjamin Drung <benjamin.drung@profitbricks.com> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#864777: initramfs-tools: Please support a tmpfs boot mode |
| Date | Thu, 14 Dec 2017 13:30:02 +0100 |
| Message-ID | <uWAOd-751-1@gated-at.bofh.it> (permalink) |
| References | <tSiS5-75d-1@gated-at.bofh.it> <tXNLz-3oJ-7@gated-at.bofh.it> <tSiS5-75d-1@gated-at.bofh.it> <tXNLz-3oJ-7@gated-at.bofh.it> |
| X-Original-To | Peter Colberg <peter@colberg.org>, 864777@bugs.debian.org |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Thu Dec 14 12:21:10 2017 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -4.088 |
| Reply-To | Benjamin Drung <benjamin.drung@profitbricks.com>, 864777@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian kernel team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 864777 |
| X-Debian-Pr-Package | initramfs-tools |
| X-Debian-Pr-Keywords | patch |
| X-Debian-Pr-Source | initramfs-tools |
| X-Spam-Bayes | score:0.0000 Tokens: new, 38; hammy, 150; neutral, 657; spammy, 0. spammytokens: hammytokens:0.000-+--UD:xz, 0.000-+--tmpfs, 0.000-+--HX-Google-DKIM-Signature:in-reply-to, 0.000-+--Signed-off-by, 0.000-+--Signedoffby |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=profitbricks-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:mime-version; bh=pQ4bCMvRXjnbS3pNyTSn+4dlJFwqbJH0pJaPOWIUwZs=; b=HLAGcBRqejbrcekEEhaLba5PYTXkQUaKrzV7h6TXSCgByk0RAySQeOmsLo80159Zj0 UH3tOUyBBlDNIKGOZYj5ZVxIbgKu7DbMcwp+GGMM92tzr973hL7R3OXCMIHt6uafklBa r7fryP9GTQPv6Rhy/R7ZCcUTBnTCKq8EMjOmoYmn8Wz2SYNIHzi4w7jLWPR9fbdZSFLZ 3ShuPEJLSYUgVUCoH0LvQP8oY2vg9Zyl4R0Wuf9cjZKimM6qQZhiG2urcuUQul8MotjC R2DoyLy34e4yGl3iYnk0GskkTkrbAwJ1q11uSUak9yXFJdJJAI4bhJOM4k9fX73qlqEJ 1lSw== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:mime-version; bh=pQ4bCMvRXjnbS3pNyTSn+4dlJFwqbJH0pJaPOWIUwZs=; b=Zx393YAxolNc/6qW+Kjiw75hxAmU587UH1TAfth9vmMcfs5JMlP5oGVHu9pcYFfJzr F5KaZBzorRx66D1yPBua9F3x7fnFeTYsZ7mhtRixqYMJ68JgJm3+Q6YgX5fKDamCcEUU F7ZtJ0Gtdc+sD7f9K8lT/kOzSlSHSA2vTYQ05+JFLaPtbk7a2HXaVCXgsC48ETg37/xe hiVNvjGpQegSq45SoSsn4mJblsY3uPB0iLzGHQZee5XQIgSotxy4d5tQ6nRAHqgfFubL MaVUcKCsas9wTXwIf89C18bttaCfSGQ5U9rmMpLez2JeGokpiKinkW63rf4h+Cp9TTiP LdHg== |
| X-Gm-Message-State | AKGB3mJFDI7qc8tR0a3H2gjxvU1yTdVa+tbX3qi5my4zqxplRpLaMtya 5+OKs7Z0mjf+LIEJ/LQ4GuC69U4dhk0= |
| X-Google-SMTP-Source | ACJfBosQ0yK1YYc8bsX41udBvaOObxMyN/g5B1tsKvpQNNoIlv0sIx/LpFARAVgb75UB/ctJry32HA== |
| X-Received | by 10.46.15.25 with SMTP id 25mr3628513ljp.119.1513253965422; Thu, 14 Dec 2017 04:19:25 -0800 (PST) |
| Content-Type | multipart/mixed; boundary="=-DyQ4LUt1yNjNArR+m+ln" |
| X-Mailer | Evolution 3.26.1-1 |
| MIME-Version | 1.0 |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1426090 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 283 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 14 Dec 2017 13:19:23 +0100 |
| X-Original-Message-ID | <1513253963.28508.8.camel@profitbricks.com> |
| X-Original-References | <149745527446.4534.4839438748786321107.reportbug@konstrukt.pb.local> <20170629195529.ttcfp4eiaqd6otfp@alcyone> <149745527446.4534.4839438748786321107.reportbug@konstrukt.pb.local> <20170629195529.ttcfp4eiaqd6otfp@alcyone> |
| Xref | csiph.com linux.debian.bugs.dist:869036 linux.debian.kernel:59656 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Peter,
Am Donnerstag, den 29.06.2017, 15:55 -0400 schrieb Peter Colberg:
> Hi Benjamin,
>
> On Wed, Jun 14, 2017 at 05:47:54PM +0200, Benjamin Drung wrote:
> > Package: initramfs-tools
> > Version: 0.130
> > Severity: normal
> > Tags: patch
> >
> > Hi,
> >
> > The tmpfs boot mode allows one to operate a disk-less live system
> > by
> > downloading a root tarball (that can be created with debootstrap)
> > and
> > extracting it to a tmpfs root partition.
> >
> > The tmpfs boot mode is similar to the nfs boot mode, but it does
> > not
> > rely on any external service (after booting). We use this boot mode
> > for
> > our compute nodes. I have attached a patch to support this boot
> > mode and
> > tested it with qemu and on real hardware.
>
> Please take a look at the package live-boot (and the man page of the
> same name in live-boot-doc). Specifically, the parameter fetch=URL
> should satisfy your requirements and consume less resources.
>
> live-boot creates an overlay filesystem backed by a squashfs image,
> which means it likely uses much less RAM than copying root to tmpfs.
> (For my system, squashfs reduces the required memory to a third.)
I took a look at the live-boot package and we will evaluate the RAM
savings and performance penalty. Expect a patch for live-boot to
support live-{top,premount,bottom} hooks.
Some statistics: Our xz compressed root tarball is around 180 MB in
size and consumes 690 MB extracted. Our initrd uses 9 MB. The initrd
from live-boot uses 17 MB. Let's see if the live-boot initrd can be
stripped down as well.
For now, I updated my patch to add an option to enable/disable support
for the tmpfs boot mode. Updated patch is attached.
--
Benjamin Drung
System Developer
Debian & Ubuntu Developer
ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin
Email: benjamin.drung@profitbricks.com
URL: https://www.profitbricks.de
Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg
Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#864777: initramfs-tools: Please support a tmpfs boot mode Benjamin Drung <benjamin.drung@profitbricks.com> - 2017-06-14 18:00 +0200
Bug#864777: initramfs-tools: Please support a tmpfs boot mode Peter Colberg <peter@colberg.org> - 2017-06-29 22:00 +0200
Bug#864777: initramfs-tools: Please support a tmpfs boot mode Benjamin Drung <benjamin.drung@profitbricks.com> - 2017-12-14 13:30 +0100
csiph-web