Suggestion: Preallocated file open
#10
My point is because every file system fragments is not a good answer.  Linux is very good at not creating frags. There is a file open call present in Windows and Linux to preallocate a contiguous file.  If you know what you want to use for size.  Look at the Rsync options in linux one of them is --preallocate every file has a known length making it easy.
On windows "Winrar" does not preallocate hence lot's of fragmentation.  But using the copy function of "Total commander" does.  I have 1.5TB on a external HD.  Not one fragment created ever.  Any holes are not partially filled using TC.  TC just goes elsewhere to store it.  If the file is small enough to fit, it goes in the hole.  I love that part of TC.

If you are not using an SSD or Ramdrive.  Everytime you have to move a HD head it takes time.  To speed up QB64, a contiguous file is important.
Reply


Messages In This Thread
Suggestion: Preallocated file open - by doppler - 01-09-2023, 01:01 AM
RE: Suggestion: Preallocated file open - by doppler - 01-09-2023, 06:33 PM



Users browsing this thread: 4 Guest(s)