From owner-freebsd-questions@FreeBSD.ORG Thu Nov 29 13:16:46 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E92C516A419 for ; Thu, 29 Nov 2007 13:16:46 +0000 (UTC) (envelope-from bsilver@chrononomicon.com) Received: from trans-warp.net (hyperion.trans-warp.net [216.37.208.37]) by mx1.freebsd.org (Postfix) with ESMTP id 83AC513C458 for ; Thu, 29 Nov 2007 13:16:46 +0000 (UTC) (envelope-from bsilver@chrononomicon.com) Received: from [127.0.0.1] (unverified [65.193.73.208]) by trans-warp.net (SurgeMail 3.8f2) with ESMTP id 145168121-1860479 for multiple; Thu, 29 Nov 2007 08:01:34 -0500 Message-ID: <474EB822.5020603@chrononomicon.com> Date: Thu, 29 Nov 2007 08:01:22 -0500 From: Bart Silverstrim User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Wojciech Puchar References: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> <474CA49D.50306@FreeBSD.org> <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer> <003101c831da$a405bc50$0d00a8c0@bayoucshaffer> <20071129122043.A9040@wojtek.tensor.gdynia.pl> In-Reply-To: <20071129122043.A9040@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: bsilver@chrononomicon.com Cc: questions@freebsd.org, Mark Evans Subject: Re: ls -l takes a forever to finish. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 13:16:47 -0000 Wojciech Puchar wrote: >> ls | wc > > strange. i did > > [wojtek@wojtek ~/b]$ a=0;while [ $a -lt 10000 ];do mkdir $a;a=$[a+1];done > > completed <25 seconds on 1Ghz CPU > > ls takes 0.1 seconds user time, ls -l takes 0.3 second user time. > > unless you have 486/33 or slower system there is something wrong. Has anyone tried fsck and/or smartmontools on the drive? Maybe something like Spinrite?