On Mon, 06 Aug 2001, Gregory S. Youngblood wrote:
> All of this has been installed from a stock SuSE 7.2 professional
> installation, using a Linux 2.4.4 kernel.
I heavily suggest updating to the SuSE 2.4.7 kernel. There are several
important fixes (also reiserfs related) in there.
> First thing, on boot up, there is a report that I'm running ResierFS
> 3.6.25, but that I'm using the 3.5 disk image format. Is this normal? Or is
> this something SuSE did on purpose?
Its the default IIRC.
> The problem is that ls -U (for unsorted list), or just place ls or du, on
> this specific directory does not return anything and just thrashes the hard
> drive ( and CPU to a lesser degree ). I left ls running for between 60 and
> 90 minutes before killing it. The directory listing from the Windows box
> never returned either.
How much RAM do you have? I just tried placing 600000 1k files in one
directory and it takes about 180MB of RAM to list it. considering that your
system will also stat those files I guess it will take a lot more memory for
it to perform reasonably well.
> Is there a limit on files that can be in a single directory? What about
> practical limits, where the number of files in a directory brings
> performance down to a point that it should be avoided?
All depends on the hardware. If you don't have enough RAM to cache the
required information it will become too slow.
Dirk