From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: GC (was: lists.texi) Date: Sat, 25 Jun 2005 09:51:03 +0900 Message-ID: References: <200506182319.j5INJWF08937@raven.dms.auburn.edu> <200506202312.j5KNCct19091@raven.dms.auburn.edu> <200506212058.j5LKw5P23961@raven.dms.auburn.edu> <874qbqh0lm.fsf@jurta.org> <87mzpf3a5v.fsf_-_@jurta.org> <87y88zv3vm.fsf@jurta.org> <200506242352.j5ONqLv11140@raven.dms.auburn.edu> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1119661364 29634 80.91.229.2 (25 Jun 2005 01:02:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2005 01:02:44 +0000 (UTC) Cc: juri@jurta.org, ttn@gnu.org, eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 25 03:02:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dlz41-0002jp-GS for ged-emacs-devel@m.gmane.org; Sat, 25 Jun 2005 03:02:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DlzB9-0001vs-UO for ged-emacs-devel@m.gmane.org; Fri, 24 Jun 2005 21:09:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dlz5e-0007Rz-Hy for emacs-devel@gnu.org; Fri, 24 Jun 2005 21:04:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dlz5O-0007Jl-Ip for emacs-devel@gnu.org; Fri, 24 Jun 2005 21:03:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dlz5O-0007HK-7v for emacs-devel@gnu.org; Fri, 24 Jun 2005 21:03:54 -0400 Original-Received: from [64.233.184.204] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dlywb-0008L8-Hs for emacs-devel@gnu.org; Fri, 24 Jun 2005 20:54:49 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so167572wri for ; Fri, 24 Jun 2005 17:51:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a1QU/TBUBgHB+CfxYr8hyQ9McZ7tnV0qaGXRammwO5qjxfld6wItvjGOwd/uXk8WvmAfNphV0ZyECLxnYaV+I5H0LD3HabYMVDDPPM0lVMlkrXDExSN7x5EHATEXDYfk3452cBkZ6HSgN45DsuEc2dkZ5hgq+/LPfpFFk+RmDaw= Original-Received: by 10.54.59.22 with SMTP id h22mr43002wra; Fri, 24 Jun 2005 17:51:03 -0700 (PDT) Original-Received: by 10.54.19.31 with HTTP; Fri, 24 Jun 2005 17:51:03 -0700 (PDT) Original-To: Luc Teirlinck In-Reply-To: <200506242352.j5ONqLv11140@raven.dms.auburn.edu> Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39477 On 6/25/05, Luc Teirlinck wrote: > Well, obviously if you have very little resident memory and set > gc-cons-threshold to a huge value, then conceivably your operating > system could wind up spending most of its time swapping memory. Then > not only Emacs, but everything else as well, will become slow. I do > not know whether that is what Eli is referring too. Certainly, if you > have a reasonable amount of resident memory, increasing > gc-cons-threshold to 4M should not create any such problems and it > does speed up things. It's certainly the case that most machines these days have vastly more memory than even a few years ago. For developers I think a practical minimum is 512MB, for less demanding users, maybe 256MB (if you buy a low-end budget computer, this is typically the amount of RAM it comes with) -- but a 4MB gc threshold looks like nothing compared to either one, and the current default (400KB) looks downright silly. I also think OS memory management is much better these days, which likewise suggests increasing the default limit. -Miles --=20 Do not taunt Happy Fun Ball.