Jump to content
The Dark Mod Forums

Just learned a valuable lesson


AluminumHaste

Recommended Posts

Never force close the Defrag process no matter how annoyingly unresponsive your computer is. My disk queue was at 10 and computer was almost completely unresponsive so I force closed Perfect Disk while it was defraging the MFT.

After that my SVN copy of darkmod was broken and now chkdsk is repairing my computer for the last 20 minutes. 1.2 million index entries seems a little high. I hope it boots after this. :(

 

STUPID STUPID STUPID me

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

Ouchies. I was always under the impression that if your machine shut off during a defrag, it wouldn't be that big of a deal because of both NTFS's journaling and defrag supposedly copying information to a new spot before removing it from the old one.

--- War does not decide who is right, war decides who is left.

Link to comment
Share on other sites

A number of the more commercial defrag tools don't use the Windows defrag API to do the work, MyDefrag and most of the smaller ones do. There's very little gained by rewriting, other than that you can provide a lot more information - tho it's seldom ever used, resulting in them doing pretty much the same job as the free alternatives.

 

PerfectDisk does not use the API, it uses it's own low level driver which ~does things~, and as you know anything that's got logic moving from user to kernel space is likely to do bad things if something goes wrong, at worst you'd also get a nice BSOD, fs leak and perhaps a few misplaced writes.

 

The Win API way is rather safe, however it's still not foolproof, just like a journaled filesystem can still become dirty as a log is only as good as its entries.

Link to comment
Share on other sites

I was under the impression that defragging was one of those superstitious things that hasn't actually been necessary since about 1996 due to the advances in filesystem and hard disk technology, but people still do it in the hope that it will make their PC a bit faster even though it probably doesn't.

Link to comment
Share on other sites

...people still do X in the hope that it will make Y even though it probably doesn't.

 

After the X/Y generalization we could safely say that everyone does this occasionally on various topics. I'd say it is an inherent human quality. Why wouldn't people do it on X=defrag, Y=PC speed?

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

After the X/Y generalization we could safely say that everyone does this occasionally on various topics. I'd say it is an inherent human quality. Why wouldn't people do it on X=defrag, Y=PC speed?

 

True, in fact this is the very definition of "superstition".

 

I can say for sure, that there is a benefit in not having fragmented datastreams on your discs, because repositioning the reading head induces latency

 

Right, but as I understand it, (1) modern filesystems are better at avoiding fragmentation in normal use, by allocating blocks more intelligently and using extents or other features, and (2) with the automatic reallocation of modern hard drives there is no guarantee that the ordering of blocks on the logical filesystem will even match the layout on the physical disk, so your carefully "defragmented" filesystem might in fact be jumping around all over the place on the magnetic platters. I have also heard that fragmentation is/was only a problem with disks that become substantially full, which is rarer these days with much larger capacities.

 

Not that I am a disk storage expert by any means, but I suspect that the case for using "special" defragmentation programs on a regular basis is probably rather weak.

Link to comment
Share on other sites

Not that I am a disk storage expert by any means, but I suspect that the case for using "special" defragmentation programs on a regular basis is probably rather weak.

While this is partly true, the thing to remember is that defragmentation is a rather vague term. Would the tool just try and order blocks? what would its back off criteria be? does it understand file types and directory structure? does it make bad assumptions about these structures?

 

The Windows tool is very simple, it just wants to do the least work possible, and as such you'll get files that are infrequently used in the middle of common reads, not a very ideal situation as you want these areas to be in the outside of a disk. Do you really want a pile of movies sitting next to your system bins? Do you let your distro tune your disks and controllers for you? Have you tried doing it by hand? Once you try it yourself you might be surprised, but it's very work-type specific...

 

NTFS is by no means as bad as the good ol days of Win95 and FAT32, but it's also not very good at maintaining itself (which is not always a bad thing). But the API provided is good, and free tools which offer a good set of basic logic or adaptability to your workload are out there.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...