Mailinglist Archive: opensuse (1696 mails)

< Previous Next >
Re: [opensuse] HELP - How to I delete a directory that won't die! (no rm -rf isn't the answer)
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Fri, 17 Jul 2009 12:30:32 +0200 (CEST)
  • Message-id: <alpine.LSU.2.00.0907171225420.5712@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Friday, 2009-07-17 at 11:14 +0100, Pit Suetterlin wrote:

My guess that nothing is stuck, but you're just not patient enough....
Looking at the size of the directory, it contains a LOT of files. It takes
time to do *anything* in this directory.

We're having a CCD system that regularly dumps some 100-200000 files in one
directory. Doing a 'ls' or something similar easily takes up to 10 minutes,
and that's on reiserfs - ext3 will be even slower on that, I assume.

Why is it so slow?

10 minutes * 60S/m / 100E3 files = 6mS per file.

Isn't that too much for a computer? Something is not working right... unless the HD has to do a seek per each file.

Perhaps the tools we use were designed years ago and are not designed for directories so big? :-?

- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkpgUsoACgkQtTMYHG2NR9WngACeKh+1OslFL1Ra9AtAtT2pCcVD
YOMAn3B6SlqKkZycp70mfFI0w8ZJ8+CM
=5xu/
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups