Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

93% Positive

Analyzed from 742 words in the discussion.

Trending Topics

#disk#file#https#drive#defragging#defrag#need#don#love#faster

Discussion (39 Comments)Read Original on HackerNews

vunderba43 minutes ago
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.
andikleen222 minutes ago
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.

alwa17 minutes ago
Would those tools be primarily proprietary, or do some live in the open-source world too? I’d be interested in the techniques they use to aim for realism there.

Admittedly I haven’t made much of a search, but various search engines and autocorrects seem really convinced that I mean “defragmenter” instead of “fragmenter,” despite myself…

leoooodias34 minutes ago
LOL
cosmic_cheese16 minutes ago
I recall there being some techno-mysticism surrounding defragging regarding how often and when it was necessary, what it did and didn’t help, etc. I also remember the claim “Macs don’t need defragging” but I don’t know if HFS(+) was actually any less prone to fragmentation than FAT32 was. Companies like Symantec were happy to sell defragging tools to Mac users regardless.
singiamtelabout 1 hour ago
There's something satisfying about defragging that has been lost to time. Like oiling a squeaky engine
vessenesabout 1 hour ago
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.
haykuro22 minutes ago
The speed is determined by a simple 1000 / <iops> 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.

Hobadeeabout 1 hour ago
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.
vunderbaabout 1 hour ago
I'm a stickler for accuracy too. The defragged blocks in the original Win9x program weren't solid blue - they had a hatch pattern texture to them. I remember it way too vividly.

Source: Watching a disk defrag was every millenial kids equivalent of going to the laundromat and watching laundry tumble.

https://youtu.be/dc_SDyLYq3U?t=347

bluejay238730 minutes ago
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.
someothherguyy37 minutes ago
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

msephtonabout 1 hour ago
It could be spread out too
stuaxo17 minutes ago
It feels a little too defragmented to start.

Typically it would be getting some bits from other parts of the drive and there would be a few (that many) bits it wouldn't move because they were the swap file and DOS boot system files.

roger_about 1 hour ago
My computer's definitely gonna be faster after this.
NBJackabout 1 hour ago
I do laugh in that in all the times I ever did this for real (even back to my massive 170MB drive), it never felt much faster.
chasil7 minutes ago
At that point, you had to deal with questions of interleave.

https://en.wikipedia.org/wiki/Interleaving_(disk_storage)

jasonfarnon18 minutes ago
You probably defragged frequently enough. You would definitely notice it if a file system got fragmented enough.
pjotabout 1 hour ago
Will need to degauss after this
stavrosabout 1 hour ago
What, you don't need the data any more? Or are you conflating screen degaussing?
birdsongs13 minutes ago
We used to degauss the CRTs because it looked cool and there was nothing else to do. Very adjacent to watching the defrag window maximised.

I did it in computer lab and showed others and the teacher lost it, thought we were breaking things.

chasil10 minutes ago
Defragmenting XFS is much less dramatic.
toast0about 1 hour ago
Love the warning for using on a mobile device.
3eb7988a166329 minutes ago
There is even a click noise when you idly tap the screen.

As great as it is, way too fast.

Advertisement
RetroTechie36 minutes ago
4 Drives, 5.5G total. Luxury!

Per-drive individual sounds, and BSoD included. Nice touches, love it!

pyaambabout 2 hours ago
Need this but for AI models. Sleep mode where they self prune and optimize overnight for their daily purpose.
retired13 minutes ago
This scratched an itch for me.

I’m going to watch Johnny Castaway now.

delduca19 minutes ago
My YouTube
stavrosabout 1 hour ago
I need to set up a Windows 95 computer with a hard drive and stream the defragging online, complete with live audio.
brcmthrowawayabout 1 hour ago
What were the major filesystem technology improvements that made this redundant?
megagpt143 minutes ago
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.
predictsoftabout 1 hour ago
I think NTFS and SSD disks.
WalterGR22 minutes ago
Fragmentation is an issue in any file system. SSDs reduce the cost of fragmentation but do not eliminate it.
josefrichter44 minutes ago
bill gates, I want my time back!
MarvinYorkabout 1 hour ago
The sound killed me... :D
wild_pointerabout 1 hour ago
Legend
pir8life4meabout 2 hours ago
Brilliant. Whirring disk noise is nice touch.

If AI generated this is what the AI revolution is all about.

Can we get a cross platform screensaver?

Advertisement
olivierestsageabout 1 hour ago
Hot