filip wrote:Don't forget slight increase of Write amplification if partitions are not
aligned.
Okay, I see what you are concerned about.
Although true, you can relax, because the numbers are quite different than what you think they may be.
Looking at the screenshot you took, it looks like you are working with a 120GB SSD.
For these sizes of SSDs, some have units of 4K and some might have units of 16K.
When speaking of 4K, we really mean 4x1024 bytes == 4096bytes (0..4095)
and 16K really means 16x1024 bytes == 16384bytes (0..16383)
You can go looking up the technical spec for your drive, and it's maybe 4K.
This value is worth checking for optimizing your write lifetime for the SSD.
Now supposing, you chose a file system, that uses sectors of 512bytes (this would be a bad choice here).
On the plus side, you can squeeze 8 strips of 512 into a single 4096 sector. This means you can squeeze 8 tiny files in 4096bytes. On the bad side, if you write/update one of these files (within one 512byte strip), you have to update the entire 4096byte unit. This means you unnecessarily have to re-write 7 other files over again, and this contributes to unneeded writes and wear on your SSD. In summary, the SSD won't last as long. Now, if you choose a file system that uses 4096byte units, matching your SSD, you waste a lot more space (if it is full of tiny files), but it is also much better with larger files and reduces wear of the SSD.
Using a 2000byte long file with file system units of 512 as an example:
write bytes 0...511 would update the first 512bytes....but you also affect bytes 512....4095, which have to be written over.
write bytes 512...1023 would update the next 512bytes....but you also affect bytes 0..511 & 1024..4095, which have to be written over.
write bytes 1024...1535 would update the next 512bytes....but you also affect bytes 0..1023 & 1536..4095, which have to be written over again.
write bytes 1536...2000 would update the next 512bytes....but you also affect bytes 0..1535 & 2048..4095, which have to be written over again.
In summary...you overwrite one 4K unit of the SSD 4x, when it could be done in 1 write if you had chosen a number matching what the SSD has.
When working with actual mechanical harddrives, you would want to start/end partitions as complete cylinders.
With SSDs, the mechanical way of mapping is not important, you really want your drive to optimize file sectors according to what the SSD is built for. So with small SSDs it may be 4k segments, or 16K segments, while the huge drives may have larger segments. Read the drive specs.
When Mageia's partitioning tool suggests 34, it is likely 34MB, which is fine, it will be some large value like 34x1024x1024, which you can think of as 34x256x4096 (if the SSD is made of 4096byte units), or 34x64x16384 (if the SSD is made of 16k units).
Just select a file system for your SSD that uses 4K or 16K sized sectors. Read the spec for the drive about unit sizes.