Linux-kernel mailing list archive 1999-21,: Re: large directory handling speed

# Re: large directory handling speed

Alexander Viro (viro@math.psu.edu)
Thu, 27 May 1999 13:37:31 -0400 (EDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jim Mostek: "Re: XFS and journalling filesystems"
- Previous message: Jim Mostek: "Re: SGI's XFS DONATED AS OPEN SOURCE!!!!!!!!!"

On Tue, 25 May 1999, Alexander V. Lukyanov wrote:

> On Thu, May 20, 1999 at 07:43:19PM +0400, Alexander V. Lukyanov wrote:
> > I have noticed that ext2 handles large directory much better than vfat
> > or iso9660.
> ...
> > I know that vfat is not of very smart design, but windows handled the
> > directory better.
>
> Replying to myself: it seems that windows just get file information along
> with its name, thus no extra name lookup. When I used unix-like ls program,
> I could not wait until it finishes :)
>
> So, would it be possible to cache file information somehow in vfat directory
> reading routine - create dentry or something?

It may be unnecessary now. Could you try the version in 2.3.2 or later?
I believe that I had removed a bottleneck in fat_get_entry() and it might
reduce a problem. There is a way to make fat_readdirx() and friends
faster, but I suspect that the main sucker was fat_get_entry().

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Jim Mostek: "Re: XFS and journalling filesystems"
- Previous message: Jim Mostek: "Re: SGI's XFS DONATED AS OPEN SOURCE!!!!!!!!!"