26 comments

  • asmodeuslucifer 1 minute ago
    I used to watch defrag (and defraggler). If you have OCD they are very satisfying to watch. The more fragmented they were to start with, the better.
  • comradesmith 4 minutes ago
    I started the defrag on F and got about 1/4 the way, but had to stop cause my brother wanted to use the family computer.

    When I changed it between drives and back I lost my progress :/

  • vunderba 2 hours 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.
    • andikleen2 2 hours 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.

      • alwa 2 hours 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…

    • leoooodias 2 hours ago
      LOL
  • cosmic_cheese 2 hours 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.
    • suprjami 20 minutes ago
      People used to say the same about Linux ext4, it didn't need defragmenting.

      afaics all that meant was file allocations make a little extra space at the end, so if the file expands it doesn't need to allocate a new block.

      If one keeps files around for a long time and constantly adds to them, then the files get fragmented on any filesystem.

      The only way to avoid this is pre-allocate all files to their maximum possible size and never exceed that size.

  • stoatstudios 1 hour ago
    Perhaps it's appropriate for me to link to the free game I made where you play a taxi driving through Disk Defragmenter and delivering stray blocks of data to their final locations: https://safetystoatstudios.itch.io/ddr. It was pretty fun to watch Defragmenter as a kid, but it would have been better if it was interactive, kind of like the 3D maze screensaver.
    • suprjami 16 minutes ago
      AND you made it for Sega Genesis! That's so good.
  • singiamtel 3 hours ago
    There's something satisfying about defragging that has been lost to time. Like oiling a squeaky engine
  • vessenes 3 hours 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.
    • haykuro 2 hours 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.

  • Hobadee 2 hours 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.
  • roger_ 3 hours ago
    My computer's definitely gonna be faster after this.
    • NBJack 2 hours 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.
  • pjot 2 hours ago
    Will need to degauss after this
    • stavros 2 hours ago
      What, you don't need the data any more? Or are you conflating screen degaussing?
      • birdsongs 2 hours 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.

        • pjot 21 minutes ago
          It also made a really satisfying “boyoyoyinnng” sound
  • michaelmure 1 hour ago
    In the same vein, but showing live the go allocator and GC operating on the heap of a running program: https://github.com/MichaelMure/gogc98
  • toast0 3 hours ago
    Love the warning for using on a mobile device.
  • stuaxo 2 hours 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.

  • pyaamb 3 hours ago
    Need this but for AI models. Sleep mode where they self prune and optimize overnight for their daily purpose.
  • RetroTechie 2 hours ago
    4 Drives, 5.5G total. Luxury!

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

  • 3eb7988a1663 2 hours ago
    There is even a click noise when you idly tap the screen.

    As great as it is, way too fast.

  • chasil 1 hour ago
    Defragmenting XFS is much less dramatic.
  • stavros 2 hours ago
    I need to set up a Windows 95 computer with a hard drive and stream the defragging online, complete with live audio.
  • brcmthrowaway 2 hours ago
    What were the major filesystem technology improvements that made this redundant?
    • predictsoft 2 hours ago
      I think NTFS and SSD disks.
      • WalterGR 2 hours ago
        Fragmentation is an issue with any file system. SSDs dramatically reduce the cost of fragmentation but do not eliminate it, as non-sequential access is still slower than sequential access.
    • megagpt1 2 hours 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.
  • wild_pointer 3 hours ago
    Legend
  • MarvinYork 3 hours ago
    The sound killed me... :D
  • retired 2 hours ago
    This scratched an itch for me.

    I’m going to watch Johnny Castaway now.

  • delduca 2 hours ago
    My YouTube
  • pir8life4me 3 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?

  • josefrichter 2 hours ago
    bill gates, I want my time back!
  • olivierestsage 2 hours ago
    Hot