From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Larger GC thresholds for non-interactive Emacs Date: Sat, 18 Jun 2022 13:28:03 +0800 Message-ID: <87edzmwnfg.fsf@localhost> References: <83czfh12kp.fsf@gnu.org> <87pmjhghu2.fsf@localhost> <835yl910gp.fsf@gnu.org> <87wndndbhq.fsf@gmail.com> <83bkuzznws.fsf@gnu.org> <877d5mqmkh.fsf@localhost> <83y1y2utnd.fsf@gnu.org> <87r13up587.fsf@localhost> <83o7yyur0l.fsf@gnu.org> <87leu2p3nu.fsf@localhost> <83leu2uewn.fsf@gnu.org> <87r13qv701.fsf@localhost> <83bkuursya.fsf@gnu.org> <87h74l9jk8.fsf@localhost> <83bkutqb3z.fsf@gnu.org> <9778F176-E724-4E61-B0FB-327BCDD316C0@acm.org> <87sfo4epeo.fsf@localhost> <87bkurrc5e.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34672"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , Tim Cross , rms@gnu.org, Alan Mackenzie , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 18 07:28:30 2022 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 1o2R0Y-0008r3-Bk for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jun 2022 07:28:30 +0200 Original-Received: from localhost ([::1]:51594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2R0X-0007Ey-83 for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jun 2022 01:28:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Qz4-0006S9-HG for emacs-devel@gnu.org; Sat, 18 Jun 2022 01:27:00 -0400 Original-Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:46716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2Qz2-00073X-OZ; Sat, 18 Jun 2022 01:26:58 -0400 Original-Received: by mail-qv1-xf34.google.com with SMTP id i17so2536059qvo.13; Fri, 17 Jun 2022 22:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=EwijM+RyZuck3IUF0IwHCa80Yko+A1YYMZvnCd7y7kg=; b=LL0A/F9v7kjkTKO2l3e6vrEtqHR/mfjNOI/9OPdz8IJGzla0t0YoqK3wxCqUDEa7xy X8TO/A0vtpbZWv27v6oHQ9JtxirYrv3OfpXtHouMseiYiwqIi2pYUbwae98AyNtQIDs6 eMZI27dcyYEx2sjNnLY1VOed3J3bbIrk0P+eXPcZ/9cITbp6/j4thyrB5FIXtLO/VfyM GcC9scfXWbH9NiDBXIa0kkq44PaXiQTBn0eyIDFSz6+lRCUkxsEU+4VCZEscOhiLuXQ2 GMm2qpen4EknzLYagVqy+aACu7u2b/F2Cnt5Muv4VhIlIhVvcTFlUzn5j46tCN1Trq7U rUmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=EwijM+RyZuck3IUF0IwHCa80Yko+A1YYMZvnCd7y7kg=; b=7ffPoXyIZuwmkRfC651twPXULs/Quna1bwp3q9N0qzvXe2euG86xguS7fLwf5q1+0h pl6xi3ItArx/WaiP+yDRGzRXoOcUaDz6OmLPwwd3SNBdBoNQ27qifAQnE2oBLaFNYcf1 UX/3MqV1qVzjoBBwwXhU16WLzAyuCxUsDofHm3752i61SHtXw4l/0PjLHcaX9dDOMaRl e7O6qUz5FoCRVpXkM4ePYLm1fMqMx+64gahgIy7x+s4MI6sLNBNPhUlDGU3OUKUTELTT lhyCR4O9AqKJ4NIpA7edrVSYzD+oL2BLJG8aKKNGlesFSATDuioM83s86RqU4ak1Mr6x TOHQ== X-Gm-Message-State: AJIora/erOo+vWEcKCU59LNEQLnZ2M4rC2MMV9kJRzQqBQ14xSmPax45 Tm1x9Yc/nLUAiBQpi1z3BxY524XNAR5/23ZH X-Google-Smtp-Source: AGRyM1tHwL3TPz33K6twt/VqzXnX5iPYbAovV5Jpyauoqcjphs3P8BlsRrE6BhhbH9cRly57FfB9kA== X-Received: by 2002:a05:6214:1d25:b0:464:55a9:48df with SMTP id f5-20020a0562141d2500b0046455a948dfmr11134737qvd.113.1655530015174; Fri, 17 Jun 2022 22:26:55 -0700 (PDT) Original-Received: from localhost ([192.161.177.252]) by smtp.gmail.com with ESMTPSA id x5-20020a05620a258500b006a75a0ffc97sm6918882qko.3.2022.06.17.22.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 22:26:54 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=yantar92@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:291329 Archived-At: Stefan Monnier writes: >> FYI, I have played with this approach making use of >> https://gitlab.com/koral/gcmh > > But this one focuses on interactive use. The kind of heuristic I'm > proposing above would only make sense within a single (long-running) > command, or in batch mode, I think. Got it. But are there actually long-running batch mode commands over there? The byte-compilation benchmarks in the other replies revealed that the total number of GCs is not very high over the course of single batch invocation. Best, Ihor