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: Sun, 19 Jun 2022 17:23:44 +0800 Message-ID: <871qvlxazj.fsf@localhost> References: <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> <87bkur72b7.fsf@gnus.org> <874k0j40e7.fsf@gnus.org> <87k09dxgh0.fsf@localhost> <83r13lm3xp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19117"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, larsi@gnus.org, mattiase@acm.org, theophilusx@gmail.com, rms@gnu.org, acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 19 11:24:31 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 1o2rAU-0004me-GB for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jun 2022 11:24:30 +0200 Original-Received: from localhost ([::1]:51680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2rAT-0000WR-55 for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jun 2022 05:24:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2r8h-0006tz-8k for emacs-devel@gnu.org; Sun, 19 Jun 2022 05:22:39 -0400 Original-Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:55203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2r8f-0001Kq-U1; Sun, 19 Jun 2022 05:22:39 -0400 Original-Received: by mail-pj1-x1033.google.com with SMTP id cv13so5034209pjb.4; Sun, 19 Jun 2022 02:22:36 -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=vxFg+GgoyBAyLyNhAt05jglsgL0hycAFuo0ISVyhct4=; b=KSlJ87zqClJ8R15s5zqCKSzz42xysuy8ZIChiwcxaBi3DW0VnrqkZeikYtueDfV6Y/ GkhpfCEzCcTknacVIXTgXpALkehAOoRXa9waYp2nDQh24amNM9ILuhY3U+DyMEvbGFh5 hq81UDlcmL8PFXUMV3YFOa5j7qO7Z6HT9P7vanTAws5E4wEmVSvguQUPcXcMJ0g5NIDB 4o8OtO61g3N5Kcx6NWHrMgrtGp3FDzQSoYOpZySeAZ2t3O4BAYm/nWrJMEaTB4QI4o7x 9JcaRO4R3QFWRCRSHMaKeUwn3+fbVvjgF2ABp3W4/lo1O7vIzN7ctYekSnkxQDRK2AsY IRhg== 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=vxFg+GgoyBAyLyNhAt05jglsgL0hycAFuo0ISVyhct4=; b=pWOnBTu6XKC9oNT4FyX7lX4uo3+XAvZUFr1PiDYwlmEsbzJymycbLr9/i2ww+3M/Yq YaMuXHNlEBjN8hk4c17AlC2gATOx1bzADhIIXtdzqak/vbsgzxtnj1qxKZhsbv3+MkKO 5jRIGOMBSV0jceehbqu+MtjXoqRuyl1WXjVPyfDqiWI3dcwMSwMOonuco5hFXLxUFSm1 /iB994/H5xolhv/gy1OarayfitlPYGTkE3cLcInGjORhhGJjT2Br3yLOopraqrRPuPdl dlR5sLW/2KqOXUKin11iLd70dNxzQeogMHZ6P4XPq8LGFSRd8K+c/dXPMon/h6s2Xf8T 4qdg== X-Gm-Message-State: AJIora80en0o7w2wWMSPAktEAH9d/NWT1b3v0AxhVVMTYHu9wvMApdc9 Azakc//k+Bcbjam9f5XVnwZ8+cl+tRJtLvSu X-Google-Smtp-Source: AGRyM1sbk6vmDxIDgtSE0ujlG3fur9TEEfxltQ9Ehi4mQFb0q4NNMwXkR0zWQKimeWZBecXf02/kRg== X-Received: by 2002:a17:902:e5cb:b0:165:1500:a69b with SMTP id u11-20020a170902e5cb00b001651500a69bmr18015172plf.29.1655630555541; Sun, 19 Jun 2022 02:22:35 -0700 (PDT) Original-Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id h14-20020a170902f7ce00b0016909678e2csm2233966plw.292.2022.06.19.02.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 02:22:35 -0700 (PDT) In-Reply-To: <83r13lm3xp.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1033.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:291411 Archived-At: Eli Zaretskii writes: > gc-cons-percentage is measured in units of 1, not in percents. So the > value of 1.0 means that the condition > > heap_size * gc-cons-percentage >= gc-cons-threshold (= 0.8M) > > will become true whenever heap_size is 0.8MB, not 80MB. Thanks! I was confused by "percentage" in the variable name.