Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSD performance tweaking
Date: Thu, 23 Aug 2012 10:18:25
Message-Id: 503602B8.3050507@wonkology.org
In Reply to: [gentoo-user] SSD performance tweaking by Mark Knecht
1 Mark Knecht writes:
2
3 > I'm currently just using a single large partition & ext3. I didn't
4 > do anything special in fdisk so the partition might not be aligned as
5 > best it could be. I don't know.
6
7 See if the partition's starting block is 63 as it used to be in the
8 past. In this case the alignment is wrong, as SSDs have 4K (or even 8K)
9 sectors consisting of 8 (or 16) 512 byte blocks. The starting block
10 should be divisible by 8 (or 16) because of the large sector size, if
11 not, a file system sector spans over two drive sectors, and both heed to
12 be accessed when reading a file system sector.
13
14 The size of an erasable block of SSDs is even larger, usually 512K, it
15 would be best to align to that, too. A partition offset of 512K or 1M
16 would avoid this.
17
18 Wonko

Replies

Subject Author
Re: [gentoo-user] SSD performance tweaking Frank Steinmetzger <Warp_7@×××.de>