Nothinman
Elite Member
- Sep 14, 2001
- 30,672
- 0
- 0
Do we really need to bring back a month dead thread?
But the chunks that it loads sequentially are so small that it's irrelevant. A page is 4K on a 32-bit system so it does demand paging in 4K chunks, there is some read-ahead on the assumption that if you want some of those pages you'll probably want more in the near future but IIRC Windows will only do up to 64K read-ahead. Any drive ever produced can read 64K fast enough for you not to notice any latency in the read.
Not at all. It might if the files were read in one large chunk (i.e. like 'cat filename' will do) but that's not how it works. Windows reads from dozens of files at a time all in very small chunks so the fact that they're contiguous doesn't mean anything because it's seeking around into the other files all of the time too. XP even goes so far as to intentionally fragment certain boot files so that it can lay out the chunks that it needs on bootup in the proper order to minimize seeking and speed up the boot process.
There are corner cases where large contiguous files are beneficial like in the cases of audio and video editing, but in the general use case seeking is the dominant factor by a large margin and making all of your files contiguous doesn't help that at all.
Windows might not load the whole of a file or program, but what it does load is done so sequentially.
But the chunks that it loads sequentially are so small that it's irrelevant. A page is 4K on a 32-bit system so it does demand paging in 4K chunks, there is some read-ahead on the assumption that if you want some of those pages you'll probably want more in the near future but IIRC Windows will only do up to 64K read-ahead. Any drive ever produced can read 64K fast enough for you not to notice any latency in the read.
Having the files stored contiguously on the drive will still make the system more responsive when the file is needed, thus reducing the amount of seeks needed overall.
Not at all. It might if the files were read in one large chunk (i.e. like 'cat filename' will do) but that's not how it works. Windows reads from dozens of files at a time all in very small chunks so the fact that they're contiguous doesn't mean anything because it's seeking around into the other files all of the time too. XP even goes so far as to intentionally fragment certain boot files so that it can lay out the chunks that it needs on bootup in the proper order to minimize seeking and speed up the boot process.
There are corner cases where large contiguous files are beneficial like in the cases of audio and video editing, but in the general use case seeking is the dominant factor by a large margin and making all of your files contiguous doesn't help that at all.
