|
|
 |
01-05-2013, 10:31 AM
|
#1
|
|
Diamond Member
Join Date: Aug 2002
Location: Montréal, Québec
Posts: 5,269
|
SSDs and defrag, if not unnecessary, harmful?
Howdy y'all,
Just curious about this as I realized defrag was enabled by default in Win8 which surprised me. It said my SSD hasn't been "optimized" in 15 days. All my other drives (non-SSD) were presumably optimized recently. All drives showed 0% fragmentation.
I just disabled it. If I ever have any concern about fragmentation, I can always open the tool and check it out.
Could this have caused any damage to SSD? I haven't noticed any symptoms, and I don't think I have anything to worry about, but maybe some more well-informed people can confirm or enlighten.
Thanks
__________________
1100T, Biostar TA870U3+, 16GB DDR3, 240GB Mushkin Chronos Deluxe, 2x1TB Black, 2x3TB Green, 3GB XFX 7970, Antec 650W, CM690, Dell U2713HM & Samsung 2343BWX
|
|
|
01-05-2013, 11:04 AM
|
#2
|
|
Senior Member
Join Date: Apr 2012
Posts: 405
|
Windows 8 do not defragment SSDs, optimization is just sending TRIM command to free spaces.
Windows 8 is smart enough to optimize SSDs and HDDs differently
|
|
|
01-05-2013, 11:51 AM
|
#3
|
|
Moderator Peripherals
Join Date: Mar 2000
Location: Tucson, Arizona
Posts: 22,463
|
The accepted optimization of SSDs focuses on white space consolidation only.
__________________
Corky-G - Tucson, AZ
"In my many years I have come to a conclusion that one useless man is a shame, two is a law firm and three or more is a congress." John Adams
|
|
|
01-05-2013, 06:23 PM
|
#4
|
|
Diamond Member
Join Date: Jan 2001
Location: ATL
Posts: 9,424
|
its far more likely to recover a file with 1 segment than 6000
__________________
-------------------------
NAS: Dell 530 Q6600 8gb 4tb headless VHP
KID PC1: Mac Pro Dual nehalem - 6gb - GF120 - HP ZR30W
Browser: Dell 530 Q6600 4GB - Kingston 96gb -gt240- hp LP3065 IPS - 7ult
Tabs: IPAD 1,2,3 IPOD3,HTC flyer, Galaxy Tab - all rooted/jb
Couch1: Macbook Air/Macbook White
Couch2: Macbook Pro 17 2.66 Matte screen - 8GB - SSD
HTPC: Asus C2Q8300/X25-V - Geforce 430- 7ult - Antec MicroFusion 350
|
|
|
01-06-2013, 10:59 AM
|
#5
|
|
Elite Member
Join Date: Sep 2001
Posts: 30,636
|
Quote:
Originally Posted by Emulex
its far more likely to recover a file with 1 segment than 6000
|
Which shouldn't even be a consideration because you should have some kind of backups, even if it's something cheesy like previous versions on Windows.
|
|
|
01-06-2013, 07:46 PM
|
#6
|
|
Member
Join Date: Jan 2010
Posts: 32
|
Is it even possible to defrag an SSD?
I'm not so sure that it is.
On a HDD Windows reads the FAT to determine which parts of a file are where. On a HDD the FAT is a table that identifies where files are. But on an SSD the SSD firmware relocates blocks of data based on where is thinks is best. Moreover, it (the SSD firmware) even relocates blocks of data when it sees this will help conserve space on the SSD.
Windows is unaware of anything the SSD firmware does; all Windows sees is the data presented to it by the firmware. So how can Windows have any idea where data is actually located on the SSD?
My sense is that all defragging an SSD does is move data around on the SSD; the actual physical location is determined not by Windows, bu by the SSD firmware.
|
|
|
01-06-2013, 08:06 PM
|
#7
|
|
Platinum Member
Join Date: Nov 2011
Posts: 2,843
|
Quote:
Originally Posted by bbinnard
I'm not so sure that it is.
On a HDD Windows reads the FAT to determine which parts of a file are where. On a HDD the FAT is a table that identifies where files are. But on an SSD the SSD firmware relocates blocks of data based on where is thinks is best. Moreover, it (the SSD firmware) even relocates blocks of data when it sees this will help conserve space on the SSD.
Windows is unaware of anything the SSD firmware does; all Windows sees is the data presented to it by the firmware. So how can Windows have any idea where data is actually located on the SSD?
My sense is that all defragging an SSD does is move data around on the SSD; the actual physical location is determined not by Windows, bu by the SSD firmware.
|
The reason it is harmful is because of (at the very least) the unnecessary amount of writes.
__________________
2500K @ 4.5|ASrock Z77 Extreme11|4x4gb DDR3 2133|4xHD6970|1440P 120hz - Buzzard
X6 1055T|ASUS M4A89GTD-EVO USB3|2x4gb Gskill 1600|HD4870X2 + HD48701gb - Virgo
|
|
|
01-06-2013, 08:16 PM
|
#8
|
|
Elite Member
Join Date: Sep 2001
Posts: 30,636
|
Quote:
Originally Posted by bbinnard
I'm not so sure that it is.
On a HDD Windows reads the FAT to determine which parts of a file are where. On a HDD the FAT is a table that identifies where files are. But on an SSD the SSD firmware relocates blocks of data based on where is thinks is best. Moreover, it (the SSD firmware) even relocates blocks of data when it sees this will help conserve space on the SSD.
Windows is unaware of anything the SSD firmware does; all Windows sees is the data presented to it by the firmware. So how can Windows have any idea where data is actually located on the SSD?
My sense is that all defragging an SSD does is move data around on the SSD; the actual physical location is determined not by Windows, bu by the SSD firmware.
|
That's irrelevant because the same can be true of any type of storage. There's no guarantee that the firmware on a spinning drive isn't lying about the location of data either, in fact that's exactly what it does when it relocates a bad sector to it's spare pool.
|
|
|
01-06-2013, 08:20 PM
|
#9
|
|
Diamond Member
Join Date: Dec 2009
Posts: 4,188
|
According to MS, W8 doesn't actually defrag SSD's, it just does some kind of Trim thing on them. Key word noted on it says "optimize HD's"
Wish i could find the link to that.
|
|
|
01-06-2013, 08:54 PM
|
#10
|
|
Lifer
Join Date: Mar 2004
Posts: 13,331
|
Quote:
Originally Posted by bbinnard
Windows is unaware of anything the SSD firmware does; all Windows sees is the data presented to it by the firmware. So how can Windows have any idea where data is actually located on the SSD?
My sense is that all defragging an SSD does is move data around on the SSD; the actual physical location is determined not by Windows, bu by the SSD firmware.
|
That is correct, defragging an SSD simply randomly shuffles data around.
The SSD controller actually defrags the free space internally as a side effect of the process of clearing cells to prepare them for a write (which is the main purpose of trim; as it avoids read-modify-write cycles) and it does so based on knowledge of what sectors contain data and which contain junk. Something it generally only finds out via receiving trim command for junk sectors.
As others have said, windows 8 defragmenting tool will send trim to the SSD instead of defragging it.
__________________
I do not have a superman complex; for I am God, not superman!
The internet is a source of infinite information; the vast majority of which happens to be wrong.
How to protect your data guide
AA Naming Guide
main: Win7x64, i5-3570K, 16GB DDR3-1600, XFX HD6950, Gigabyte GA-Z77MX-D3H. 240GB Intel 520 SSD
fileserver: Solaris 11, Athlon2 X4 @ 3ghz, 4GB DDR2, 160GB samsung OS drive, 5x750GB WD CaviarGP drives in raidz2 (ZFS raid6).
|
|
|
01-06-2013, 10:44 PM
|
#11
|
|
Diamond Member
Join Date: Aug 2002
Location: Montréal, Québec
Posts: 5,269
|
Awesome replies from everyone, thank you! Very interesting, and so I clearly have nothing to worry about heh.
__________________
1100T, Biostar TA870U3+, 16GB DDR3, 240GB Mushkin Chronos Deluxe, 2x1TB Black, 2x3TB Green, 3GB XFX 7970, Antec 650W, CM690, Dell U2713HM & Samsung 2343BWX
|
|
|
01-07-2013, 04:37 AM
|
#12
|
|
Platinum Member
Join Date: Mar 2005
Posts: 2,035
|
I had to disable defrag on norton and perfect disk 10 on my ssd to prevent them from doing it to my drive. Most ssd's have garbage collection routines to reduce clutter.
__________________
Loop 1: EVGA x58 E760 i7 930, HK 3.0 cpu block, EK chipset block & dual bay res, swiftech mcp655 pump, feser x360 rad, scythe fan controller & 3k fans, bp & feser fittings, distilled water w/primochill liquid utopia, samsung 840 pro 256gb
Loop 2: Bp 150 res, feser x480 rad, scythe fan controller & 3k fans, mcp655 pump with bp top, evga gtx 480's w/ek nickel plated blocks, bp & feser fittings, distilled water w/primochill liquid utopia
|
|
|
01-07-2013, 05:30 AM
|
#13
|
|
Senior Member
Join Date: Jul 2012
Location: Germany
Posts: 201
|
Quote:
Originally Posted by hhhd1
Windows 8 do not defragment SSDs, optimization is just sending TRIM command to free spaces.
Windows 8 is smart enough to optimize SSDs and HDDs differently
|
This is only valid, if Win8 has detected the SSD as SSD.
If the Optimizer should have listed the SSD as HDD, you should not run the Optimizer!
Sometimes it helps to run the Windows Experience Index before going to run the Optimizer.
|
|
|
01-07-2013, 06:08 AM
|
#14
|
|
Elite Member
Join Date: Sep 2001
Posts: 30,636
|
Quote:
Originally Posted by Puffnstuff
I had to disable defrag on norton and perfect disk 10 on my ssd to prevent them from doing it to my drive. Most ssd's have garbage collection routines to reduce clutter.
|
That's because you wasted your time with 3rd party defrag tools. Garbage collection isn't about reducing clutter, it's about wear leveling and making sure the memory lasts as long as possible.
|
|
|
01-07-2013, 06:55 AM
|
#15
|
|
Senior Member
Join Date: May 2012
Posts: 841
|
Quote:
Originally Posted by Nothinman
That's because you wasted your time with 3rd party defrag tools. Garbage collection isn't about reducing clutter, it's about wear leveling and making sure the memory lasts as long as possible.
|
Well said...
When you have equal access time across the entire drive, defragging is kind of pointless...
|
|
|
01-07-2013, 10:25 AM
|
#16
|
|
Lifer
Join Date: Mar 2004
Posts: 13,331
|
Quote:
Originally Posted by Nothinman
That's because you wasted your time with 3rd party defrag tools. Garbage collection isn't about reducing clutter, it's about wear leveling and making sure the memory lasts as long as possible.
|
that and also about having enough pre-deleted sectors to prevent a read-modify-write cycle.
The fact it also consolidates free space to a point (a common option in defrag tools) is a side effect not the actual goal; caused by the fact that a large amount of contiguous cells have to be erased at the same time.
__________________
I do not have a superman complex; for I am God, not superman!
The internet is a source of infinite information; the vast majority of which happens to be wrong.
How to protect your data guide
AA Naming Guide
main: Win7x64, i5-3570K, 16GB DDR3-1600, XFX HD6950, Gigabyte GA-Z77MX-D3H. 240GB Intel 520 SSD
fileserver: Solaris 11, Athlon2 X4 @ 3ghz, 4GB DDR2, 160GB samsung OS drive, 5x750GB WD CaviarGP drives in raidz2 (ZFS raid6).
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:11 AM.
|