Click here to Skip to main content
15,882,721 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
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 
AnswerRe: Does it make sense to defrag a SSD? Pin
Chad3F7-Dec-23 12:10
Chad3F7-Dec-23 12:10 
Short answer: No.

Long answer:
Unlike mechanical drives, data blocks aren't stored physically in the same order as they are logically. Blocks are physically fragmented internally in most cases, regardless (including what order the OS believes them to be in). But this doesn't matter, since all blocks are accessed at the same speed (**), eliminating any speed advantage of sequential access (++).

** Hypothetically, a high end drive could read/write multiple physical flash chips simultaneously, allowing a block to be accessed without waiting for a prior one to finish, if stored on a different chip.

++ Some Flash Translation Layer (FTL) structures may have a slight speed advantage from accessing co-located logical blocks (such as unfragmented reads). But the speed improvement would be trivial compared to the speed increase of sequential access of mechanical drives.

While a given manufacture's implementation may vary, the mapping of blocks generally works something like describe on one of these pages:

Overview of SSD Structure and Basic Working Principle(2)
Coding for SSDs – Part 3: Pages, Blocks, and the Flash Translation Layer | Code Capsule
RantVS is rolling... Pin
Kornfeld Eliyahu Peter2-Dec-23 20:09
professionalKornfeld Eliyahu Peter2-Dec-23 20:09 
GeneralRe: VS is rolling... Pin
RickZeeland2-Dec-23 21:07
mveRickZeeland2-Dec-23 21:07 
GeneralRe: VS is rolling... Pin
dandy723-Dec-23 3:39
dandy723-Dec-23 3:39 
GeneralRe: VS is rolling... Pin
charlieg3-Dec-23 4:49
charlieg3-Dec-23 4:49 
GeneralRe: VS is rolling... Pin
Gerry Schmitz3-Dec-23 6:29
mveGerry Schmitz3-Dec-23 6:29 
GeneralRe: VS is rolling... Pin
Kornfeld Eliyahu Peter3-Dec-23 8:55
professionalKornfeld Eliyahu Peter3-Dec-23 8:55 
GeneralRe: VS is rolling... Pin
jschell4-Dec-23 4:14
jschell4-Dec-23 4:14 
GeneralWordle 897 Pin
StarNamer@work2-Dec-23 13:47
professionalStarNamer@work2-Dec-23 13:47 
GeneralRe: Wordle 897 Pin
Amarnath S2-Dec-23 15:14
professionalAmarnath S2-Dec-23 15:14 
GeneralRe: Wordle 897 Pin
Sandeep Mewara2-Dec-23 17:05
mveSandeep Mewara2-Dec-23 17:05 
GeneralRe: Wordle 897 - 3 4 me Pin
pkfox2-Dec-23 21:17
professionalpkfox2-Dec-23 21:17 
GeneralRe: Wordle 897 Pin
Sander Rossel3-Dec-23 0:05
professionalSander Rossel3-Dec-23 0:05 
GeneralRe: Wordle 897 Pin
GuyThiebaut3-Dec-23 0:16
professionalGuyThiebaut3-Dec-23 0:16 
GeneralRe: Wordle 897 Pin
Cp-Coder3-Dec-23 1:06
Cp-Coder3-Dec-23 1:06 
GeneralRe: Wordle 897 Pin
GKP19923-Dec-23 2:35
professionalGKP19923-Dec-23 2:35 
GeneralBluetooth Woes Pin
Richard Andrew x642-Dec-23 8:10
professionalRichard Andrew x642-Dec-23 8:10 
GeneralRe: Bluetooth Woes Pin
Ron Anders3-Dec-23 2:26
Ron Anders3-Dec-23 2:26 

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.