On 12/13/2010 05:11 AM, Sander wrote:
Gordan Bobic wrote (ao):
On 12/12/2010 17:24, Paddy Steed wrote:
In a few weeks parts for my new computer will be arriving. The storage
will be a 128GB SSD. A few weeks after that I will order three large
disks for a RAID array. I understand that BTRFS RAID 5 support will be
available shortly. What is the best possible way for me to get the
highest performance out of this setup. I know of the option to optimize
for SSD's
BTRFS is hardly the best option for SSDs. I typically use ext4
without a journal on SSDs, or ext2 if that is not available.
Journalling causes more writes to hit the disk, which wears out
flash faster. Plus, SSDs typically have much slower writes than
reads, so avoiding writes is a good thing.
Gordan, this you wrote is so wrong I don't even know where to begin.
You'd better google a bit on the subject (ssd, and btrfs on ssd) as much
is written about it already.
I suggest you back your opinion up with some hard data before making
such statements. Here's a quick test - make an ext2 fs and a btrfs on
two similar disk partitions (any disk, for the sake of the experiment it
doesn't have to be an ssd), then check vmstat -d to get a base line.
Then put the kernel sources on each it, do a full build, then make clean
and check vmstat -d again. Check the vmstat -d output again. See how
many writes (sectors) hit the disk with ext2 and how many with btrfs.
You'll find that there were many more writes with BTRFS. You can't go
faster when doing more. Journaling is expensive.
Gordan
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html