Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#314765 - 07/10/2008 14:03 Defrag question
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5546
Loc: Ajijic, Mexico
Last night I did a full system backup. On a whim I quick-formatted both of the destination drives (an internal IDE drive and an external USB drive) so that they were absolutely clean when the backup began.

I figured that this would give me 100% non-fragmented files, but this is not the case. My defragger is chugging away as I write this and it will take it several hours to complete, as more than 20% of the files on the newly-formatted destination drives are fragmented.

Why did the files, being written sequentially to a clean, empty drive, end up fragmented? If it matters, when I reformatted the drives I enabled compression.

tanstaafl.


Edited by tanstaafl. (07/10/2008 15:07)
Edit Reason: fix typo
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#314766 - 07/10/2008 14:42 Re: Defrag question [Re: tanstaafl.]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
I can't offer any insight, but a cow-orker of mine recently asked offhand if I'd defragmented a fresh install of XP. I thought he was joking. He wasn't.

Matthew

Top
#314768 - 07/10/2008 14:52 Re: Defrag question [Re: tanstaafl.]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Because Windows has a really poor file allocation algorithm?

While glib, that's probably basically true. The issue is that it probably writes temporary files and then deletes them and then backfills with permanent files that are not the exact same length.
_________________________
Bitt Faulk

Top
#314770 - 07/10/2008 14:59 Re: Defrag question [Re: wfaulk]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
What Bitt said. Enabling compression probably doesn't help it either.

A Vista install should be less fragmented because of the image install system it uses.

Top
#314783 - 07/10/2008 16:41 Re: Defrag question [Re: tanstaafl.]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Originally Posted By: tanstaafl.
Why did the files, being written sequentially to a clean, empty drive, end up fragmented? If it matters, when I reformatted the drives I enabled compression.

I think Bitt answered the question just fine. I'm just replying to find out what you're using for a defrag program. I was under the impression that the one built into Windows isn't all that great.

I'm currently a fan of JKDefrag. I keep a portable version of it on my portable apps drive.
_________________________
Matt

Top
#314818 - 08/10/2008 18:27 Re: Defrag question [Re: Dignan]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Defraggers do more than simply defragment files -- they also regroup files close to their directories, and eliminate unused gaps of space and such.

Cheers

Top
#314819 - 08/10/2008 18:29 Re: Defrag question [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Some defraggers do. The stock Windows one doesn't.
_________________________
Bitt Faulk

Top
#314825 - 08/10/2008 23:18 Re: Defrag question [Re: Dignan]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
IObit is the one I use.
_________________________
Glenn

Top
#314846 - 09/10/2008 13:46 Re: Defrag question [Re: gbeer]
Robotic
pooh-bah

Registered: 06/04/2005
Posts: 2026
Loc: Seattle transplant
Originally Posted By: gbeer
IObit is the one I use.
Wow!
That looks too good to be true!
_________________________
10101311 (20GB- backup empeg)
10101466 (2x60GB, Eutronix/GreenLights Blue) (Stolen!)

Top
#314849 - 09/10/2008 16:31 Re: Defrag question [Re: Robotic]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
Interesting tidbit: One of the biggest players in the Windows defrag market is Diskeeper which happens to be a company whose CEO is a "devout" member of the Church of Scientology. There was a big controversy when Windows 2000 came out because it used a stripped down version of the Diskeeper engine. The implication being that CoS was using Diskeeper to monitor the data on hard drives worldwide to look for things they don't like (i.e. secret documents).

Top
#314850 - 09/10/2008 16:32 Re: Defrag question [Re: Robotic]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
So this thread is a good place to ask this, anyone here use a defragger in a development environment and can recommend one (either free or commercial) that will do well? Doing a simple sync out of Perforce, then compiling a large app really trashes a drive under Windows. The goal would be to have a defragger that is pretty much install and forget (so nothing that has to be manually run), and is smart enough to stay out of the way when the disk is being used. Ideally, it would also move the most accessed files to the faster parts of the disk, using actual benchmarks to figure out where that spot is.

I tried Diskkeeper 2008 on my machine and a few others for their trial, and it seemed to be decent at doing all of this, but searching around, there still seems to be a lot of negative reviews of it for some reason. For me, it seemed to do the job of cleaning things up pretty quickly, often getting the disks back into order if I stepped away for lunch or a meeting.

I'll try out JKDefrag and IObit based on the suggestions here sometime next week.

Top
#314851 - 09/10/2008 16:42 Re: Defrag question [Re: drakino]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
JKDefrag has a screensaver that will run JKDefrag when the screensaver kicks in. If that's enough idle detection for you, there you go. If not, I don't think that there's anything you can do with JKDefrag that wouldn't require another idle-detecting utility.
_________________________
Bitt Faulk

Top
#314852 - 09/10/2008 16:49 Re: Defrag question [Re: siberia37]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
The German government made Microsoft strip out all of the Diskeeper code because they consider Scientology to be an anti-constitutional organization.
_________________________
Bitt Faulk

Top
#314854 - 09/10/2008 17:40 Re: Defrag question [Re: wfaulk]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Originally Posted By: wfaulk
JKDefrag has a screensaver that will run JKDefrag when the screensaver kicks in. If that's enough idle detection for you, there you go. If not, I don't think that there's anything you can do with JKDefrag that wouldn't require another idle-detecting utility.


Idle in this case would need to be based on IO, and not screensaver. It's possible someone will kick off a build and walk away with the screensaver on. At that point, the defrag program shouldn't be kicking in unless the build finishes.

Top
#314858 - 09/10/2008 18:11 Re: Defrag question [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
I don't think I ever actually knew that. Very interesting.
_________________________
Tony Fabris

Top
#314860 - 09/10/2008 19:37 Re: Defrag question [Re: drakino]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I just came across this JKDefrag GUI that allows you to schedule it to run when idle. It doesn't specify what "idle" means (it uses jt.exe from the Resource Kit), but it's worth checking out. (It also incorporates a pagefile defragger, a registry optimizer, a freespace wiper, and a temp file cleaner.)
_________________________
Bitt Faulk

Top
#314862 - 10/10/2008 01:13 Re: Defrag question [Re: Robotic]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Originally Posted By: Robotic
Originally Posted By: gbeer
IObit is the one I use.
Wow!
That looks too good to be true!

Really? I don't see much on that page that attracts me to use it as a program. I usually try to stay away from programs that have pages that look like that (there's a good number of them).

Then they make the following statement: "What’s the primary cause of slow/unstable PC performance? It’s disk fragmentation." Um, I don't think so. Maybe if they said "slightly slow/somewhat unstable" then fine, but from what I see, it's spyware/viruses.
_________________________
Matt

Top
#314863 - 10/10/2008 01:17 Re: Defrag question [Re: wfaulk]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Originally Posted By: wfaulk
I just came across this JKDefrag GUI that allows you to schedule it to run when idle. It doesn't specify what "idle" means (it uses jt.exe from the Resource Kit), but it's worth checking out. (It also incorporates a pagefile defragger, a registry optimizer, a freespace wiper, and a temp file cleaner.)

Oops, I should have mentioned that I use the GUI. It's quite good.
_________________________
Matt

Top
#314864 - 10/10/2008 02:57 Re: Defrag question [Re: Dignan]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Originally Posted By: Dignan
Really? I don't see much on that page that attracts me to use it as a program. I usually try to stay away from programs that have pages that look like that (there's a good number of them).

Did you watch the video? It's hysterical. It sounds like it was narrated by son-of-wild-and-crazy-guy.
_________________________
Bitt Faulk

Top
#314865 - 10/10/2008 04:35 Re: Defrag question [Re: wfaulk]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Originally Posted By: wfaulk
Originally Posted By: Dignan
Really? I don't see much on that page that attracts me to use it as a program. I usually try to stay away from programs that have pages that look like that (there's a good number of them).

Did you watch the video? It's hysterical. It sounds like it was narrated by son-of-wild-and-crazy-guy.

Certainly was an "interesting" video. It's a grammatical nightmare though. It reinforced the impression I got from the rest of the website - "sounds to good to be true". The web page was enough for me to say no before the video. Also, when the video says things like "it eliminates long waiting times for large hard drives". Nonsense...

That said, it is free though and the author/owner doesn't seem to want make any money from it.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#314870 - 10/10/2008 13:27 Re: Defrag question [Re: Shonky]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
Quote:

That said, it is free though and the author/owner doesn't seem to want make any money from it.


I would worry about the authors true motivations here. Defrag programs do have complete access to your hard drive remember. If he put in a regular expression looking for credit card numbers in files as it defrags who would ever know?

Top
#314877 - 10/10/2008 17:08 Re: Defrag question [Re: Shonky]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Originally Posted By: Shonky
That said, it is free though and the author/owner doesn't seem to want make any money from it.

I tend to make a judgment call on free software by the way its presented. That site leaves me a little...skeeved. At the very least I'd try to find out what other folks on the net are saying about it before using it (not just CNet). I think JKDefrag has been put through its paces pretty well.
_________________________
Matt

Top
#314887 - 11/10/2008 02:32 Re: Defrag question [Re: Dignan]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5546
Loc: Ajijic, Mexico
Quote:
I'm just replying to find out what you're using for a defrag program.


I use Auslogic's defragger. It is free, very simple user interface, and it is fast. I've been quite happy with it.

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top