Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2005 17:06:49 -0300 (EST)
From:      <scuba@centroin.com.br>
To:        <freebsd-questions@freebsd.org>
Subject:   ls -l taking too much time
Message-ID:  <Pine.BSI.4.33.0509051648190.3371-100000@hypselo.centroin.com.br>

next in thread | raw e-mail | index | archive | help
Hi all,

=09It=B4s a FreeBSD 5.4-STABLE, on a P-IV(2.4GHz) with 120G IDE HDD
(UFS2+softupdates), as one data partition (mail).
=09The test was done in a non-production server.
=09GENERIC kernel.

=09A "ls -l" in a /var/mail folder with +6000 files (not maildir) is
taking more then 2 min to complete.
=09I compiled (static) "ls" from the GNU filetools-4.1 and it takes
~1 min.
=09Observing the final behavior I can say that gnu has an
"unbuffered" output, while fbsds is buffered.
=09It was tested in two different machines.
=09Is it right?

- Marcelo





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