-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Thursday 2008-01-03 at 13:00 -0500, Greg Freemyer wrote:

I have a Windows based app we run at our office.

It sometimes creates directories with literally millions of small
files in one directory.  Using a local drive with NTFS it is taking
hours to do simple things in that directory.

I'm thinking of sitting up a dedicated Samba Server to serve just the
data drive out to this windows server.

If I did that, what would be the best choice of filesystem?  ReiserFS?
I know it has been optimized for lots of small files, but I'm not
sure about the couple million in one directory scenario.


Reiserfs will be very happy with millions of files in a single directory. You can try it yourself, creating and deleting such files with a script and timing the operation: I did so myself to verify.

Like:

  $DONDE=/Somewhere
  time for X in `seq 1 1000`;
    do
      for Y in `seq 1 1000`;
      do
        dd if=/dev/zero   of=$DONDE/Zero_$X"_"$Y bs=1k count=1 2> /dev/null
      done
      echo $X thousands
    done

   (You can add timings in there)



However, you will be mounting it over samba, and that is something I can't comment on, but I have my doubts. You should do that verification with a batch file in windows creating that million files.


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

iD8DBQFHfTGutTMYHG2NR9URApgKAKCQigmX95Ax88h2y3xuoh36NgvdOgCeOL6e
Ge72Yb4EaZiMXSr0b4xfhZ0=
=AwLy
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to