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 21:15:19 +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> 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 1119702573 11697 80.91.229.2 (25 Jun 2005 12:29:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2005 12:29:33 +0000 (UTC) Cc: Juri Linkov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 25 14:29:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dm9mk-0006g7-TJ for ged-emacs-devel@m.gmane.org; Sat, 25 Jun 2005 14:29:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dm9tz-0001If-Ah for ged-emacs-devel@m.gmane.org; Sat, 25 Jun 2005 08:36:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dm9oO-0000A2-A0 for emacs-devel@gnu.org; Sat, 25 Jun 2005 08:31:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dm9oD-0008VM-GC for emacs-devel@gnu.org; Sat, 25 Jun 2005 08:30:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dm9oA-0008Pk-JR for emacs-devel@gnu.org; Sat, 25 Jun 2005 08:30:50 -0400 Original-Received: from [64.233.184.193] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dm9ct-0007lU-So for emacs-devel@gnu.org; Sat, 25 Jun 2005 08:19:12 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so185121wri for ; Sat, 25 Jun 2005 05:15:19 -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=ckN+2ZQKwNFPh1AWg1Ou4EgH3HCS6go3/T6MAg4aEilcwi3zOQXeHNOtggtBYcaGgPCfBwc+Rl4D52Cn948FhiWx+BgUlO6SipMC8S9o+wFjudKhK9cJ6guX5390EP+ww8IsruhuDPJspyTw/NC6pwmSRmPqbccei8SKOHTalkU= Original-Received: by 10.54.59.32 with SMTP id h32mr50623wra; Sat, 25 Jun 2005 05:15:19 -0700 (PDT) Original-Received: by 10.54.19.31 with HTTP; Sat, 25 Jun 2005 05:15:19 -0700 (PDT) Original-To: Eli Zaretskii In-Reply-To: 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:39490 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39490 On 6/25/05, Eli Zaretskii wrote: > If we find that my experience of yore is no longer relevant, I agree. > But then we should probably modify the default of the threshold > accordingly, instead of telling users to mess with it. For example, > the default value could be dependent on the amount of installed > memory. Yes I think that would be a good idea. Setting the cons-threshold to say 1 or 2% of RAM size would yield roughly the numbers which are being recommended (at 1%, you'd get 640K on a 64MB system, and 5MB on a 512MB system). Getting that number is system-dependent of course, but there seems no reason not to do it on systems where someone wants to write the code (it can even be done in lisp on linux, by reading /proc/meminfo). -Miles --=20 Do not taunt Happy Fun Ball.