1 |
On Sun, Aug 26, 2012 at 12:22:47AM +0200, Volker Armin Hemmann wrote: |
2 |
|
3 |
> > > The size of an erasable block of SSDs is even larger, usually 512K, it |
4 |
> > > would be best to align to that, too. A partition offset of 512K or 1M |
5 |
> > > would avoid this. |
6 |
> > |
7 |
> > Unless the filesystem knows this and starts bigger files at those 512 k |
8 |
> > boundaries (so really only one erase cycle is needed for files <=512 k), |
9 |
> > isn't this fairly superfluous? |
10 |
> |
11 |
> no, if you misalign, a lot of 4k blocks might span into two erase blocks. |
12 |
> Which is bad. If you align correctly, you will never cross them unnecessary, |
13 |
> sparing your SSD some unnecessary writes and improving overall performance. |
14 |
|
15 |
I don’t quite follow. If you align to 4k, then you are also aligned to 512k, |
16 |
because 512 % 4 = 0. |
17 |
-- |
18 |
Gruß | Greetings | Qapla' |
19 |
Please do not share anything from, with or about me with any Facebook service. |
20 |
|
21 |
The duration of a minute is relative. |
22 |
It depends on the side of the toilet door you are standing on. |