2007-08-11, 22:01 | Link #1 |
You could say.....
Join Date: Apr 2007
|
Defrag: A myth?
Not so much a myth but rather having overblown benefits. I've seen a number of published articles recently (I'll check with mods if I scan them, might breach copyright) about defrag being such an awesome way to speed up a system, particularly with the FAT file systems but less effective with NTFS file systems. Basically, the articles say that the testing indicates that the pre and post defrag performance was basically the same in terms of boot up and app run times.
Now I defrag maybe all my drives (NTFS) once month or less. ( I only do it on upon installing apps or adding or deleting files of a significant size). But really I don't see any significant performance increase from defragging. Is it blown out of proportion? |
2007-08-11, 22:58 | Link #2 |
Senior Member
Join Date: Mar 2004
|
I think defragging has always been blown way out. But then I see my family's computer where windows defragmenter is complainning about the file system being 87% fragmented, and programs take over 5 seconds to open, I can see where these articles are comming from.
Basically, if you put it off for a really really long time, the preformance can degrade a lot, and you would see a large boost in preformance. But I don't see it as being the big preformance enhancer people claim it to be otherwise.
__________________
|
2007-08-11, 23:22 | Link #3 |
Part Time Hikikomori
Join Date: May 2007
Location: In the state of a deep trance
Age: 46
|
Defrag is a maintenance tool, not a performance booster. In a car, you won't gain 50 horsepower by changing the oil, but if you don't you'll lose more than horsepower with the damage done.
Also, consider a Bittorent file fragmented by default. It's best to consider moving the file to another drive or defragging on a weekly basis if you're constantly downloading torrents. |
2007-08-11, 23:29 | Link #4 |
Obey the Darkly Cute ...
Author
Join Date: Dec 2005
Location: On the whole, I'd rather be in Kyoto ...
Age: 66
|
aye, I'll frequently dump an entire folder of torrents to another drive as a "cheap defrag" before burning them to disk.
It probably does more good to defrag the system drive (C periodically. If you have one drive that has both the OS and a mess of data files - it won't hurt to do it more often (once a week or so).
__________________
|
2007-08-12, 00:56 | Link #6 |
Yummy, sweet and unyuu!!!
Join Date: Dec 2004
|
NTFS was billed as a FS that did not require defragging, hence NT not coming with a defragging tool. Unfortunately in practice fragmentation is really bad on it and has some bad performance overheads*. It's been a while since I've read up on it so numbers and references escapes me. But the main evidence is the defrag tool makes a return in later versions of the OS.
Now what is a myth and actually is bad is defragging a SD card (and other types of its family). They perform something called wear levelling which gives the media longer life and basically fragment on purpose. Defragging these beauties lower the life expectancy of them. Although on a million writes per cell it will take some hard core file writing to bugger up the media, unless you decided to swap to it *cough cough*. *To do with use of FS and how it is configured (cluster sizes yada yada) *Edit* To actually answer hobbes_fan, I would say that it depends on what you use the disk for. One of fragmentations biggest overheads is seek time, so ofc the drive itself makes a difference, but also what the drive is being used for. Let me use my old gaming pc as an example.... Personally I have a drive which has 2 partitions on it, one for windows only and one for applications. Now if I install something big sometimes it can become slightly fragmented, but this accumulates over time (service packs are a bad one for the windows partition). I normally don't need to fragment these drives, but if they get fragmented it should affect the overall performance of my system and a benchmark test would show it. But the thing is I don't normally notice it unless I do something stupid and my partitions start to fill up. I actually keep my swap file on a fast but small disk, I use that disk as the systems temporary file drive and for me copying stuff to. Now if this does get fragmented and it does I do notice the effect on my system. Finally my data drive is fragmented to buggery and normally I don't notice it as I don't really use any of my data for time dependant stuff, the only time that it did make a difference was when I was running VMware from it.
__________________
Last edited by grey_moon; 2007-08-12 at 01:17. |
2007-08-12, 02:12 | Link #7 | ||||
Senior Member
Join Date: Dec 2004
Location: Portugal
Age: 44
|
Quote:
Quote:
Quote:
Quote:
You should always do defrag if the HDD, better partition, you use is having constant modification. But if it's the DL drive then don't bother. For example if you download from the mIRC(or other irc client) several files at the same time you end up with files fragmented into thousand of pieces. In this case don't waste time defraging. If you wanted to get rid of the framentation you just move everything out to another HDD and then move back. Believe me it takes less time. Anyway in these files you will notice that it takes time to copy it. If a file data is all contiguous you minimize the time is takes to read. If it split up in several fragments the HDD read here and had to jump(waste of time) to another place, read, jump, read, jump... you get the point, don't you? Anyway. It's nice to go to the windows defrag utility and see all blue bars in the HDD image.
__________________
|
||||
2007-08-12, 02:55 | Link #8 |
You could say.....
Join Date: Apr 2007
|
See I use 2 drives on my gaming pc: a 74gig WD Raptor for game installs and o/s and your ordinary run of the mill 160gig seagate barracuda for other apps/files. the raptor is blisteringly fast, it's designed to be. But cleaning my registry has a more tangible effect than defrag particularly in boot sequences.
I guess I keep hearing defrag your system it will be super quick, when in reality it won't help as much as its made out to. It's used too often as a cure all to improve efficiency, but yeah, I probably won't be defragging anymore than once a year it seems to provide marginal if any positive outcomes. Everything so far said in this thread pretty much indicates it isn't what it's made out to be and supports what I've read so far. |
2007-08-12, 02:57 | Link #9 |
Obey the Darkly Cute ...
Author
Join Date: Dec 2005
Location: On the whole, I'd rather be in Kyoto ...
Age: 66
|
Even when a client allocates space for an entire file, it has to depend on the OS for where and in how many pieces. A badly fragmented drive just reeks of entropy if there's a lot of file addition and deletion activity.
One thing I've found amusing is that in win9X, win2K, winXP - whether commercial, or MSDN, or OEM .... I've found that any iniitial install invariably needs a defrag right off the bat. The damned installer OS CD splatters system file chunks all over the disk. My working machine (as opposed to my gaming machine) has several disks. I try to keep "things Windows" on the boot drive and as little else as possible. A second disk holds most of the applications, a third for data (like torrent files), and a fourth just because, um, its just nice to have an extra place for cleaning and emergencies. I also try to make sure each disk keeps about 20% spare. If you're really careful, you can probably get away with defragging a few times a year... as always YMMV. Of course, if you run it as a background automatically scheduled process none of this matters. Welll.... "super quick" is only true if you're Joe Sixpack "whats defrag" --- when I maintenance the occasional neighbor, a defrag usually has a substantial effect (especially after I delete all the crap AOL multiple installations and open up some space on the drive so it can even BE defragged). Cleaning the registry is certainly very good.... I *hate* looking at the registry and seeing what crap gets put in there.... actually I hate the registry concept except for OS purposes. Apps should keep everything in their folder.
__________________
|
2007-08-12, 04:12 | Link #10 |
Yummy, sweet and unyuu!!!
Join Date: Dec 2004
|
@hobbes_fan - Fast disks with big caches will minimise the noticeable effects of fragmentation, but the best way to make sure is to do a benchmark on them.
I've noticed too if I restore a disk from backup that it normally ends up fragmented (just straight data copy not imaging) *shudder*
__________________
|
2007-08-12, 07:20 | Link #14 | |
Mew Member
IT Support
Join Date: Aug 2007
Location: Ontario, Canada
Age: 39
|
Quote:
-- I will also address the reasons for defragmenting and why fragmenting occurs. As Grey_Moon mentioned, as you add/remove large files, your drive will quickly become fragemented. Fragmentation occurs with the consistent add/remove of information accross a hard disks platter(s). As the read/write heads write across the megnetic platter, information, over time, becomes scattered across the platter. So, if you are removing or adding files (large ones), your disk's performance will drop exponentially. In fact, as most of you know, when you delete information off of a FAT or NTFS disk, the information remains there until written over or your hard disk is defragmented. This leads into performance issues compared between FAT and NTFS. FAT (File Allocation Table) had its place in time. FAT was meant to be used with DOS compatible systems in order to utilize hard disks up until roughly 32 GB with the implementation of FAT32. With the creation of NT based Microsoft Operating Systems, the use of NTFS came into play. Of course, with NT 4.0, it was not unitl SP 6a where NT 4.0 could even address NTFS. At any rate, FAT does not address fragmentation very well. As you write to a FAT disk, over time it does not write very sequentially. Instead, however, the information on a FAT disk becomes scattered across the platter. This causes you to defrag often with the older Operating Systems and, usually, it took a lot longer to defrag. With NTFS, it usually writes information sequentially often decreasing the amount of time it takes to defrag a volume. Here is a great WikiPedia article involving "Defragmentation" and why fragmentation occurs across a hard disk - http://en.wikipedia.org/wiki/Defragmentation . Here is a quick overview of the performance/options you get with NTFS and FAT - http://www.ntfs.com/ntfs_vs_fat.htm . |
|
2007-08-12, 10:08 | Link #15 | ||
Love Yourself
Join Date: Mar 2003
Location: Northeast USA
Age: 38
|
Quote:
Quote:
On the subject of defragging, the new solid state hard drives will not need to be defragged - supposedly they experience no performance loss during fragmentation. It makes sense, since there's no physical seeking going on.
__________________
|
||
2007-08-12, 10:31 | Link #16 |
You could say.....
Join Date: Apr 2007
|
fair enough, I did make a massive jump from a low end celeron to x2's. (i reused the 250 gig from the celeron system in the new system), and personal observations were something like 4hrs (celly) to 1.5(x2 3800) for a 150 - 200 gig defrag.
Hybrid drives seem to be the next logical step, and right now they seem ok value in comparison to pure SS drives. magnetic is around .30c-50c/ gig, while the only samsung SS HDD I've seen is hovering around $7.00-$10.00/gig. But as an added bonus they're silent and have minimal wattage requirements. But in time they'll be a better buy. |
2007-08-12, 11:41 | Link #17 | |||||
Asuki-tan Kairin ↓
Join Date: Feb 2004
Location: Fürth (GER)
Age: 43
|
Quote:
Quote:
Quote:
Quote:
Quote:
What is most important to have defragmented is the MFT (Master File Table) because each file access will also trigger at least one access to the MFT.
__________________
|
|||||
2007-08-12, 12:34 | Link #18 | ||
Mew Member
IT Support
Join Date: Aug 2007
Location: Ontario, Canada
Age: 39
|
Quote:
Solid-state drives, as mentioned, are being moved towards as an alternative. The speed, reduced power levels, and so fourth are major advantages of the SS drive. I have seen some pretty big SS drives in development. This will go well with the fiberoptic motherboard that is in production. Since fiber is is not effected by EMI and crosstalk, we can see some major improvements over speed/bus issues very soon. Quote:
Journalizing filesystems are great to work with. You do lose performance because of the journalizing, but fault tolerance is much better in case of a loss. Free space is a concern with a Journalizing FS. I believe WinFS is supposed to be used in Windows Vienna (2009). |
||
2007-08-12, 12:36 | Link #19 | |
Yummy, sweet and unyuu!!!
Join Date: Dec 2004
|
Quote:
http://www.microsoft.com/technet/sys...agmenting.mspx Bit of history hee hee, I still remember when we first automatically rolled it out on over 50 machines using drive image and a sidchanger script. We were so proud of ourselves
__________________
|
|
2007-08-12, 12:49 | Link #20 | |
Senior Member
Join Date: Mar 2004
|
Quote:
__________________
|
|
Thread Tools | |
|
|