TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MARTIN GREGORIE
from: THEO
date: 2020-12-16 11:53:00
subject: Re: Running a windows 7 f

Martin Gregorie  wrote:
> Its somewhat unclear to me what exactly TRIM is meant to improve when
> used on an SMR drive: I can see that it would be a big help if it could
> defragment files etc, but surely that can't be done at the drive level
> since it implies some knowledge of the filing system's logical structure?

On SMR, writing is expensive because you have to rewrite the whole track
(and overlapping ones I think).  TRIM means the drive has a view of what
data is valid and what isn't.  That means the drive won't have to rewrite
data that isn't valid.  It can aggregate writes into empty tracks so that it
minimises the amount of rewriting it has to do - if the drive is 'empty' it
doesn't need to bother at all, just fill up the empty space.

Like SSDs, it also means a more dynamic mapping of block addresses to
physical location - rather than classical cylinder/head/sector addressing
where there was a quasi-static mapping from block to location (unless you
had sectors with errors), here that mapping gets permuted on a much more
regular basis.

That's for Drive-Managed SMR.  For Host-Managed SMR the filesystem does
this, being better placed to optimise the process.

Theo

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.