Live data from Hacker News

Defrag98: Windows 98 Disk Defragmenter Simulator Online

defrag98.com

21–30 of 68 posts

Re: Defrag98: Windows 98 Disk Defragmenter Simulator Online

#22

What were the major filesystem technology improvements that made this redundant?

FAT32 allocates the first free block. IIRC, file order must match disk order because reasons. Ext2 prioritized allocating the middle of free space to allow fragment-free growth on both sides and it became a standard filesystem feature after that.

Re: Defrag98: Windows 98 Disk Defragmenter Simulator Online

#23
When I was younger, my friends and I joked about making a "Disk Fragmenter" which would enumerate through every file on the disk and split them into non-contiguous clusters to make sure that the actuator arm on your platter-drive gets a PROPER WORKOUT TO FEEL THE BURN.

Re: Defrag98: Windows 98 Disk Defragmenter Simulator Online

#24
post #12

I love it. A couple notes: - This is about 10x a real defrag speed - WAAAY too fast - IIRC the "Data that will not be moved" was typically lumped at the beginning of the drive, not spread out all over.

author commenting on such things:

https://morello.dev/blog/defrag98-rebuild

what it looked like before

https://morello.dev/blog/windows-98-defrag-simulator

a previous discussion:

https://news.ycombinator.com/item?id=40962195

here is another version i found when googling these things that seems somewhat similar, but with a few more "accurate" features. also, has the source available in a single file.

https://horatioconkerhead.github.io/win98-defrag/

if you want the real deal, you can run windows 95 in the browser quick. it took running it a few times to get it to actually defrag:

https://archive.org/details/win95_in_dosbox

Re: Defrag98: Windows 98 Disk Defragmenter Simulator Online

#26

When I was younger, my friends and I joked about making a "Disk Fragmenter" which would enumerate through every file on the disk and split them into non-contiguous clusters to make sure that the actuator arm on your platter-drive gets a PROPER WORKOUT TO FEEL THE BURN.

LOL

Re: Defrag98: Windows 98 Disk Defragmenter Simulator Online

#27
post #12

I love it. A couple notes: - This is about 10x a real defrag speed - WAAAY too fast - IIRC the "Data that will not be moved" was typically lumped at the beginning of the drive, not spread out all over.

I am guessing the developer took into account the fact that the younger generations these days don't have the patience for real time defragging.

Re: Defrag98: Windows 98 Disk Defragmenter Simulator Online

#29

When I was younger, my friends and I joked about making a "Disk Fragmenter" which would enumerate through every file on the disk and split them into non-contiguous clusters to make sure that the actuator arm on your platter-drive gets a PROPER WORKOUT TO FEEL THE BURN.

Such tools really exist and they're used for testing file systems, so that you have a more realistic "aged" layout on a freshly created test file systems.

We also have memory fragmenters to do the same for memory for the same reasons.

Re: Defrag98: Windows 98 Disk Defragmenter Simulator Online

#30
post #4

I love this. I wanted the disk noise, and I got it. I will say that’s a lot faster than my drives were in the late 1990s though.

The speed is determined by a simple 1000 / per disk (there's different disks if you click "Settings").

If you inspect and go to sources and look for "1e3 /" you'll find the line responsible, you can set a breakpoint and change e.disk.iops to 1000 which will make the timeout per row 1s instead of 2-4s, so the whole thing goes faster.

Post reply on HN