a) What algorithm would a typical defragmenting program use to get rid of the fragmentation?
b) In Defraggler, I have a quick defrag option and a defrag option. Assuming defrag would do a normal defragmentation, what would a quick defrag do?
|
a) What algorithm would a typical defragmenting program use to get rid of the fragmentation? b) In Defraggler, I have a quick defrag option and a defrag option. Assuming defrag would do a normal defragmentation, what would a quick defrag do? |
||||
|
|
|
I'm not profound in defragmentation but I would like to share some information regarding your question. For the first part of your question, MSDN mentions about the defragmentation algorithms in their blog:
You can read the whole article from here: Engineering Windows 7 - Disk Defragmentation. For the second part of your question, Piriform Docs has an answer:
For better comprehension of defragmentation, Wikipedia has a good page. |
||||
|
|
|
One important thing to note: Microsoft provides an API that programs can use for safely defragmenting files. (See Defragmenting Files on MSDN) Any defragger should be using those APIs, and most do. All the "magic" of defragmenting comes in determining how to lay the files out, and this is what the various programs use to differentiate each other. If you think you're really smart, you can use MyDefrag to write your own layout script. |
|||
|
|
|
There's absolutely no 1 answer. There's no "typical" algorithm. Because each defrag app uses its own algorithms. Sure there might be a "trend" to be seen amongst some of the more known algorithms, but generally speaking there's no typical or universal one. Take MyDefrag, an amazing app btw, you can, to some extend, write your own defrag algorithms. |
|||
|
|