From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: New tool to reduce emacs start-up time on Linux Date: Mon, 13 Jul 2020 13:57:57 -0700 Message-ID: <24332.51925.447735.990302@retriever.mtv.corp.google.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: blak3mill3r@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 13 22:58:45 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 1jv5XA-0007Fm-9C for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jul 2020 22:58:44 +0200 Original-Received: from localhost ([::1]:37640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jv5X9-0001vF-C3 for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jul 2020 16:58:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jv5WV-0001PJ-Fd for emacs-devel@gnu.org; Mon, 13 Jul 2020 16:58:03 -0400 Original-Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:47026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jv5WT-0006xA-Sc for emacs-devel@gnu.org; Mon, 13 Jul 2020 16:58:03 -0400 Original-Received: by mail-pf1-x431.google.com with SMTP id i14so6556184pfu.13 for ; Mon, 13 Jul 2020 13:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=Sn3LhhTedZWmBxJwWcBAcn2N0JGiMjsDFBgQk/lPcFw=; b=H+CBxtZcIblolehHuEFj54dwQoGPWSH/ouMQ9WwLxrpwFGGhBgU2+WP/7Z5FP8leY6 0Z2D57Ajwln1UOcEbPxkd0CWrzzpYK2hNhxoLxlaOGc6IbiKOaGS5bcXWy1sLdqZg2ey 4+XlpRtNhy7ESnSkNZg4pd6R8TYGYrY3uFht7CYZsTagMmNQwWev8OdR3Bt7K/aH6Ts4 9PeeZVuoAbn2vn+y/j67GZoowNqnAj3sFDMwG1CiD3sW+TwLTrRu/TmTl44umswGcaXt p/cSO08GRu4c7ViQ2KcI6ADKKWjfxdYAABsfrad6CpDmWmXgdJeVNOgVnKo7GpljRY4Y 51rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=Sn3LhhTedZWmBxJwWcBAcn2N0JGiMjsDFBgQk/lPcFw=; b=XmOypSgqGgsYnegO2vkIY+ngAZH+/SM7ZpAum7pOpzNua4ntfqb0tYtZWVYVfbJWIa YDDkbieTwwggQwmMk5CX5K8LFno88UC0QvjfhQTGdL437r1wu5jbAoVR10+OwA5MXgr2 x1jNcaOP0NBxNwUwX03PI3EQ8hwfPCeFRRSrM4ah2qPSj2ixQdFq7fSUCRHCopWK0lt7 ds93PW2UTqDlKYLMKlJeCbSz/z9Rke0pqIh7h+6gzAYwZhtJt8ykbW/6Zx0H57Go1BXd WSZDEre3rrv7GR3Szi4SHFachprqCIqZnm0DcMcelV4nHiLyuO5hG3/5Dfsb8erTQB0V xdTw== X-Gm-Message-State: AOAM532MSQwj6oFBC/zRyKxobKroMW3yEl0BZGZedW+aeoYgFYZGI5Y0 yI0UOaCrRkxRkKewfHTX3/xUBg== X-Google-Smtp-Source: ABdhPJwjxM/eyzE/9rLzVQvB80QO6x1lWKmK1blniOFFmFhuOtFF57M2IRk3ck2LYa3RgOxuv6BN/A== X-Received: by 2002:a63:541e:: with SMTP id i30mr799841pgb.47.1594673880063; Mon, 13 Jul 2020 13:58:00 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:7220:84ff:fe0f:a150]) by smtp.gmail.com with ESMTPSA id q1sm15955757pfk.132.2020.07.13.13.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 13:57:58 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 761BB1800412; Mon, 13 Jul 2020 13:57:57 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=raman@google.com; helo=mail-pf1-x431.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: -185 X-Spam_score: -18.6 X-Spam_bar: ------------------ X-Spam_report: (-18.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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:252928 Archived-At: I see, I dont understand all the terminology here, which explains my confusion. As long as neither the emacs daemon or client run as Root, then that would take away my concern. Could you also elaborate on what it is that runs as Root? Blake Miller writes: > 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 > > > > > > > > > > -- > > -- Id: kg:/m/0285kf1 -- Id: kg:/m/0285kf1