The way hard drives work is when you store a file it is written to sectors, and each sector has a bit of data in the sector and file table to go “this sector, then that sector, then that next sector, etc, etc”. Now as you add and delete files your files start to get into a couple of sectors here, one way over there, then three sectors over here, and so on, and all your files are like that. That means that your HDD’s have to work way harder and slower to access those sectors. That is called File Fragmentation.
Defragmentation, or Defrag/Defragging is the act of moving those sectors so they are continuous and have little or no fragmentation. Better Defragging programs would also use the placement of the files on the disk to make the more important or more commonly used programs on the fastest to access parts of the disk and the slower programs at the slower to access parts of the disk.
It also often came with a popular display option of the work it has done vs what is left to do that you can find a simulation here https://defrag98.com/
Eventually Computers got so powerful and so mutithreaded that they could do this while the computer was running and doing other things and the one that came with the OS was just good enough for people to largely stop doing it manually. With modern SSD’s though this is not necessary as they kind of do their own kind of defrag called TRIM.
Gather round the campfire youngsters, and let me regale you of a time when hard drives saved linearly and deletions eventually caused your hard drive to look like a Rubik’s cube exploded, and so you defragmented it so it was all nice and tidy, like an unexploded Rubik’s cube.
Source: going purely by the accompanying graphic when you defragged that sumbitch
Back in the day when hard drives were smaller, you’d easily find yourself using a major fraction of it. If you keep adding and deleting files of different sizes, using a drive fully gets complicated. You may cumulatively have the space for your new file, but you may not have enough space in a row, so it’ll fail to write the file. Defragging was a really slow operation that moved all the free space to one side, so you can easily add new files. It’s the digital equivalent of pushing all your hangers to one side in the closet.
It’s not that saving the file would fail, but it would take longer to read because the stylus would have to read parts of it from wildly different locations on the drive. Defragmentation reorders everything so that the memory blocks for each of these files are next to each other so the stylus doesn’t have to move as much.
I don’t think it’s less of a modern issue and more that current operating systems do that decrag process more automatically, I think. That’s just a guess though.
Fuck is a defrag?
The way hard drives work is when you store a file it is written to sectors, and each sector has a bit of data in the sector and file table to go “this sector, then that sector, then that next sector, etc, etc”. Now as you add and delete files your files start to get into a couple of sectors here, one way over there, then three sectors over here, and so on, and all your files are like that. That means that your HDD’s have to work way harder and slower to access those sectors. That is called File Fragmentation.
Defragmentation, or Defrag/Defragging is the act of moving those sectors so they are continuous and have little or no fragmentation. Better Defragging programs would also use the placement of the files on the disk to make the more important or more commonly used programs on the fastest to access parts of the disk and the slower programs at the slower to access parts of the disk.
It also often came with a popular display option of the work it has done vs what is left to do that you can find a simulation here https://defrag98.com/
Eventually Computers got so powerful and so mutithreaded that they could do this while the computer was running and doing other things and the one that came with the OS was just good enough for people to largely stop doing it manually. With modern SSD’s though this is not necessary as they kind of do their own kind of defrag called TRIM.
Welp. I’m old now I guess.
Gather round the campfire youngsters, and let me regale you of a time when hard drives saved linearly and deletions eventually caused your hard drive to look like a Rubik’s cube exploded, and so you defragmented it so it was all nice and tidy, like an unexploded Rubik’s cube.
Source: going purely by the accompanying graphic when you defragged that sumbitch
Back in the day when hard drives were smaller, you’d easily find yourself using a major fraction of it. If you keep adding and deleting files of different sizes, using a drive fully gets complicated. You may cumulatively have the space for your new file, but you may not have enough space in a row, so it’ll fail to write the file. Defragging was a really slow operation that moved all the free space to one side, so you can easily add new files. It’s the digital equivalent of pushing all your hangers to one side in the closet.
I find myself doing that now! My work machine in particular is very long-suffering on this front.
Defrag is still very much a thing just not so.mich for the average computer.
It’s not that saving the file would fail, but it would take longer to read because the stylus would have to read parts of it from wildly different locations on the drive. Defragmentation reorders everything so that the memory blocks for each of these files are next to each other so the stylus doesn’t have to move as much.
Why is it no longer an issue with modern moving parts HDDs? Was it some sort of firmware related limitation?
I don’t think it’s less of a modern issue and more that current operating systems do that decrag process more automatically, I think. That’s just a guess though.
You know first person shooters? If you kill someone it’s called a “frag”, as in fragmenting their body pars. If you revive someone it’s a “defrag”.
Something windows users had to do in the past because they bought a shit operating system