Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Trick to avoid heavy FS frag of ISOs< Next Oldest | Next Newest >
 Post Number: 1
wOxxOm Search for posts by this member.

Avatar



Group: Members
Posts: 1
Joined: Aug. 2008
PostIcon Posted on: Aug. 10 2008,02:19   Ignore posts   QUOTE

Only 1 software title of a million it seems is aware of FS (NTFS at least) trick to make huge files contiguous (non-frgamented). Otherwise it's quite common to see 500+ FS chunks for 4GB ISOs.

The trick is to allocate file space before actual writing occurs e.g. winapi: CreateFile, SetFilePointer -> projected length, SetEndOfFile, SetFilePointer -> 0. This makes (at least NTFS) FS Windows software layer try to allocate the file in one chunk, or smallest possible quantity of chunks (not sure of the latter).

If a harddrive volume contains free space block large enough to store the requested capacity then the allocation should take (almost) no time. The drawback is that it MAY take much time (a minute maybe on an average fragmented volume per 4GB). However making it an option would benefit many advanced users (I think so) that would like to prevent fragmentation.

Utilities with such an option, that I know of: Flashget (downloader, at least old versions 1.6-1.8), KillCopy (an advanced file copying).
Offline
Top of Page Profile Contact Info 
0 replies since Aug. 10 2008,02:19 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply Trick to avoid heavy FS frag of ISOs
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code