From owner-freebsd-questions@FreeBSD.ORG Tue Sep 28 00:16:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 256DD16A4CE for ; Tue, 28 Sep 2004 00:16:16 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id D460C43D1D for ; Tue, 28 Sep 2004 00:16:15 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 27 Sep 2004 19:12:31 -0500 Message-ID: <4158AD01.401@daleco.biz> Date: Mon, 27 Sep 2004 19:14:57 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040712 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <2D8BB15C7B5C214F81C32D3A83B32736013D46C8@idbexc01.americas.cpqcorp.net> <20040927081638.GA26247@math.jussieu.fr> <20040927184827.GB31494@xor.obsecurity.org> In-Reply-To: <20040927184827.GB31494@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Sep 2004 00:12:42.0435 (UTC) FILETIME=[DF569930:01C4A4EF] cc: "Sheets, Jason \(OZ CEEDR\)" cc: Albert Shih cc: freebsd-questions@freebsd.org Subject: Re: Very very slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 00:16:16 -0000 Kris Kennaway wrote: >On Mon, Sep 27, 2004 at 10:16:38AM +0200, Albert Shih wrote: > > >> 32 sec to do >> >>cd /usr/src >>time find . -type f -print > /dev/null >> >>and on other computer I just need 0.8 sec to do that. >> >> > >I don't believe that, unless you already have all of /usr/src in >cache. 32 seconds seems quite normal for searching and reading ~55000 >directory entries (on the machine I just tried it took 42 seconds). > >Kris > > Hmm. Didn't take that long here. Celeron 2.4, 768MB DDR, full src (enough to buildworld on 5.2.1-p3, anyway): [/usr/src] [19:10] % sudo time find . -type f -print > /dev/null 3.60 real 0.34 user 1.86 sys KDK