ls -l taking too much time

scuba at centroin.com.br scuba at centroin.com.br
Mon Sep 5 13:06:54 PDT 2005


Hi all,

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

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

- Marcelo




More information about the freebsd-questions mailing list