Gentoo Archives: gentoo-user

From: Frank Steinmetzger <Warp_7@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSD performance tweaking
Date: Sun, 26 Aug 2012 02:07:14
Message-Id: 20120826020432.GB5995@eisen.lan
In Reply to: Re: [gentoo-user] SSD performance tweaking by Volker Armin Hemmann
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.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] SSD performance tweaking Allan Gottlieb <gottlieb@×××.edu>