POV-Ray : Newsgroups : povray.off-topic : Formatting speeds redux : Re: Formatting speeds redux Server Time
7 Sep 2024 13:25:15 EDT (-0400)
  Re: Formatting speeds redux  
From: Orchid XP v8
Date: 7 Jul 2008 14:42:17
Message: <48726389$1@news.povray.org>
>>> Interestingly enough, in NTFS, if all the data fits in the same 
>>> sector as the inode[1], it goes into the same sector.
>>
>> ....which the result that if you have many hundreds of tiny files in a 
>> single directory... the directory structure becomes rather large and 
>> slow to traverse. ;-) (Still better than wasting half your harddrive 
>> though!)
> 
> Are you joking? Or are you serious? Because from what I understand, the 
> directory structures have nothing in them but names and pointers into 
> the master file table (which stores the file records that are the 
> equivalent of inodes). In other words, the directory hasn't anything to 
> do with the files, and doesn't get bigger just because you're storing 
> small files.
> 
> I could be wrong about that, tho, if you actually have information that 
> says otherwise.

The information I heard is that "small" files are stored in-line inside 
the directory structure to prevent additional seeks (and wasted 
half-blocks). The source I got that from wasn't highly technical, so 
this might be a simplification.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.