From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Does a larger gc-cons-threshold mean a faster Emacs? Date: Sun, 28 Jul 2002 21:07:12 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <3405-Sun28Jul2002210711+0300-eliz@is.elta.co.il> References: <87ofcu55qt.fsf@openprivacy.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1027880012 26498 127.0.0.1 (28 Jul 2002 18:13:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 28 Jul 2002 18:13:32 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17YsXr-0006tH-00 for ; Sun, 28 Jul 2002 20:13:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Ysoj-0006AM-00 for ; Sun, 28 Jul 2002 20:30:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17YsYC-00074e-00; Sun, 28 Jul 2002 14:13:52 -0400 Original-Received: from balder.inter.net.il ([192.114.186.15]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17YsTS-0006dD-00 for ; Sun, 28 Jul 2002 14:08:58 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by balder.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.58-GA) with ESMTP id BPM43154; Sun, 28 Jul 2002 21:08:42 +0300 (IDT) Original-To: burton@openprivacy.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <87ofcu55qt.fsf@openprivacy.org> (burton@openprivacy.org) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6110 > From: burton@openprivacy.org > Date: 26 Jul 2002 18:17:30 -0700 > > This would lead me to believe that setting this to a large value would: > > 1. Take up a lot of memory > 2. Increase the perceived Emacs speed > > Right now I have it set to : > > (setq gc-cons-threshold (* 8192 8192)) > > Which seems to yield decent speed (though Emacs uses 50M) Not exactly: it also makes each GC significantly slower (in my experience). With the default threshold, each GC is over very quickly (on a decent machine).