From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Blake Miller Newsgroups: gmane.emacs.devel Subject: Re: New tool to reduce emacs start-up time on Linux Date: Mon, 13 Jul 2020 20:01:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b3675105aa582a17" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18724"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 13 22:02:52 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv4f6-0004i3-HL for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jul 2020 22:02:52 +0200 Original-Received: from localhost ([::1]:36112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jv4f5-0007Qm-G4 for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jul 2020 16:02:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jv4eW-00070D-Jf for emacs-devel@gnu.org; Mon, 13 Jul 2020 16:02:16 -0400 Original-Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]:45463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jv4eV-0005vA-2D for emacs-devel@gnu.org; Mon, 13 Jul 2020 16:02:16 -0400 Original-Received: by mail-oo1-xc32.google.com with SMTP id a9so2640529oof.12 for ; Mon, 13 Jul 2020 13:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pE/goBGKdNrp12QfzPDLi2Xs+RjWAul1T/mU8lKwsr8=; b=CSbnjfy9rmA0N9SK+enFsB+0wtkTc/XpO6i9ftRG99/nflvsM3rV5qKzEYmr2LY/Jc jUnf5NE57godLAdbKZKy828x5Sd7Wr1nWncwlOLYDRMYF3GGPo9r10FqYbQ5SGY7LR8u vXXWBCDZrCUaxNcbvsceNe+7WLTZQWmh27Gcn1bG68iped+DEHRVp6stGuvyPqPHwarv zKceY+ZoAgTopGHx5+OZlV2sXTF+TYUAVGfN1gN0tqttdZLx6JH2DNo9F7jMnGNDiEWT U/2RenJQPWChqPZrVjGvkCyizKnz2uCZBGRUwnrTrIYFV7hwJ3oTEWNpVedCte4U6JAu w+Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pE/goBGKdNrp12QfzPDLi2Xs+RjWAul1T/mU8lKwsr8=; b=cCTsMREkkm00UKtPS+YZy+RQPVxB4ccGCEOOlbqwJm/jIkpywumQsXpUfNt7dGIful SNF+sVc/WYlJWBf92tXGMnRLyu7keignHZpI6swxsyNifPOP34NCtOxqNYULRCkIDbL9 kejfbynQ2daWQHdFr4DGFix4ky373QmHzs4koT6/C+whjH1Nb42CKENZ7VqCwu9zdLLW jo4VCEzA2kFEmwU/fATJp91v+gXzY5wGezHV2gxiMiuiuUI2CFt2JtWKqhRV23XEOteL p+mr/6DWuJZ0kgxOyTxLeLTVwOanrC/P9SK1/fhjUNsDgrsJgjXgHL/aFrnMSE4ArrPs X7pw== X-Gm-Message-State: AOAM530rPdlYjkmHeo0YNeov/MnDEbu0jsJ12ws8wCQ6ET/oFBmCPrNU hgJmMEVlVwFOHTq48/bI4op6PABaNy9I0dthDnedRFWU X-Google-Smtp-Source: ABdhPJw+6ogjgMMchvE4zB4mPyDiSdaWw+E5//83+a1x43zOahti82mofQnrOvkiYxVSpcUk6jLcVbNHungMGaeG9dQ= X-Received: by 2002:a4a:a8cc:: with SMTP id r12mr1514199oom.86.1594670533796; Mon, 13 Jul 2020 13:02:13 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::c32; envelope-from=blak3mill3r@gmail.com; helo=mail-oo1-xc32.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252927 Archived-At: --000000000000b3675105aa582a17 Content-Type: text/plain; charset="UTF-8" I'd never run emacs as root either. CRIU has to run as root, but the processes it creates when restoring a snapshot are regular non-root processes, just like the one that was checkpointed. On Mon, Jul 13, 2020 at 4:22 PM T.V Raman wrote: > Stefan Monnier writes: > > the biggest drawback I saw at a quick-read was the need to run as root, > I'd never run emacs as root.>> As the name suggests, it can provide you > with the fastest emacs startup > >> time in the west, by using CRIU checkpoint/restore to "clone" emacsen. > > > > Hmmm... an "unexec" that's not Emacs-specific, interesting, > > > > > > Stefan > > > > > > -- > --000000000000b3675105aa582a17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'd never run emacs as root either. CRIU has to run as= root, but the processes it creates when restoring a snapshot are regular n= on-root processes, just like the one that was checkpointed.

On Mon, Jul 13, = 2020 at 4:22 PM T.V Raman <raman@goo= gle.com> wrote:
Stefan Monnier <monnier@iro.umontreal.ca> writes:

the biggest drawback I=C2=A0 saw at a quick-read was the need to run as roo= t,
=C2=A0I'd never run emacs as root.>> As the name suggests, it can= provide you with the fastest emacs startup
>> time in the west, by using CRIU checkpoint/restore to "clone&= quot; emacsen.
>
> Hmmm... an "unexec" that's not Emacs-specific, interesti= ng,
>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Stefan
>
>

--
--000000000000b3675105aa582a17--