Click here to Skip to main content
15,887,135 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Does it make sense to defrag a SSD? Pin
Jörgen Andersson3-Dec-23 20:59
professionalJörgen Andersson3-Dec-23 20:59 
GeneralRe: Does it make sense to defrag a SSD? Pin
Keefer S4-Dec-23 2:44
Keefer S4-Dec-23 2:44 
GeneralRe: Does it make sense to defrag a SSD? Pin
Jörgen Andersson4-Dec-23 2:50
professionalJörgen Andersson4-Dec-23 2:50 
GeneralRe: Does it make sense to defrag a SSD? Pin
obermd4-Dec-23 3:55
obermd4-Dec-23 3:55 
GeneralRe: Does it make sense to defrag a SSD? Pin
jschell4-Dec-23 4:11
jschell4-Dec-23 4:11 
GeneralRe: Does it make sense to defrag a SSD? Pin
Jörgen Andersson4-Dec-23 7:13
professionalJörgen Andersson4-Dec-23 7:13 
GeneralRe: Does it make sense to defrag a SSD? Pin
jochance5-Dec-23 4:16
jochance5-Dec-23 4:16 
GeneralRe: Does it make sense to defrag a SSD? Pin
trønderen5-Dec-23 6:56
trønderen5-Dec-23 6:56 
Even magnetic disks do low level reallocation of blocks when a bad block is detected. The disk addresses appear continuous, but one or more blocks may be physically located in a different location. On a magnetic disk, this of course affects average access time. Probably less than you would think.

SSDs always do a physical layer 'reallocation' (which is really an allocation, without the re), below the disk address level, to even out wear, so that the same physical blocks are not used again and again, but new writes are distributed among all free blocks. I would be very surprised if this allocation mechanism wouldn't handle bad pages as well.

What would make sense on an SSD is if the disk driver kept track of blocks in read-only files, written once and later only read. If the disk is 90% full, and other files come and go, even with wear leveling the remaining 10% of the blocks may have been written 50,000 times. It would make sense to move read-only files into this area, to provide a 'virgin' area for the next million block writes. (I never heard of any SSD disk doing this, but maybe some of them do.)
GeneralRe: Does it make sense to defrag a SSD? Pin
jochance5-Dec-23 10:26
jochance5-Dec-23 10:26 
GeneralRe: Does it make sense to defrag a SSD? Pin
dandy724-Dec-23 7:24
dandy724-Dec-23 7:24 
GeneralRe: Does it make sense to defrag a SSD? Pin
Jörgen Andersson4-Dec-23 9:14
professionalJörgen Andersson4-Dec-23 9:14 
GeneralRe: Does it make sense to defrag a SSD? Pin
dandy725-Dec-23 8:20
dandy725-Dec-23 8:20 
GeneralRe: Does it make sense to defrag a SSD? Pin
OctumSven3-Dec-23 21:43
OctumSven3-Dec-23 21:43 
GeneralRe: Does it make sense to defrag a SSD? Pin
Jan Heckman3-Dec-23 22:12
professionalJan Heckman3-Dec-23 22:12 
GeneralRe: Does it make sense to defrag a SSD? Pin
jochance5-Dec-23 4:51
jochance5-Dec-23 4:51 
GeneralRe: Does it make sense to defrag a SSD? Pin
jschell5-Dec-23 5:43
jschell5-Dec-23 5:43 
GeneralRe: Does it make sense to defrag a SSD? Pin
trønderen5-Dec-23 7:16
trønderen5-Dec-23 7:16 
GeneralRe: Does it make sense to defrag a SSD? Pin
jochance5-Dec-23 10:31
jochance5-Dec-23 10:31 
GeneralRe: Does it make sense to defrag a SSD? Pin
jschell6-Dec-23 6:15
jschell6-Dec-23 6:15 
GeneralRe: Does it make sense to defrag a SSD? Pin
trønderen6-Dec-23 6:59
trønderen6-Dec-23 6:59 
GeneralRe: Does it make sense to defrag a SSD? Pin
jochance5-Dec-23 10:31
jochance5-Dec-23 10:31 
GeneralRe: Does it make sense to defrag a SSD? Pin
jschell5-Dec-23 4:52
jschell5-Dec-23 4:52 
GeneralRe: Does it make sense to defrag a SSD? Pin
Ralf Quint5-Dec-23 12:42
Ralf Quint5-Dec-23 12:42 
GeneralRe: Does it make sense to defrag a SSD? Pin
Daniel Wilianto5-Dec-23 15:30
Daniel Wilianto5-Dec-23 15:30 
GeneralRe: Does it make sense to defrag a SSD? Pin
Cp-Coder6-Dec-23 1:44
Cp-Coder6-Dec-23 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.