This is an attempt to properly align partitions when creating them. The current incarnation makes no such attempt and gives misaligned partitions. This does cause worse performance, and can cause shortened disk life.
I am not an expert in this distro, nor have I read all of the code. It's been tested (by me) for a new installation with and without LUKS. I do not know if other schemes exist, such as creating partitions alongside existing ones, if so, that should likely be tested.
It's completely fine to not accept this PR as is and tune it yourself. Just offering what worked for me.
This is an attempt to properly align partitions when creating them. The current incarnation makes no such attempt and gives misaligned partitions. This does cause worse performance, and can cause shortened disk life.
I am not an expert in this distro, nor have I read all of the code. It's been tested (by me) for a new installation with and without LUKS. I do not know if other schemes exist, such as creating partitions alongside existing ones, if so, that should likely be tested.
It's completely fine to not accept this PR as is and tune it yourself. Just offering what worked for me.