Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Defragmenter

Thread Tools
 
Search this Thread
 
Old 14th Nov 2004, 15:28
  #1 (permalink)  
Thread Starter
 
Join Date: Jul 2002
Location: UK
Posts: 130
Likes: 0
Received 0 Likes on 0 Posts
Defragmenter

How often do you defrag your computer and how long does it take, or dont you bother?

thanks
aa
aaaaa is offline  
Old 14th Nov 2004, 18:01
  #2 (permalink)  
The Oracle
 
Join Date: Aug 2001
Location: Naples, Florida U.S.A.
Posts: 2,902
Likes: 0
Received 0 Likes on 0 Posts
aaaaa,

It all comes down to how many times you install and uninstall programs or how often you download large files from the Internet and then delete them. (If you do not do so often, you can go months without Defraging.)

Now the time it takes to Defrag depends on the speed of your comp, the size of the Hard Drive, and the amount of Data on it.

Personally I do not Defrag, unless I am about to benchmark my Drives. WinXP does a really good job of Disk Management and unless you see an issue where each time you run a program, the Hard Drive runs a long time, I would not worry about it.

Now if you wanted to be really disciplined, then once a week or once a month would more than adequate.

If you Defrag regularly it will take less time per Defrag then if you go for long periods without Defragging. You could always leave the Drive Defragging over night and by morning you would be ready to go when you get up.

Take Care,

Richard
Naples Air Center, Inc. is offline  
Old 15th Nov 2004, 04:44
  #3 (permalink)  
Evo
 
Join Date: Sep 2002
Location: Chichester, UK
Posts: 1,650
Likes: 0
Received 0 Likes on 0 Posts
I'd agree with Richard. It's worth doing occasionally, especially if the drive is nearly maxed out, but it's nothing to worry about.

I have seen NTFS get itself into a huge mess on one XP PC, where a drive was used for a long time with only 100 - 200 Mb left. Lots of downloading, installing and deleting to clear up a few hundred megs for the next install. The Windows swap file was also dynamically sized on that drive, so it was continually looking for and releasing space. Eventually swap file performance slowed to a snail's pace, and the defragger couldn't clear up the mess so we ended up doing a format and reinstall.

That's a bit of an extreme example though
Evo is offline  
Old 15th Nov 2004, 05:26
  #4 (permalink)  
Psychophysiological entity
 
Join Date: Jun 2001
Location: Tweet Rob_Benham Famous author. Well, slightly famous.
Age: 84
Posts: 3,270
Received 37 Likes on 18 Posts
I have always been surprised that windows didn't quickly obviate the need for de-fragging. Are the later systems technically different to the DOS-like file system?

What is the thinking of partitioning logical drives these days. I always do, but friends do not. It seems so much easier to manage the drive this way.
Loose rivets is offline  
Old 15th Nov 2004, 06:17
  #5 (permalink)  
Evo
 
Join Date: Sep 2002
Location: Chichester, UK
Posts: 1,650
Likes: 0
Received 0 Likes on 0 Posts
OK, I'm no expert and I may have got my memory twisted, but IIRC...

NTFS is much smarter than FAT32 and fragments much less, but it's not perfect. In particular, it was optimized for write speed - get the data down on disk, don't try too hard to manage it - with the hope that disk caching would make up for reads. For reasons I forget, this was a good idea given the hardware that was around when NTFS was rolled out and a not-so-good idea now. Saying that, on modern hardware NTFS is fine on all but the fullest disk, unless you're really doing IO-intensive work.

UNIX systems were, I believe, generally optimised for higher-end hardware and the server role of sending out data to multiple users, so you're reading more than writing and high-speed reads are more important than writes. Therefore all your data needs to be contiguous, and they would do things like pre-allocation of empty space for files to grow into and read-aheads to fill the disk cache with data that might be needed (doesn't work so well if you're doing lots of disk seeks to find the next bit of data, so it's important that files stay unfragmented) . They will fragment on a full disk, any filesystem will, but suffer less from it than NTFS does on disks with lots of free space.
Evo is offline  
Old 15th Nov 2004, 10:10
  #6 (permalink)  
 
Join Date: Sep 1998
Location: Sydney, Australia
Posts: 513
Likes: 0
Received 0 Likes on 0 Posts
Diskkeeper from Executive Software is much, much faster than the defragger in XP, and configurable.

They had a free Lite version at Version 7, but I think it's been discontinued. You might find it in a search. Well worth trying. When installed it replaces the native XP defragger, and when uninstalled the XP prog returns as default.

AA
Ausatco is offline  
Old 15th Nov 2004, 22:26
  #7 (permalink)  
 
Join Date: Oct 2004
Location: UK
Posts: 24
Likes: 0
Received 0 Likes on 0 Posts
Angel

I personally don't bother defragging anymore, and instead I usually perform a clean install of XP every 6-9 months. This normally makes me feel like I've just 'upgraded' my PC as everything runs a tad faster than before!
miss_heard is offline  
Old 16th Nov 2004, 18:49
  #8 (permalink)  
 
Join Date: Nov 2002
Location: UK, North Riding
Posts: 31
Likes: 0
Received 0 Likes on 0 Posts
Windows XP will actually tell you whether you need to defrag or not. Go into 'Defrag', click on the 'Analyse' button and you will find this advice.
Pindi is offline  
Old 16th Nov 2004, 19:27
  #9 (permalink)  

Plastic PPRuNer
 
Join Date: Sep 2000
Location: Cape Town
Posts: 1,898
Received 0 Likes on 0 Posts
Cool

NTFS fragments nearly as much as FAT but it's not such a big deal.

Being lazy I've set up a cronjob (Scheduled Task to you) that defrags each partition once a month. Curious that people don't use cronjobs more - it's a very good way of automating all sorts of housekeeping chores - but then I s'pose few modern Windows users are familiar with even a primitive scripting language like batch files, let alone perl or python.

Defrag: Command Line Parameters and Explanations
Usage: defrag volume [-a] [-f][-v] [-?]

Parameters

volume
The drive letter or a mount point of the volume to be defragmented
-a
Analyze only
-f
Forces defragmentation of the volume regardless of whether it needs to be defragmented or even if free space is low
-v
Verbose output
-?
Display the help text

Note: The volume must have at least 15 percent free space for Defrag to completely and adequately defragment it. Defrag uses this space as a sorting area for file fragments. If a volume has less than 15 percent free space, Defrag only partially defragments it.

"I find the command "cat /dev/null > foo" a lot more spiritual, it's like Death coming for your soul."
Mac the Knife is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.