• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Would defragging an SSD make a difference?

hat

Enthusiast
Joined
Nov 20, 2006
Messages
21,731 (3.42/day)
Location
Ohio
System Name Starlifter :: Dragonfly
Processor i7 2600k 4.4GHz :: i5 10400
Motherboard ASUS P8P67 Pro :: ASUS Prime H570-Plus
Cooling Cryorig M9 :: Stock
Memory 4x4GB DDR3 2133 :: 2x8GB DDR4 2400
Video Card(s) PNY GTX1070 :: Integrated UHD 630
Storage Crucial MX500 1TB, 2x1TB Seagate RAID 0 :: Mushkin Enhanced 60GB SSD, 3x4TB Seagate HDD RAID5
Display(s) Onn 165hz 1080p :: Acer 1080p
Case Antec SOHO 1030B :: Old White Full Tower
Audio Device(s) Creative X-Fi Titanium Fatal1ty Pro - Bose Companion 2 Series III :: None
Power Supply FSP Hydro GE 550w :: EVGA Supernova 550
Software Windows 10 Pro - Plex Server on Dragonfly
Benchmark Scores >9000
As we all (or at least most of us) know, defragmenting came about because stuff tends to get scattered all over the place on a hard drive; for example, if you were loading a Crysis map and the files for that map were scattered all over the drive, it would take much longer to load than if it were all in one place because the drive would have to look for the files, which greatly slowed things down with mechanical hard drives because the read/write heads only move so fast. However, a SSD hard drive is basically a chunk of flash memory with no moving parts, so it isn't hindered by the things that crippled the speed of mechanical hard drives... so I was wondering if defragmenting a SSD hard drive would make a difference since it doesn't have any moving parts??
 
Joined
Sep 25, 2006
Messages
2,312 (0.36/day)
Location
Norn Iron
Processor Q9550 @3.8
Motherboard Asus Maximus Extreme
Cooling Custom water cooling
Memory 4GB Patriot Viper DDR3 1600MHz
Video Card(s) 2x HD4870 512MB
Storage 2x 500GB
Display(s) 3x LG L226WTQ 22" Widescreen LCD
Case Modded TJ07
Audio Device(s) On board
Power Supply PC P&C Silencer 750
Software Windows 7 Ultimate
Defraging SSD's is bad for them..you dont need to defrag it.
 
Joined
Nov 10, 2008
Messages
1,984 (0.35/day)
Processor Intel Core i9 9900k @ 5.1GHZ all core load (8c 16t)
Motherboard MSI MEG Z390 ACE
Cooling Corsair H100i v2 240mm
Memory 32GB Corsair 3200mhz C16 (2x16GB)
Video Card(s) Powercolor RX 6900 XT Red Devil Ultimate (XTXH) @ 2.6ghz core, 2.1ghz mem
Storage 256GB WD Black NVME drive, 4TB across various SSDs/NVMEs, 4TB HDD
Display(s) Asus 32" PG32QUX (4k 144hz mini-LED backlit IPS with freesync & gsync & 1400 nit HDR)
Case Corsair 760T
Power Supply Corsair HX850i
Mouse Logitech G502 Lightspeed on powerplay mousemat
Keyboard Logitech G910
VR HMD Wireless Vive Pro & Valve knuckles
Software Windows 10 Pro
Never defragment an SSD. They way they work is by splitting data up all over the place, so when it is needed they can get as many bits of data from as many memory chips as possible - this makes the operation more parallel which is where ssds get tehir speed from. Defragmenting won't actually defragment the data on an SSD anyway, it will just move it around which takes read/write cycles out of the ssd unnecissarily shortening the SSDs life whilst gaining nothing.

Also the computer doesn't know where the data really is on an SSD anyway - the SSD's on-board controller is the only thing that does, and it tries to split the data up to get fast, parallel operations when retreiving the data back.
 

hat

Enthusiast
Joined
Nov 20, 2006
Messages
21,731 (3.42/day)
Location
Ohio
System Name Starlifter :: Dragonfly
Processor i7 2600k 4.4GHz :: i5 10400
Motherboard ASUS P8P67 Pro :: ASUS Prime H570-Plus
Cooling Cryorig M9 :: Stock
Memory 4x4GB DDR3 2133 :: 2x8GB DDR4 2400
Video Card(s) PNY GTX1070 :: Integrated UHD 630
Storage Crucial MX500 1TB, 2x1TB Seagate RAID 0 :: Mushkin Enhanced 60GB SSD, 3x4TB Seagate HDD RAID5
Display(s) Onn 165hz 1080p :: Acer 1080p
Case Antec SOHO 1030B :: Old White Full Tower
Audio Device(s) Creative X-Fi Titanium Fatal1ty Pro - Bose Companion 2 Series III :: None
Power Supply FSP Hydro GE 550w :: EVGA Supernova 550
Software Windows 10 Pro - Plex Server on Dragonfly
Benchmark Scores >9000
That went right on my train of thought.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.
 
Joined
Nov 10, 2008
Messages
1,984 (0.35/day)
Processor Intel Core i9 9900k @ 5.1GHZ all core load (8c 16t)
Motherboard MSI MEG Z390 ACE
Cooling Corsair H100i v2 240mm
Memory 32GB Corsair 3200mhz C16 (2x16GB)
Video Card(s) Powercolor RX 6900 XT Red Devil Ultimate (XTXH) @ 2.6ghz core, 2.1ghz mem
Storage 256GB WD Black NVME drive, 4TB across various SSDs/NVMEs, 4TB HDD
Display(s) Asus 32" PG32QUX (4k 144hz mini-LED backlit IPS with freesync & gsync & 1400 nit HDR)
Case Corsair 760T
Power Supply Corsair HX850i
Mouse Logitech G502 Lightspeed on powerplay mousemat
Keyboard Logitech G910
VR HMD Wireless Vive Pro & Valve knuckles
Software Windows 10 Pro
Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.

Source on this info please - this seems entirely wrong from all the articles about SSDs that i've read (especially since there is no time cost for getting data from different parts of an SSD, where hard disks lose time getting data which is why fragmentation on HDDs is bad but is good on SSDs).
 
Joined
Sep 25, 2006
Messages
2,312 (0.36/day)
Location
Norn Iron
Processor Q9550 @3.8
Motherboard Asus Maximus Extreme
Cooling Custom water cooling
Memory 4GB Patriot Viper DDR3 1600MHz
Video Card(s) 2x HD4870 512MB
Storage 2x 500GB
Display(s) 3x LG L226WTQ 22" Widescreen LCD
Case Modded TJ07
Audio Device(s) On board
Power Supply PC P&C Silencer 750
Software Windows 7 Ultimate
Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.

Well this is a quote from OCZ forum on their SSD's

Drive Defragmentation:
DO NOT DEFRAGMENT your SSD, it is not necessary. Wear leveling technology purposely "fragments" the data to ensure the consistent life of the drive.
VISTA has an Auto defrag feature that is enabled by default (defragging is on a schedule) this should be disabled after your drive is installed.

And a quote from another source on SSD's, which can explain SSD performance loss, which is actually due to defraging.

The SSD is silently moving data to other flash cells without Windows or anything else ever knowing. Now here comes the trick: it has to remember where all these 'mappings' correspond to. For every I/O this 'list' needs to be referenced, to see where the data really is being stored. But with defragmenting this list can grow enormously, and this starts to hamper performance.
 

Stearic

New Member
Joined
Sep 20, 2007
Messages
104 (0.02/day)
A conventional defrag will not help the random read and sequential read/write performance of an SSD much. However, free space fragmentation can reduce the random write performance of SSDs* So free space consolidation can help to minimize the chance of random writes at both the logical disk level as well as the SSD's physical cell/block level.

It's important to remember that the 'internal fragmentation' i.e. wear levelling of an SSD is a function of the drive's firmware and has nothing to do with the filesystem fragmentation which occurs at the logical disk level. The SSD's hardware is abstracted from the filesystem i.e. the file system does not know whether the drive is a SSD or a HDD**.


*Which is their weak spot anyway because of the mismatch between the logical cluster size and 'physical block' size (4 kB vs 512kB) requiring frequent erase-rewrites for entire physical blocks.

**Maybe different for Win 7 since it is said to have the ability to detect/recognize SSDs and disable defrag accordingly.
 
Joined
Oct 8, 2009
Messages
2,047 (0.39/day)
Location
Republic of Texas
Processor R9 5950x
Motherboard Asus x570 Crosshair VIII Formula
Cooling EK 360mm AIO D-RGB
Memory G.Skill Trident Z Neo 2x16gb (CL16@3800MHz)
Video Card(s) PNY GeForce RTX 3090 24GB
Storage Samsung 970 EVO Plus 1TB NVMe | Intel 660p 2TB NVMe
Display(s) Acer Predator XB323QK 4K 144Hz
Case Corsair 5000D Airflow
Audio Device(s) Objective2 Amp/DAC | GoXLR | AKG K612PRO | Beyerdynamic DT880| Rode Pod Mic
Power Supply Corsair AX 850w
Mouse Razer DeathAdder Elite V2
Keyboard Corsair K95 Platinum RGB "Cherry MX Brown"
VR HMD Oculus Rift
Software Window 11 Pro
Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.


what the heck r u talking about? do u even own SSD? wers ur source of info?
 
Joined
Sep 25, 2006
Messages
2,312 (0.36/day)
Location
Norn Iron
Processor Q9550 @3.8
Motherboard Asus Maximus Extreme
Cooling Custom water cooling
Memory 4GB Patriot Viper DDR3 1600MHz
Video Card(s) 2x HD4870 512MB
Storage 2x 500GB
Display(s) 3x LG L226WTQ 22" Widescreen LCD
Case Modded TJ07
Audio Device(s) On board
Power Supply PC P&C Silencer 750
Software Windows 7 Ultimate
A conventional defrag will not help the random read and sequential read/write performance of an SSD much. However, free space fragmentation can reduce the random write performance of SSDs* So free space consolidation can help to minimize the chance of random writes at both the logical disk level as well as the SSD's physical cell/block level.

It's important to remember that the 'internal fragmentation' i.e. wear levelling of an SSD is a function of the drive's firmware and has nothing to do with the filesystem fragmentation which occurs at the logical disk level. The SSD's hardware is abstracted from the filesystem i.e. the file system does not know whether the drive is a SSD or a HDD**.


*Which is their weak spot anyway because of the mismatch between the logical cluster size and 'physical block' size (4 kB vs 512kB) requiring frequent erase-rewrites for entire physical blocks.

**Maybe different for Win 7 since it is said to have the ability to detect/recognize SSDs and disable defrag accordingly.

Also, IIRC, with Win 7 using the TRIM function, free-space reclamation is done automatically when you delete a file.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
What the hell i'm talking? Then why the hell read/write performance drops over time when files get fragmented (by fragmented i mean fragmented files and fragmented free space with non cleared cells)? It's not something i made up, it's something i've read in many SSD reviews...
 

TheMailMan78

Big Member
Joined
Jun 3, 2007
Messages
22,599 (3.67/day)
Location
'Merica. The Great SOUTH!
System Name TheMailbox 5.0 / The Mailbox 4.5
Processor RYZEN 1700X / Intel i7 2600k @ 4.2GHz
Motherboard Fatal1ty X370 Gaming K4 / Gigabyte Z77X-UP5 TH Intel LGA 1155
Cooling MasterLiquid PRO 280 / Scythe Katana 4
Memory ADATA RGB 16GB DDR4 2666 16-16-16-39 / G.SKILL Sniper Series 16GB DDR3 1866: 9-9-9-24
Video Card(s) MSI 1080 "Duke" with 8Gb of RAM. Boost Clock 1847 MHz / ASUS 780ti
Storage 256Gb M4 SSD / 128Gb Agelity 4 SSD , 500Gb WD (7200)
Display(s) LG 29" Class 21:9 UltraWide® IPS LED Monitor 2560 x 1080 / Dell 27"
Case Cooler Master MASTERBOX 5t / Cooler Master 922 HAF
Audio Device(s) Realtek ALC1220 Audio Codec / SupremeFX X-Fi with Bose Companion 2 speakers.
Power Supply Seasonic FOCUS Plus Series SSR-750PX 750W Platinum / SeaSonic X Series X650 Gold
Mouse SteelSeries Sensei (RAW) / Logitech G5
Keyboard Razer BlackWidow / Logitech (Unknown)
Software Windows 10 Pro (64-bit)
Benchmark Scores Benching is for bitches.

Cold Storm

Battosai
Joined
Oct 7, 2007
Messages
15,010 (2.49/day)
Location
In a library somewhere on this earth
System Name Haro
Processor AMD 1700x
Motherboard AsRork x370 Taichi
Cooling EK Custom Loop - CPU only
Memory 32gb G-Skill Trident Z
Video Card(s) EVGA 1080 Superclock 2
Storage Too Many
Display(s) Viewsonic VX2450WM-LED 24" & LG 32 IPS
Case Cooler Master Cosmos II
Power Supply Cooler Master V1000
Mouse SteelSeries Rival 500
Software Win10 Pro
Benchmark Scores i5 750 4.62ghz pi runs // Evga FTW p55
Man, I gotta say, I love my new ssd that I got from Bogmail (Intel X25-M "80")... Best part.. came in installation instructions.. You know the other best part... If you read it... Page by page... It states the following at the end.


Post Installation Considerations


SSD's do not need to be defragmented like Hdds. Turn off any disc defragmenter to prevent unnecessary wear to the SSD from Microsoft* Windows Vista*, use the following instructions to turn off the disk defragmenter:
1. From the start Menu, clock on All Program > Accessories > System Tools > Disck defragmenter

2. Uncheck the "Run on a schedule" option and click OK


For more information about Intel SSDs including tool downloads and drive optimization suggestions, go to http://www.intel.com/support or to http://www.intel.com/go/ssd



Sorry for the first part.. I just had a little hair up my butt when I started this post..


Now, from what I have heard via SSDs is that it's not good to defrag at all.. I personally never read a review on the issue, and from the people I know who write them... They say they heard the same.. Not a good thing to do so..
 
Joined
Jul 19, 2006
Messages
43,587 (6.72/day)
Processor AMD Ryzen 7 7800X3D
Motherboard ASUS TUF x670e
Cooling EK AIO 360. Phantek T30 fans.
Memory 32GB G.Skill 6000Mhz
Video Card(s) Asus RTX 4090
Storage WD m.2
Display(s) LG C2 Evo OLED 42"
Case Lian Li PC 011 Dynamic Evo
Audio Device(s) Topping E70 DAC, SMSL SP200 Headphone Amp.
Power Supply FSP Hydro Ti PRO 1000W
Mouse Razer Basilisk V3 Pro
Keyboard Tester84
Software Windows 11
What the hell i'm talking? Then why the hell read/write performance drops over time when files get fragmented (by fragmented i mean fragmented files and fragmented free space with non cleared cells)? It's not something i made up, it's something i've read in many SSD reviews...

You still should never defrag an SSD. Personally I've never seen a SSD review that suggests it. :ohwell:
 
Joined
Mar 9, 2009
Messages
471 (0.09/day)
System Name AMD Black Dragon
Processor AMD Phenom II X4 940 Black Edition
Motherboard Gigabyte MA790X-UD4P
Cooling Cooler Master Hyper 212+
Memory 4GB OCZ PC2-6400 Platinum (2x2GB)
Video Card(s) ATi Radeon HD4870 512MB GDDR5 w AC Twin Turbo
Storage Crucial C300 64GB SSD, 500GB and 2TB Drives
Display(s) Samsung 2494hm, Dell (Samsung?) 1907FP
Case Lancool (Lian-Li on a budget) K7
Audio Device(s) Onboard Realtek ALC889A, M-Audio Fast Tracks
Power Supply OCZ Mod-X-Stream Pro 600W
Software Windows 7 Home Premium x64, XP Pro
He's right in a way. SSD's should write info spread across different cells from one write to the next to allow the cells to last longer. The problem with SSD's is the way they have to write blocks. They can't write a bit here or there. If a small update is made to a small file it has to copy an entire sector to another area on the drive, delete a block and rewrite an entire block, delete the copy. So if the block size is 64K then everytime a file is changed only by 1K it can read 1K but has to rewrite 64K. The data in a way does get fragmented and the performance of SSD's does in fact get lower with time. But a traditional defrag is not the answer. You need the TRIM command with an OS and firmware on the SSD that supports it. This restores the speed of an SSD or at least prevents it from slowing down.

I do not own an SSD, nor have I ever used one. So this is only my basic understanding of them.

For more info look up the "TRIM command" and make sure your SSD and firmware updates support it.
 

Cold Storm

Battosai
Joined
Oct 7, 2007
Messages
15,010 (2.49/day)
Location
In a library somewhere on this earth
System Name Haro
Processor AMD 1700x
Motherboard AsRork x370 Taichi
Cooling EK Custom Loop - CPU only
Memory 32gb G-Skill Trident Z
Video Card(s) EVGA 1080 Superclock 2
Storage Too Many
Display(s) Viewsonic VX2450WM-LED 24" & LG 32 IPS
Case Cooler Master Cosmos II
Power Supply Cooler Master V1000
Mouse SteelSeries Rival 500
Software Win10 Pro
Benchmark Scores i5 750 4.62ghz pi runs // Evga FTW p55
Also to add to this debate of things...Just installed win 7 on the ssd.. Intel X25-M... I had no problem what so ever installing it, and win 7 automatically turned off all defraging agents on ALL drives.. Where as when it was installed via my WD Black 500gb, t was automatically defraging on their generic time.. Wed 1am.. on both the main and storage drive.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
There is no need to own an SSD to know NAND flash technology. We all have USB drives and memory cards that work on the exact same tech. Just with smaller capacities and lower speeds.
But it acts just the same.
 
Joined
Nov 10, 2008
Messages
1,984 (0.35/day)
Processor Intel Core i9 9900k @ 5.1GHZ all core load (8c 16t)
Motherboard MSI MEG Z390 ACE
Cooling Corsair H100i v2 240mm
Memory 32GB Corsair 3200mhz C16 (2x16GB)
Video Card(s) Powercolor RX 6900 XT Red Devil Ultimate (XTXH) @ 2.6ghz core, 2.1ghz mem
Storage 256GB WD Black NVME drive, 4TB across various SSDs/NVMEs, 4TB HDD
Display(s) Asus 32" PG32QUX (4k 144hz mini-LED backlit IPS with freesync & gsync & 1400 nit HDR)
Case Corsair 760T
Power Supply Corsair HX850i
Mouse Logitech G502 Lightspeed on powerplay mousemat
Keyboard Logitech G910
VR HMD Wireless Vive Pro & Valve knuckles
Software Windows 10 Pro
There is no need to own an SSD to know NAND flash technology. We all have USB drives and memory cards that work on the exact same tech. Just with smaller capacities and lower speeds.
But it acts just the same.

You're confusing file fragmentation (which is fine on an SSD) with the loss in performance due to old data not being deleted in cells resulting in slower writes as the write cycle has to deal with the old data first (which is not called fragmentation).

To get the old data deleted from the cells you don't defragment (which is to do with file fragmentation increasing the amount of time it takes to retreive a file's data) but you do use a setup which utilises a TRIM style setup where the old data is overwritten with blank space in the memory cells, removing the loss in write performance (and helps reduce the small loss in read performance as well). That's where you get the loss in performance in an SSD (if TRIM is not used), not due to fragmentation.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
Then i made all up and the tests ive seen were all fake. Yeah, that was it... Unless they were automatically trimming empty cells...
 
Joined
Nov 2, 2008
Messages
887 (0.16/day)
Processor Intel Core i3-8100
Motherboard ASRock H370 Pro4
Cooling Cryorig M9i
Memory 16GB G.Skill Aegis DDR4-2400
Video Card(s) Gigabyte GeForce GTX 1060 WindForce OC 3GB
Storage Crucial MX500 512GB SSD
Display(s) Dell S2316M LCD
Case Fractal Design Define R4 Black Pearl
Audio Device(s) Realtek ALC892
Power Supply Corsair CX600M
Mouse Logitech M500
Keyboard Lenovo KB1021 USB
Software Windows 10 Professional x64
What the hell i'm talking? Then why the hell read/write performance drops over time when files get fragmented (by fragmented i mean fragmented files and fragmented free space with non cleared cells)? It's not something i made up, it's something i've read in many SSD reviews...

Then post some links so we can see it for ourselves instead of saying "just take my word for it".
 

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
46,362 (7.68/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
Are sequential and random read speeds on SSDs exactly the same? If not, defragging will make a difference.
 
Joined
Jan 12, 2007
Messages
2,276 (0.36/day)
Location
Cairns QLD, Aussie
System Name GaMEr / HTPC
Processor FX8320 4.5ghz so far NB- 2815mhz / X2 255 @ 3.2ghz (Temp till BD)
Motherboard 990FX-UD5 / GA-MA785GPMT-US2H
Cooling XSPC - 240rad 480rad 5 x 120mm out, 6 x 80mm in / H220-edge 1/2" & 2 x 120mm Magma
Memory 4gb PI 6,8,6,18 1T 1706mhz / 4gb Crucial D9's 1400 @ 6,6,6,18,1T
Video Card(s) 3gb HD7950 / Onboard
Storage 2 x 120gb Sandisk ultra plus 2tb WD / 60gb vertex 2 + 2 x 2tb WD Greens
Display(s) 3x24in Dell Ultra (portrait) / NEC 32" FullHD LCD
Case LL PC71A Full tower / Antec fusion black with Imon remote Modded for WC
Audio Device(s) OB / Auzentech cinema 7.1
Power Supply TT 700w TR2 / TT 600w Litepower modded with Noctua S12 fan.
Software 7 Ult / 7 premium x64
This is a simple case of confusion between trimming the drive and defragging it.

Conventional defragging is useless on SSD's.

Trim is helpful and will keep the performance of the drive tip top..
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
Defragging involves a lot of read/write operations. It significantly reduces the life of the SSD.
 
Joined
May 15, 2008
Messages
2,863 (0.49/day)
Location
Brasil
System Name Sovereign // HTPC
Processor i7 3770k 4.2 // i7 3770k 4.2
Motherboard Maximus V Gene // Sabertooth Z77
Cooling Noctua D14 // Intel HSF
Memory 16GB Samsung // 16GB VengeanceLP
Video Card(s) Deciding // 660 DC2
Storage OS (X25-M), Data (Seagate 1TB) // Samsung 840 120GB & bunch of drives
Display(s) Samsung T240HD // LG TV
Case TJ08e // Grandia GD08
Audio Device(s) DT880 Pro 250 ohm // TV speakers
Power Supply Seasonic Plat 1000 // Seasonic Gold 760
Software Windows 8 Pro x64 // Windows 7 Pro x64
I am absolutely sure everyone already responded to that, but i though it was common sense by now
 
Top