lkml.org 
[lkml]   [1999]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: large directory handling speed


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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.084 / U:1.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site