View Single Post
  #96   Report Post  
Posted to uk.d-i-y
John Rumm John Rumm is offline
external usenet poster
 
Posts: 25,191
Default Samsung SSD 750 EVO v 850 EVO / Ubuntu

On 17/10/2016 10:45, The Natural Philosopher wrote:
On 17/10/16 09:37, John Rumm wrote:
In reality it could be anywhere on any boundary the
SSD firmware and processor puts it.


Not quite - there is not a one to one mapping of OS allocation units to
flash pages. For optimum performance you need to ensure that whichever
allocation unit you update, the SSD can do that update by operating on
one (and only one) page of flash. With the wrong alignment, you can end
up with the SSD needing to do two page updates for each OS allocation
unit update.



However all that may be true, but its not under user level control via
partioning, and its handled internally by the SSD.


There is no obvious way a SSD could make a sensible choice to internally
remap alignment if it turns out you have managed to install an OS
partition with a start LBA offset from the ideal. Especially as one
physical drive can host more than one partition, and if you really
tried, you could end up with several partitions each with different
alignments.

It makes far more sense to ensure the partitions are aligned so that the
OS allocation unit is on a 4K boundary (which is the default action on a
modern OS anyway)




--
Cheers,

John.

/================================================== ===============\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\================================================= ================/