From owner-freebsd-questions@FreeBSD.ORG Mon Sep 27 18:48:01 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 0558116A4CE for ; Mon, 27 Sep 2004 18:48:01 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id D330F43D39 for ; Mon, 27 Sep 2004 18:48:00 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4F83A51218; Mon, 27 Sep 2004 11:48:27 -0700 (PDT) Date: Mon, 27 Sep 2004 11:48:27 -0700 From: Kris Kennaway To: Albert Shih Message-ID: <20040927184827.GB31494@xor.obsecurity.org> References: <2D8BB15C7B5C214F81C32D3A83B32736013D46C8@idbexc01.americas.cpqcorp.net> <20040927081638.GA26247@math.jussieu.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yNb1oOkm5a9FJOVX" Content-Disposition: inline In-Reply-To: <20040927081638.GA26247@math.jussieu.fr> User-Agent: Mutt/1.4.2.1i cc: "Sheets, Jason \(OZ CEEDR\)" 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: Mon, 27 Sep 2004 18:48:01 -0000 --yNb1oOkm5a9FJOVX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 27, 2004 at 10:16:38AM +0200, Albert Shih wrote: > 32 sec to do >=20 > cd /usr/src > time find . -type f -print > /dev/null >=20 > 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 --yNb1oOkm5a9FJOVX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBWGB6Wry0BWjoQKURAnJHAKCbpmPFTRBTvySUDpuKf0ip6TTJGgCg3MOS dF+cgwNqy1yIJy/fKKlyx+I= =CmU4 -----END PGP SIGNATURE----- --yNb1oOkm5a9FJOVX--