How do I address Windows' file system fragmentation on SSDs?


gremlinkurst

Well-known member
Local time
9:04 AM
Posts
28
OS
Windows 11 x64 Home
Back when I was using analog drives, I regularly defragged my drives, kept them optimized, and consolidated free space. Now that I'm using solid state drives, I can't do that anymore, so there's a problem: Windows file systems still fragment, and defragging SSDs damages them. So, what can Windows users under these circumstances do to combat fragmentation safely?
 
Windows Build/Version
Windows 11 x64 Home 22H2 (10.0.22621)

My Computers

System One System Two

  • OS
    Windows 11 x64 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom OEM
    CPU
    i9-10900F
    Motherboard
    MSI Z490-A Pro (MS-7C75) w/Intel Z490 chipset
    Memory
    16 GB Crucial Ballistix UDIMM Gaming Memory, DDR4/3600 1.3V
    Graphics Card(s)
    nVIDIA (Gigabyte) GeForce GTX-1660 Super Windforce / 6 GB GDDR6
    Sound Card
    WHAT? That's a NINETIES question! Integrated RealTekHD
    Monitor(s) Displays
    ViewSonic 144 Hz Refresh Rate 2560x1440
    Screen Resolution
    2560x1440
    Hard Drives
    OS Drive: Crucial NVMe M.2 2 TB SSD (2400 MB/s)
    (the data drives are immaterial)
    PSU
    750 W EVGA 80+ Gold
    Case
    Corsair
    Cooling
    Liquid
    Keyboard
    Razer Cynosa
    Mouse
    Adder
    Internet Speed
    400 Gbps
    Browser
    Chrome, Edge, IE (I fired Firefox)
    Antivirus
    Webroot SecureAnywhere 5-device license
  • Operating System
    Windows 11 Home x64 21H2
    Computer type
    Laptop
    Manufacturer/Model
    HP/Victus 16t-d000
    CPU
    i7-1100H @ 2.30 GHz (8-core, 16-thread)
    Motherboard
    ?
    Memory
    32 GB
    Graphics card(s)
    nVIDIA GeForce RTX-3060 Laptop
    Sound Card
    RealTek Audio
    Monitor(s) Displays
    16.25" LCD @ 1920 x 1080 (but screenshot size is 1563 x 879), refresh 144 Hz
    Screen Resolution
    1920 x 1080 (but screenshot size is 1563 x 879), refresh 144 Hz
    Hard Drives
    1 TB NVMe SSD
    PSU
    ?
    Case
    Silver Mica
SSDs are not affected by fragmentation because they do not have mechanical read/write heads.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    AMD Ryzen 7 3800XT
    Motherboard
    ASUS ROG Crosshair VII Hero (WiFi)
    Memory
    32GB
    Graphics Card(s)
    EVGA GeForce GTX 1080 Ti
  • Operating System
    Windows 11 Education
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 7773
    CPU
    Intel i7-8550U
    Memory
    32GB
    Graphics card(s)
    Nvidia Geforce MX150
    Sound Card
    Realtek
    Monitor(s) Displays
    17"
    Screen Resolution
    1920 x 1080
    Hard Drives
    Toshiba 512GB NVMe SSD
    SK Hynix 512GB SATA SSD
    Internet Speed
    Fast!
SSDs are not affected by fragmentation because they do not have mechanical read/write heads.
Now, that is puzzling (thanks, by the way); they didn't teach me that when I was studying computer science at uni after I got out of the Navy. So, what do you reckon it is that made Windows fragment file systems on mechanical drives while Linux didn't (doesn't for Linux users still running moving parts hardware)? Back before solid state drives were manufactured and marketed to the average consumer, I learned how to operate, configure, and administer many operating systems, and I've never found a platform more rife with problems and difficulties than Windows. However, if what you said is true, it makes me question what I had been taught, the motives of those that taught me. When it comes to science, personal bias of a non-rational nature has no authoritative place, neither ethically nor rationally.
 

My Computers

System One System Two

  • OS
    Windows 11 x64 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom OEM
    CPU
    i9-10900F
    Motherboard
    MSI Z490-A Pro (MS-7C75) w/Intel Z490 chipset
    Memory
    16 GB Crucial Ballistix UDIMM Gaming Memory, DDR4/3600 1.3V
    Graphics Card(s)
    nVIDIA (Gigabyte) GeForce GTX-1660 Super Windforce / 6 GB GDDR6
    Sound Card
    WHAT? That's a NINETIES question! Integrated RealTekHD
    Monitor(s) Displays
    ViewSonic 144 Hz Refresh Rate 2560x1440
    Screen Resolution
    2560x1440
    Hard Drives
    OS Drive: Crucial NVMe M.2 2 TB SSD (2400 MB/s)
    (the data drives are immaterial)
    PSU
    750 W EVGA 80+ Gold
    Case
    Corsair
    Cooling
    Liquid
    Keyboard
    Razer Cynosa
    Mouse
    Adder
    Internet Speed
    400 Gbps
    Browser
    Chrome, Edge, IE (I fired Firefox)
    Antivirus
    Webroot SecureAnywhere 5-device license
  • Operating System
    Windows 11 Home x64 21H2
    Computer type
    Laptop
    Manufacturer/Model
    HP/Victus 16t-d000
    CPU
    i7-1100H @ 2.30 GHz (8-core, 16-thread)
    Motherboard
    ?
    Memory
    32 GB
    Graphics card(s)
    nVIDIA GeForce RTX-3060 Laptop
    Sound Card
    RealTek Audio
    Monitor(s) Displays
    16.25" LCD @ 1920 x 1080 (but screenshot size is 1563 x 879), refresh 144 Hz
    Screen Resolution
    1920 x 1080 (but screenshot size is 1563 x 879), refresh 144 Hz
    Hard Drives
    1 TB NVMe SSD
    PSU
    ?
    Case
    Silver Mica
It's not that linux doesn't have fragmentation, but the design of the file system makes it far less regular than with Windows based file systems. When a Linux filesystem writes a file, it leaves substantial space before and after the file. This allows modifications to these files in this extra space. If insufficient space exists here on future writes, it will attempt to rewrite the entire file elsewhere on the disk.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink SEI8
    CPU
    Intel Core i5-8279u
    Motherboard
    AZW SEI
    Memory
    32GB DDR4 2666Mhz
    Graphics Card(s)
    Intel Iris Plus 655
    Sound Card
    Intel SST
    Monitor(s) Displays
    Asus ProArt PA278QV
    Screen Resolution
    2560x1440
    Hard Drives
    512GB NVMe
    PSU
    NA
    Case
    NA
    Cooling
    NA
    Keyboard
    NA
    Mouse
    NA
    Internet Speed
    500/50
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    Mini PC used for testing Windows 11.
  • Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 9 5900x
    Motherboard
    Asus Rog Strix X570-E Gaming
    Memory
    64GB DDR4-3600
    Graphics card(s)
    EVGA GeForce 3080 FT3 Ultra
    Sound Card
    Onboard
    Monitor(s) Displays
    ASUS TUF Gaming VG27AQ. ASUS ProArt Display PA278QV 27” WQHD
    Screen Resolution
    2560x1440
    Hard Drives
    2TB WD SN850 PCI-E Gen 4 NVMe
    2TB Sandisk Ultra 2.5" SATA SSD
    PSU
    Seasonic Focus 850
    Case
    Fractal Meshify S2 in White
    Cooling
    Dark Rock Pro CPU cooler, 3 x 140mm case fans
    Mouse
    Logitech G9 Laser Mouse
    Keyboard
    Corsiar K65 RGB Lux
    Internet Speed
    500/50
    Browser
    Chrome
    Antivirus
    Defender.
The reason fragmentation isn't as much of an issue with SSD's, is the fact that being solid state, the drive controllers abilty to get to any spot on the drive is pretty much instantaneous. Therefore, if a fragmented file is scattered in 5 different locations on your SSD, the drive can get to all 5 locations in a fraction of a millisecond to gather the entire file.

Back in the mechanical drive days, the drive heads would have to physically move to another location to pick up all the fragments of the file, and f it takes 12+ms per fragment, a file spread out in 5 locations would take 60.0ms to be found...where as the SSD would do it i like 0.15ms. So, once a mechanical hard drive is fragmented enough, you want to defrag and get as much of the drive contiguous as you can. However, doing this on an SSD uses up write cycles for what amounts to a completely negligible time penalty, so the "juice isn't worth the squeeze".
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink SEI8
    CPU
    Intel Core i5-8279u
    Motherboard
    AZW SEI
    Memory
    32GB DDR4 2666Mhz
    Graphics Card(s)
    Intel Iris Plus 655
    Sound Card
    Intel SST
    Monitor(s) Displays
    Asus ProArt PA278QV
    Screen Resolution
    2560x1440
    Hard Drives
    512GB NVMe
    PSU
    NA
    Case
    NA
    Cooling
    NA
    Keyboard
    NA
    Mouse
    NA
    Internet Speed
    500/50
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    Mini PC used for testing Windows 11.
  • Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 9 5900x
    Motherboard
    Asus Rog Strix X570-E Gaming
    Memory
    64GB DDR4-3600
    Graphics card(s)
    EVGA GeForce 3080 FT3 Ultra
    Sound Card
    Onboard
    Monitor(s) Displays
    ASUS TUF Gaming VG27AQ. ASUS ProArt Display PA278QV 27” WQHD
    Screen Resolution
    2560x1440
    Hard Drives
    2TB WD SN850 PCI-E Gen 4 NVMe
    2TB Sandisk Ultra 2.5" SATA SSD
    PSU
    Seasonic Focus 850
    Case
    Fractal Meshify S2 in White
    Cooling
    Dark Rock Pro CPU cooler, 3 x 140mm case fans
    Mouse
    Logitech G9 Laser Mouse
    Keyboard
    Corsiar K65 RGB Lux
    Internet Speed
    500/50
    Browser
    Chrome
    Antivirus
    Defender.
The reason fragmentation isn't as much of an issue with SSD's, is the fact that being solid state, the drive controllers abilty to get to any spot on the drive is pretty much instantaneous. Therefore, if a fragmented file is scattered in 5 different locations on your SSD, the drive can get to all 5 locations in a fraction of a millisecond to gather the entire file.

Back in the mechanical drive days, the drive heads would have to physically move to another location to pick up all the fragments of the file, and f it takes 12+ms per fragment, a file spread out in 5 locations would take 60.0ms to be found...where as the SSD would do it i like 0.15ms. So, once a mechanical hard drive is fragmented enough, you want to defrag and get as much of the drive contiguous as you can. However, doing this on an SSD uses up write cycles for what amounts to a completely negligible time penalty, so the "juice isn't worth the squeeze".
I would like to add that a SSDs life is limited to a fixed amount of writes to them. Defragmenting does unnessary writes that could reduce the life of an SSD.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Gaming A15 (2022)
    CPU
    AMD Ryzen 7 6800H with Radeon 680M GPU (486MB RAM)
    Memory
    Micron DDR5-4800 (2400MHz) 16GB (2 x 8GB)
    Graphics Card(s)
    NVIDIA RTX 3060 Laptop (6GB RAM)
    Sound Card
    n/a
    Monitor(s) Displays
    15.6-inch
    Screen Resolution
    1920x1080 300Hz
    Hard Drives
    2 x Samsung 980 (1TB M.2 NVME SSD)
    PSU
    n/a
    Mouse
    Wireless Mouse M510
    Internet Speed
    1200Mbps/250Mbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
  • Operating System
    Windows 11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom build
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    ASUS PRIME X370-PRO
    Memory
    G.SKILL Flare X 32GB (2x16GB) DDR4
    Graphics card(s)
    ASUS ROG-STRIX-RTX3060TI-08G-V2-GAMING (RTX 3060-Ti, 8GB RAM)
    Monitor(s) Displays
    Samsung S23A300B (23-in LED)
    Screen Resolution
    1080p 60Hz
    Hard Drives
    2TB XPG SX8200 Pro (M2. PCIe SSD) || 2TB Intel 660P (M2. PCIe SSD) ||
    PSU
    Corsair RM750x (750 watts)
    Case
    Cooler Master MasterCase 5
    Cooling
    Corsair H60 AIO water cooler
    Mouse
    Logitech K350 (wireless)
    Keyboard
    Logitech M510 (wireless)
    Internet Speed
    1200 Mbps down / 200 Mbps up
    Browser
    Firefox, Edge, Chrome
    Antivirus
    Malwarebytes (Premium)
    Other Info
    ASUS Blu-ray Burner BW-16D1HT (SATA) || Western Digital Elements 12TB USB 3.0 external hard drive used with Acronis True Image backup software || HP OfficeJet Pro 6975 Printer/Scanner
I would like to add that a SSDs life is limited to a fixed amount of writes to them. Defragmenting does unnessary writes that could reduce the life of an SSD.
Yup, hence my last sentence: However, doing this on an SSD uses up write cycles for what amounts to a completely negligible time penalty, so the "juice isn't worth the squeeze".
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink SEI8
    CPU
    Intel Core i5-8279u
    Motherboard
    AZW SEI
    Memory
    32GB DDR4 2666Mhz
    Graphics Card(s)
    Intel Iris Plus 655
    Sound Card
    Intel SST
    Monitor(s) Displays
    Asus ProArt PA278QV
    Screen Resolution
    2560x1440
    Hard Drives
    512GB NVMe
    PSU
    NA
    Case
    NA
    Cooling
    NA
    Keyboard
    NA
    Mouse
    NA
    Internet Speed
    500/50
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    Mini PC used for testing Windows 11.
  • Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 9 5900x
    Motherboard
    Asus Rog Strix X570-E Gaming
    Memory
    64GB DDR4-3600
    Graphics card(s)
    EVGA GeForce 3080 FT3 Ultra
    Sound Card
    Onboard
    Monitor(s) Displays
    ASUS TUF Gaming VG27AQ. ASUS ProArt Display PA278QV 27” WQHD
    Screen Resolution
    2560x1440
    Hard Drives
    2TB WD SN850 PCI-E Gen 4 NVMe
    2TB Sandisk Ultra 2.5" SATA SSD
    PSU
    Seasonic Focus 850
    Case
    Fractal Meshify S2 in White
    Cooling
    Dark Rock Pro CPU cooler, 3 x 140mm case fans
    Mouse
    Logitech G9 Laser Mouse
    Keyboard
    Corsiar K65 RGB Lux
    Internet Speed
    500/50
    Browser
    Chrome
    Antivirus
    Defender.
Now, that is puzzling (thanks, by the way); they didn't teach me that when I was studying computer science at uni after I got out of the Navy. So, what do you reckon it is that made Windows fragment file systems on mechanical drives while Linux didn't (doesn't for Linux users still running moving parts hardware)? Back before solid state drives were manufactured and marketed to the average consumer, I learned how to operate, configure, and administer many operating systems, and I've never found a platform more rife with problems and difficulties than Windows. However, if what you said is true, it makes me question what I had been taught, the motives of those that taught me. When it comes to science, personal bias of a non-rational nature has no authoritative place, neither ethically nor rationally.
Sounds like the "uni" that you studied computer science at wasn't very high quality. It is very basic knowledge that file fragmentation does not affect SSDs because SSDs do not use mechanical read/write heads. The problem with file fragmentation on hard drives is that the mechanical read/write heads must move from one area of the physical platters to other areas in order to assemble the files. Solid State Drives do not have that issue.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    AMD Ryzen 7 3800XT
    Motherboard
    ASUS ROG Crosshair VII Hero (WiFi)
    Memory
    32GB
    Graphics Card(s)
    EVGA GeForce GTX 1080 Ti
  • Operating System
    Windows 11 Education
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 7773
    CPU
    Intel i7-8550U
    Memory
    32GB
    Graphics card(s)
    Nvidia Geforce MX150
    Sound Card
    Realtek
    Monitor(s) Displays
    17"
    Screen Resolution
    1920 x 1080
    Hard Drives
    Toshiba 512GB NVMe SSD
    SK Hynix 512GB SATA SSD
    Internet Speed
    Fast!
This administrative PS command may be useful for drive analysis:

Optimize-Volume -DriveLetter H -Analyze -Verbose

(modify H to the applicable drive letter)




This is from a Microsoft link (updated 02/03/2023) with comments on SSD defrg


When run from the scheduled task, defrag uses the below policy guidelines for SSDs:


Code:
Scheduled task
The defragmentation process runs scheduled task as a maintenance task, which typically runs every week.
As an Administrator, you can change the how often the task runs by using the Optimize Drives app.

When run from the scheduled task, defrag uses the below policy guidelines for SSDs:

Traditional optimization processes. Includes traditional defragmentation, for example moving files to make
them reasonably contiguous and retrim. This is done once per month. However, if both traditional defragmentation
and retrim are skipped, then analysis isn't run. Changing the frequency of the scheduled task does not affect the
once per month cadence for the SSDs.

If you manually run traditional defragmentation on a SSD, between your normally scheduled runs, the next scheduled
task run performs analysis and retrim, but skips traditional defragmentation on that SSD.

If you skip analysis, you won't see an updated Last run time in the Optimize Drives app. 
Because of that, the Last run time can be up to a month old.

You might find that scheduled task hasn't defragmented all volumes. This is typically because:

The process won't wake the computer to run.

The computer isn't plugged in. The process won't run if the computer is running on battery power.

The computer started back up (resumed from idle).
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
Now, that is puzzling (thanks, by the way); they didn't teach me that when I was studying computer science at uni after I got out of the Navy. So, what do you reckon it is that made Windows fragment file systems on mechanical drives while Linux didn't (doesn't for Linux users still running moving parts hardware)? Back before solid state drives were manufactured and marketed to the average consumer, I learned how to operate, configure, and administer many operating systems, and I've never found a platform more rife with problems and difficulties than Windows. However, if what you said is true, it makes me question what I had been taught, the motives of those that taught me. When it comes to science, personal bias of a non-rational nature has no authoritative place, neither ethically nor rationally.

Linux didn't need to defragment hard drives because it is more intelligent than Windows about how it places files on the hard drive. However, eventually even a hard drive used with Linux may need to be fragmented. Even then it is way less often than Windows.

I suppose you could find a way to defragment even an SSD. But why would you want to do something that has no benefit and reduces the life of the drive?

BTW, I used my first computer in 1973 and bought my first computer in 1979. A lot has changed since then. You have to keep up with technology as it changes and not assume things that were true before are still are.

How Windows File Systems Work

Microsoft’s old FAT file system — last seen by default on Windows 98 and ME, although it’s still in use on USB flash drives today — doesn’t attempt to arrange files intelligently. When you save a file to a FAT file system, it saves it as close to the start of the disk as possible. When you save a second file, it saves it right after the first file — and so on. When the original files grow in size, they will always become fragmented. There’s no nearby room for them to grow into.

Microsoft’s newer NTFS file system, which made its way onto consumer PCs with Windows XP and 2000, tries to be a bit smarter. It allocates more “buffer” free space around files on the drive, although, as any Windows user can tell you, NTFS file systems still become fragmented over time.

Because of the way these file systems work, they need to be defragmented to stay at peak performance. Microsoft has alleviated this problem by running the defragmentation process in the background on the latest versions of Windows.

How Linux File Systems Work

Linux’s ext2, ext3, and ext4 file systems — ext4 being the file system used by Ubuntu and most other current Linux distributions — allocates files in a more intelligent way. Instead of placing multiple files near each other on the hard disk, Linux file systems scatter different files all over the disk, leaving a large amount of free space between them. When a file is edited and needs to grow, there’s usually plenty of free space for the file to grow into. If fragmentation does occur, the file system will attempt to move the files around to reduce fragmentation in normal use, without the need for a defragmentation utility.

Of course, this is different for solid state drives, which don’t have moving parts and shouldn’t be defragmented — defragmenting an SSD will actually reduce its life. And, on the latest versions of Windows, you don’t really need to worry about defragmenting your file systems — Windows does this automatically for you. For more information on best practices for defragmenting, read this article:

Why Linux Doesn’t Need Defragmenting
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Gaming A15 (2022)
    CPU
    AMD Ryzen 7 6800H with Radeon 680M GPU (486MB RAM)
    Memory
    Micron DDR5-4800 (2400MHz) 16GB (2 x 8GB)
    Graphics Card(s)
    NVIDIA RTX 3060 Laptop (6GB RAM)
    Sound Card
    n/a
    Monitor(s) Displays
    15.6-inch
    Screen Resolution
    1920x1080 300Hz
    Hard Drives
    2 x Samsung 980 (1TB M.2 NVME SSD)
    PSU
    n/a
    Mouse
    Wireless Mouse M510
    Internet Speed
    1200Mbps/250Mbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
  • Operating System
    Windows 11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom build
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    ASUS PRIME X370-PRO
    Memory
    G.SKILL Flare X 32GB (2x16GB) DDR4
    Graphics card(s)
    ASUS ROG-STRIX-RTX3060TI-08G-V2-GAMING (RTX 3060-Ti, 8GB RAM)
    Monitor(s) Displays
    Samsung S23A300B (23-in LED)
    Screen Resolution
    1080p 60Hz
    Hard Drives
    2TB XPG SX8200 Pro (M2. PCIe SSD) || 2TB Intel 660P (M2. PCIe SSD) ||
    PSU
    Corsair RM750x (750 watts)
    Case
    Cooler Master MasterCase 5
    Cooling
    Corsair H60 AIO water cooler
    Mouse
    Logitech K350 (wireless)
    Keyboard
    Logitech M510 (wireless)
    Internet Speed
    1200 Mbps down / 200 Mbps up
    Browser
    Firefox, Edge, Chrome
    Antivirus
    Malwarebytes (Premium)
    Other Info
    ASUS Blu-ray Burner BW-16D1HT (SATA) || Western Digital Elements 12TB USB 3.0 external hard drive used with Acronis True Image backup software || HP OfficeJet Pro 6975 Printer/Scanner
For 26 years, I've used the same ol' Backup/Restore program. (Ghost)
And I'm still using the last version, that ran in DOS, Ghost 11.5. I can boot up any system that will boot from a CD, Flash Drive, SD Memory Card or even a Floppy Disk, with my Ghost boot disk and back it up, or restore a Backup Image file, to it. That gives me flexibility not available with Widows based programs.

Back in the days when I still ran Spinners as my everyday HD's, I did a weekly massive HD cleanup, ending with a full Defrag. I found out that when I did my Ghost Backup, and while the program was still running, I could RESTORE the backup I had just made, and Ghost would overwrite the HD, putting the files down on the HD in sequential order, end to end, with no spaces between files and NO Fragmentation! It's what I called the "Perfect Defrag".
And, the Ghost Restore actually took less time than the average Defrag. *

* Because the Windows Defrag ran from within Windows, there were some files that it could not defrag or move.
So no defrag was Perfect. Using "Ghost Restore" to defrag my HD's didn't have that problem. **

** The Ghost Backup/Restore program that I use, runs in DOS, from a DOS boot disk (or Flash Drive) so it doesn't see an OS or data, just ones and zeros. It doesn't care what the files are, it just backs up what it sees. It will back up any version of DOS, Windows, Linux, Server, or even a data disk with no OS at all. Or even a corrupt Windows disk that cannot even boot up a system.

But, nowadays, with the SSD's, I can eliminate that (Restore) step.
Just like I don't worry about fragmentation on a Flash Drive, I don't worry about fragmentation on my SSD either.
SSD's do use a program called "Trim" to optimize the SSD. It may be worth Googling "Trim" for a full explanation.
I wouldn't even attempt that here.

Some of my Flash Drives, get a real workout, with reads, writes, deletions, file updates, etc. So every so often I copy all the files off of a Flash Drive, reformat it, and then copy my files back to it. Without going into the details, it just seems like a "Thing to do".

Cheers Mates (interesting thread)

TM :cool:
 
Last edited:

My Computer

System One

  • OS
    Win-11/Pro/64, Optimum 11 V5, 23H2 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Made w/Gigabyte mobo/DX-10
    CPU
    AMD FX 6350 Six Core
    Motherboard
    Gigabyte, DX-10, GA-78LMT-USB3
    Memory
    Crucial, 16 GB
    Graphics Card(s)
    NVIDEA GeForce 210, 1GB DDR3 Ram.
    Sound Card
    Onboard
    Monitor(s) Displays
    24" Acer
    Screen Resolution
    1280x800
    Hard Drives
    Crucial SSD 500GB, SanDisk 126GB SSD, Toshiba 1TB HD
    PSU
    EVGA 500 W.
    Case
    Pac Man, Mid Tower
    Cooling
    AMD/OEM
    Keyboard
    101 key, Backlit/ Mechanical Switches/
    Mouse
    Logitech USB Wireless M310
    Internet Speed
    Hughes Net speed varies with the weather
    Browser
    Firefox 64x
    Antivirus
    Windows Defender, Super Anti Spyware
    Other Info
    Given to me as DEAD, and irreparable.
    Rebuilt with Gigabyte mobo, AMD cpu, 16GB ram and 500GB Crucial SSD.
I could RESTORE the backup I had just made, and Ghost would overwrite the HD, putting the files down on the HD in sequential order, end to end, with no spaces between files and NO Fragmentation! It's what I called the "Perfect Defrag".
And, the Ghost Restore actually took less time than the average Defrag. *

My older brother did Mini-computer repair and maintenance for DEC. The way they defragged the HD was to make a backup, then restore it. No other software needed. I went with him on a repair call one time. He took the cover off the top of a HD to show me. The drive head was moving all around and open to the air. Evidently being in an air conditioned room was enough to keep it happy. No hermetically sealed drives. It kind of reminded me of a stack of 45s on an old record player. :cool:

I noticed doing Macrium incremental backups to external SSD one drive wrote much faster if I used the Tools in Explorer context menu to defrag it. The defrag only took about 10 seconds. A larger SSD of the same make has no option to optimize the drive and does not seem to need it. After writing the incremental backup I let it sit until the access LED goes out. Usually less that 30 seconds. It must have some automatic trim command in the device driver is my guess.
 

My Computers

System One System Two

  • OS
    Windows 10 S Mode (with S disabled)
    Computer type
    Laptop
    Manufacturer/Model
    EV00
    CPU
    Celeron
    Motherboard
    WEIBU
    Memory
    2906 MBytes
    Graphics Card(s)
    LC116LF3L01 (1920x1080@59Hz) Intel HD Graphics (Intel)
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    11.6" LCD
    Screen Resolution
    1920x1080P
    Hard Drives
    Interface SD
    Capacity 28.8 GB
    Real size 30,937,186,304 bytes
    RAID Type None
    Keyboard
    Integrated Laptop
    Mouse
    USB wired optical
    Internet Speed
    28 Mbs down 35 Mbs up on a good day
    Browser
    Opera/Edge both chromium based
    Antivirus
    none
    Other Info
    I purchased this for $109 because it is the only Laptop I have seen with 1920x1080 resolution for the money. OK for streaming, email, etc..
  • Operating System
    Windows 11 Home 64-bit (22H2 Build 22621.1413)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Ideapad 5
    CPU
    AMD K19
    Motherboard
    LNVNB161216 (FP6)
    Memory
    8 GB DDR4
    Graphics card(s)
    AMD Radeon Graphics 2 GB DDR4
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Generic PnP Monitor on AMD Radeon Graphics
    Screen Resolution
    2560 x 1600
    Hard Drives
    512 GB SKHynix_HFS512GDE9X084N (SSD)
    Mouse
    has touchpad but I use USB wired optical wheel mouse
    Keyboard
    backlit
    Internet Speed
    100 Mb/s
    Browser
    Edge
    Antivirus
    none
    Other Info
    Windows firewall disabled
Speaking of old hard drives... the first one I ever worked on was a single disk, open to the room air, and the read and write heads were mounted in a solid aluminum plate just above the platter surface, and had to be adjusted manually using an O'scope. Loads of fun, and many hours sitting on the floor.

Many years later, I was the key operator on an NCR Mainframe, that had a single (sealed) hard drive in its Central Processing Unit. (CPU)
When I began working there (the county IT dept) I saw a lot of garbage on that old HD. And, in ten years, it had never been cleaned up, restored, or Defragmented. It was a freakin' mess!!!
After some conversation with the IT manager, I was able to clean all the garbage files off of that HD, then after work one day, when the computer was shut down for the night, we backed it up to Disk Packs and Tape, then reformatted it and restored all the files.
The next morning, when the data input clerks came to work, I got a call, asking me what I'd done to the Computer, because it was running faster than they had ever seen, in ten years.
 

My Computer

System One

  • OS
    Win-11/Pro/64, Optimum 11 V5, 23H2 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Made w/Gigabyte mobo/DX-10
    CPU
    AMD FX 6350 Six Core
    Motherboard
    Gigabyte, DX-10, GA-78LMT-USB3
    Memory
    Crucial, 16 GB
    Graphics Card(s)
    NVIDEA GeForce 210, 1GB DDR3 Ram.
    Sound Card
    Onboard
    Monitor(s) Displays
    24" Acer
    Screen Resolution
    1280x800
    Hard Drives
    Crucial SSD 500GB, SanDisk 126GB SSD, Toshiba 1TB HD
    PSU
    EVGA 500 W.
    Case
    Pac Man, Mid Tower
    Cooling
    AMD/OEM
    Keyboard
    101 key, Backlit/ Mechanical Switches/
    Mouse
    Logitech USB Wireless M310
    Internet Speed
    Hughes Net speed varies with the weather
    Browser
    Firefox 64x
    Antivirus
    Windows Defender, Super Anti Spyware
    Other Info
    Given to me as DEAD, and irreparable.
    Rebuilt with Gigabyte mobo, AMD cpu, 16GB ram and 500GB Crucial SSD.
Speaking of old hard drives... the first one I ever worked on was a single disk, open to the room air, and the read and write heads were mounted in a solid aluminum plate just above the platter surface, and had to be adjusted manually using an O'scope. Loads of fun, and many hours sitting on the floor.

My brother actually rewrote the procedure for calibrating the tape systems used on DEC mini-computers. He always lugged around a small oscilloscope because he didn't believe a multimeter always told the whole story. I believe these tape backup units had three capstans. The procedure in the manual he used had this complex four hour method. Apparently every time you adjusted one capstan it threw off the other two. Finally he said there must be an easier way. He tried calibrating them in order three times rather than using the complex pattern. He could demonstrate that using this technique the system always ended up in spec. Time required, forty-five minutes. When he showed his results to the tech management they said "write it up."
 

My Computers

System One System Two

  • OS
    Windows 10 S Mode (with S disabled)
    Computer type
    Laptop
    Manufacturer/Model
    EV00
    CPU
    Celeron
    Motherboard
    WEIBU
    Memory
    2906 MBytes
    Graphics Card(s)
    LC116LF3L01 (1920x1080@59Hz) Intel HD Graphics (Intel)
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    11.6" LCD
    Screen Resolution
    1920x1080P
    Hard Drives
    Interface SD
    Capacity 28.8 GB
    Real size 30,937,186,304 bytes
    RAID Type None
    Keyboard
    Integrated Laptop
    Mouse
    USB wired optical
    Internet Speed
    28 Mbs down 35 Mbs up on a good day
    Browser
    Opera/Edge both chromium based
    Antivirus
    none
    Other Info
    I purchased this for $109 because it is the only Laptop I have seen with 1920x1080 resolution for the money. OK for streaming, email, etc..
  • Operating System
    Windows 11 Home 64-bit (22H2 Build 22621.1413)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Ideapad 5
    CPU
    AMD K19
    Motherboard
    LNVNB161216 (FP6)
    Memory
    8 GB DDR4
    Graphics card(s)
    AMD Radeon Graphics 2 GB DDR4
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Generic PnP Monitor on AMD Radeon Graphics
    Screen Resolution
    2560 x 1600
    Hard Drives
    512 GB SKHynix_HFS512GDE9X084N (SSD)
    Mouse
    has touchpad but I use USB wired optical wheel mouse
    Keyboard
    backlit
    Internet Speed
    100 Mb/s
    Browser
    Edge
    Antivirus
    none
    Other Info
    Windows firewall disabled
The answer is in the link zbook provided.
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
Sounds like the "uni" that you studied computer science at wasn't very high quality. It is very basic knowledge that file fragmentation does not affect SSDs because SSDs do not use mechanical read/write heads. The problem with file fragmentation on hard drives is that the mechanical read/write heads must move from one area of the physical platters to other areas in order to assemble the files. Solid State Drives do not have that issue.
The "uni" that I attended was not of inferior quality...it's just that SSDs had not yet been invented...and neither had the internet.
 

My Computers

System One System Two

  • OS
    Windows 11 x64 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom OEM
    CPU
    i9-10900F
    Motherboard
    MSI Z490-A Pro (MS-7C75) w/Intel Z490 chipset
    Memory
    16 GB Crucial Ballistix UDIMM Gaming Memory, DDR4/3600 1.3V
    Graphics Card(s)
    nVIDIA (Gigabyte) GeForce GTX-1660 Super Windforce / 6 GB GDDR6
    Sound Card
    WHAT? That's a NINETIES question! Integrated RealTekHD
    Monitor(s) Displays
    ViewSonic 144 Hz Refresh Rate 2560x1440
    Screen Resolution
    2560x1440
    Hard Drives
    OS Drive: Crucial NVMe M.2 2 TB SSD (2400 MB/s)
    (the data drives are immaterial)
    PSU
    750 W EVGA 80+ Gold
    Case
    Corsair
    Cooling
    Liquid
    Keyboard
    Razer Cynosa
    Mouse
    Adder
    Internet Speed
    400 Gbps
    Browser
    Chrome, Edge, IE (I fired Firefox)
    Antivirus
    Webroot SecureAnywhere 5-device license
  • Operating System
    Windows 11 Home x64 21H2
    Computer type
    Laptop
    Manufacturer/Model
    HP/Victus 16t-d000
    CPU
    i7-1100H @ 2.30 GHz (8-core, 16-thread)
    Motherboard
    ?
    Memory
    32 GB
    Graphics card(s)
    nVIDIA GeForce RTX-3060 Laptop
    Sound Card
    RealTek Audio
    Monitor(s) Displays
    16.25" LCD @ 1920 x 1080 (but screenshot size is 1563 x 879), refresh 144 Hz
    Screen Resolution
    1920 x 1080 (but screenshot size is 1563 x 879), refresh 144 Hz
    Hard Drives
    1 TB NVMe SSD
    PSU
    ?
    Case
    Silver Mica
I have AData external SSDs and thumb drive so I noticed this freeware ADATA SSD ToolBox

I optimized 2 AData external SSDs with it. It seemed to do no harm. It does a Trim command on the free space.

It also offered system optimization for my laptop's internal SSD. I haven't tried that yet. But I would say it is worth a look. With any optimizing software make sure you can restore the current state if it should scramble things. :cool:
 

My Computers

System One System Two

  • OS
    Windows 10 S Mode (with S disabled)
    Computer type
    Laptop
    Manufacturer/Model
    EV00
    CPU
    Celeron
    Motherboard
    WEIBU
    Memory
    2906 MBytes
    Graphics Card(s)
    LC116LF3L01 (1920x1080@59Hz) Intel HD Graphics (Intel)
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    11.6" LCD
    Screen Resolution
    1920x1080P
    Hard Drives
    Interface SD
    Capacity 28.8 GB
    Real size 30,937,186,304 bytes
    RAID Type None
    Keyboard
    Integrated Laptop
    Mouse
    USB wired optical
    Internet Speed
    28 Mbs down 35 Mbs up on a good day
    Browser
    Opera/Edge both chromium based
    Antivirus
    none
    Other Info
    I purchased this for $109 because it is the only Laptop I have seen with 1920x1080 resolution for the money. OK for streaming, email, etc..
  • Operating System
    Windows 11 Home 64-bit (22H2 Build 22621.1413)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Ideapad 5
    CPU
    AMD K19
    Motherboard
    LNVNB161216 (FP6)
    Memory
    8 GB DDR4
    Graphics card(s)
    AMD Radeon Graphics 2 GB DDR4
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Generic PnP Monitor on AMD Radeon Graphics
    Screen Resolution
    2560 x 1600
    Hard Drives
    512 GB SKHynix_HFS512GDE9X084N (SSD)
    Mouse
    has touchpad but I use USB wired optical wheel mouse
    Keyboard
    backlit
    Internet Speed
    100 Mb/s
    Browser
    Edge
    Antivirus
    none
    Other Info
    Windows firewall disabled
or this

dg-trim-optimization.jpg

In addition

If anybody wants to secure erase an ssd , the solidigm synergy says it works for all disks not just their own brand.
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
I have AData external SSDs and thumb drive so I noticed this freeware ADATA SSD ToolBox

I optimized 2 AData external SSDs with it. It seemed to do no harm. It does a Trim command on the free space.

It also offered system optimization for my laptop's internal SSD. I haven't tried that yet. But I would say it is worth a look. With any optimizing software make sure you can restore the current state if it should scramble things. :cool:
All the optimization for an SSD does is to send TRIM "hints" to the SSD. The OS will tell the SSD to perform a TRIM when blocks are deleted so an SSD should automatically perform a TRIM operation in the background. However, if power is lost before the SSD completes TRIM operations, it may not get all blocks trimmed. As a result, when Windows performs the regularly scheduled optimization, it simply sends TRIM "hints" telling the SSD "these are all the unoccupied blocks" and the drive will then check to see what blocks are not already TRIMmed.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
The "uni" that I attended was not of inferior quality...it's just that SSDs had not yet been invented...and neither had the internet.
I graduated with a 2-year AAS degree 49 years ago and a 4-year BS degree 40 years ago. There were no SSDs or Internet back then either.

I guess you missed the most important skill you were taught in college which was "How to learn". With that skill learning never stops. Over the years I have learned a lot about computers including SSDs and how they are different than mechanical drives. Of course if you are unwilling or unable to learn new things after you get out of school you will never realize that what you learned then may be no longer true or relevant.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Gaming A15 (2022)
    CPU
    AMD Ryzen 7 6800H with Radeon 680M GPU (486MB RAM)
    Memory
    Micron DDR5-4800 (2400MHz) 16GB (2 x 8GB)
    Graphics Card(s)
    NVIDIA RTX 3060 Laptop (6GB RAM)
    Sound Card
    n/a
    Monitor(s) Displays
    15.6-inch
    Screen Resolution
    1920x1080 300Hz
    Hard Drives
    2 x Samsung 980 (1TB M.2 NVME SSD)
    PSU
    n/a
    Mouse
    Wireless Mouse M510
    Internet Speed
    1200Mbps/250Mbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
  • Operating System
    Windows 11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom build
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    ASUS PRIME X370-PRO
    Memory
    G.SKILL Flare X 32GB (2x16GB) DDR4
    Graphics card(s)
    ASUS ROG-STRIX-RTX3060TI-08G-V2-GAMING (RTX 3060-Ti, 8GB RAM)
    Monitor(s) Displays
    Samsung S23A300B (23-in LED)
    Screen Resolution
    1080p 60Hz
    Hard Drives
    2TB XPG SX8200 Pro (M2. PCIe SSD) || 2TB Intel 660P (M2. PCIe SSD) ||
    PSU
    Corsair RM750x (750 watts)
    Case
    Cooler Master MasterCase 5
    Cooling
    Corsair H60 AIO water cooler
    Mouse
    Logitech K350 (wireless)
    Keyboard
    Logitech M510 (wireless)
    Internet Speed
    1200 Mbps down / 200 Mbps up
    Browser
    Firefox, Edge, Chrome
    Antivirus
    Malwarebytes (Premium)
    Other Info
    ASUS Blu-ray Burner BW-16D1HT (SATA) || Western Digital Elements 12TB USB 3.0 external hard drive used with Acronis True Image backup software || HP OfficeJet Pro 6975 Printer/Scanner

Latest Support Threads

Latest Tutorials

Back
Top Bottom