I have a problem, when a folder gets too many files in it the linux file system seems to become exponentially slower, just doing a simple ls in it, my shell chockes and sometimes dies, scripts that do this take much longer then they should.
i need a quick way to get the count of the number of files in the folder as well getting the timestamp for the oldest file in the folder without using ls |wc -l when the folder is full (say over 10K files)
do any of you know a way?
also maybe one of you knows how to make the performance any better, i see the same behavior on ext3 and nfs mounts. goddamn sh!tty linux filesystems
i need a quick way to get the count of the number of files in the folder as well getting the timestamp for the oldest file in the folder without using ls |wc -l when the folder is full (say over 10K files)
do any of you know a way?
also maybe one of you knows how to make the performance any better, i see the same behavior on ext3 and nfs mounts. goddamn sh!tty linux filesystems