Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2000 10:10:19 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Craig Wilson <craig@natsoft.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: SLOW DIRECTORY LOOKUPS
Message-ID:  <Pine.SOL.4.21.0005061007440.4855-100000@sol.cs.binghamton.edu>
In-Reply-To: <3913998E.2CD4@natsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 May 2000, Craig Wilson wrote:

> I have a stange problem on one of my FreeBSD 2.2.7 servers with
> a DPT SMART RAID IV controller where directory scans are very slow
> ie
> opendir(".");
> with repeated readdir()'s with 5000 files in the directory
> it takes 15 seconds to read this directory 70 times,
> where on our other FreeBSD 2.2.2 & 2.2.6 machines this takes less
> than 1 second.
> 
> The machine was performing ok, does anyone know what may have
> caused this.
> 

Directory operations are inherently slow due to the design of FFS (now
called ufs).  But since you are comparing two versions of FreeBSD, I have
no idea.  Are they running on the same hardware configuration?  Were the
filesystems created in the same way?

-Zhihui



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0005061007440.4855-100000>