|
From: Hartmut B. <har...@te...> - 2001-10-01 20:52:37
|
Vfatfs hasn't a real file cache like NT. When a file is opening, vfatfs uses cached directorie data. But the file/dir info functions doesn't use the cache. At the moment, vfatfs doesn't free memory from cached directorie datas. When the file info functions uses cached directorie data, a simple 'dir /s' (from cmd.exe) reserves ca. 25MB for a partition with 100000 files. - Hartmut > -----Ursprungliche Nachricht----- > Von: Phillip Susi [SMTP:ps...@cf...] > Gesendet am: Sonntag, 30. September 2001 16:47 > An: ros...@re... > Betreff: [ros-kernel] Re: Filesystem cache > > I'm not sure, but I think that sometimes the directory data is cached, such > as when opening files or changing directories, it does not seem to read the > disk, but when doing a simple dir command, there is intense disk IO and > each file in the directory is printed one at a time, very slowly, as if it > were still reading in a sector from the disk for each file found in the > directory. > > At 11:52 AM 9/30/2001 +0100, you wrote: > >On Sat, Sep 29, 2001 at 09:54:15PM -0700, Rex Jolliff wrote: > > > > > > I thought I was done with this. Perhaps I missed something, or subsequent > > > changes > > > altered the behaviour of the caching code. I am not currently working on > > > this. I seem > > > to remember that someone else picked up the vfat driver. Perhaps this > > > person will > > > look into this. If not, I can take a look. > > > > >The vfat directory read code uses the interfaces for reading file data so > >it does go through the cache but it doesn't operate directly on the cached > >data so it is less efficent. ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |