From owner-freebsd-current@FreeBSD.ORG Thu Apr 22 10:42:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E1BF16A4CE for ; Thu, 22 Apr 2004 10:42:18 -0700 (PDT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 611E643D49 for ; Thu, 22 Apr 2004 10:42:18 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.10) with ESMTP id i3MHgGIJ015009; Thu, 22 Apr 2004 10:42:16 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i3MHgFAU015008; Thu, 22 Apr 2004 10:42:15 -0700 (PDT) (envelope-from obrien) Date: Thu, 22 Apr 2004 10:42:15 -0700 From: "David O'Brien" To: Eric Anderson Message-ID: <20040422174215.GA14941@dragon.nuxi.com> References: <40867A5D.9010600@centtech.com> <20040421152233.GA23501@cat.robbins.dropbear.id.au> <40868F08.20301@centtech.com> <20040422150120.GB78422@dragon.nuxi.com> <4087F263.2000609@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4087F263.2000609@centtech.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-current@freebsd.org Subject: Re: Directories with 2million files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 17:42:18 -0000 On Thu, Apr 22, 2004 at 11:27:15AM -0500, Eric Anderson wrote: > >It used 260MB of VM, not physial RAM. Even with less in your machine, it > >would have worked fine -- no one is going to have less than than much > >virutal memory (i.e., swap) if they run Netscape on the same machine. > > > Ok - here's the snippet from 'top': > > Mem: 268M Active, 147M Inact, 155M Wired, 32M Cache, 86M Buf, 144M Free > Swap: 1024M Total, 2356K Used, 1022M Free > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 36102 anderson 132 0 263M 263M RUN 0:02 68.63% 9.57% ls > 36103 anderson 119 0 1180K 560K RUN 0:00 5.60% 0.78% wc > > However, I'm not sure about the Netscape comment - I don't really know > what you are referring to, but I'd guess most likely a person with > 2million files in one directory isn't going to be running Netscape on it > anyhow. The comment was that no one would be running a FreeBSD machine with less virtual memory than 260MB. Even the smallest desktop needs more than that to run Netscape (for a long period of time). So it isn't like your example is going to crash on the majority of FreeBSD machines. -- -- David (obrien@FreeBSD.org)