login
Header Space

 
 

[ANNOUNCE] Btrfs v0.12 released

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>, <linux-fsdevel@...>, <btrfs-devel@...>
Date: Wednesday, February 6, 2008 - 1:00 pm

Hello everyone,

I wasn't planning on releasing v0.12 yet, and it was supposed to have some 
initial support for multiple devices.  But, I have made a number of 
performance fixes and small bug fixes, and I wanted to get them out there 
before the (destabilizing) work on multiple-devices took over.

So, here's v0.12.  It comes with a shiny new disk format (sorry), but the gain 
is dramatically better random writes to existing files.  In testing here, the 
random write phase of tiobench went from 1MB/s to 30MB/s.  The fix was to 
change the way back references for file extents were hashed.

Other changes:

Insert and delete multiple items at once in the btree where possible.  Back 
references added more tree balances, and it showed up in a few benchmarks.  
With v0.12, backrefs have no real impact on performance.

Optimize bio end_io routines.  Btrfs was spending way too much CPU time in the 
bio end_io routines, leading to lock contention and other problems.

Optimize read ahead during transaction commit.  The old code was trying to 
read far too much at once, which made the end_io problems really stand out.

mount -o ssd option, which clusters file data writes together regardless of 
the directory the files belong to.  There are a number of other performance 
tweaks for SSD, aimed at clustering metadata and data writes to better take 
advantage of the hardware.

mount -o max_inline=size option, to override the default max inline file data 
size (default is 8k).  Any value up to the leaf size is allowed (default 
16k).

Simple -ENOSPC handling.  Emphasis on simple, but it prevents accidentally 
filling the disk most of the time.  With enough threads/procs banging on 
things, you can still easily crash the box.

-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] Btrfs v0.12 released, Chris Mason, (Wed Feb 6, 1:00 pm)
BTRFS only works with PAGE_SIZE &lt;= 4K, David Miller, (Tue Feb 12, 5:55 pm)
Re: BTRFS only works with PAGE_SIZE &lt;= 4K, Chris Mason, (Tue Feb 12, 6:03 pm)
CRC32C big endian bugs..., David Miller, (Tue Feb 12, 5:23 am)
BTRFS partition usage..., David Miller, (Tue Feb 12, 3:21 am)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 4:11 am)
Re: BTRFS partition usage..., Chris Mason, (Tue Feb 12, 9:49 am)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 4:50 pm)
Re: BTRFS partition usage..., Jan Engelhardt, (Tue Feb 12, 10:00 am)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 7:28 pm)
Re: BTRFS partition usage..., Theodore Tso, (Tue Feb 12, 8:45 pm)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 7:26 pm)
Re: BTRFS partition usage..., Bryan Henderson, (Tue Feb 12, 9:25 pm)
Re: BTRFS partition usage..., Jan Engelhardt, (Tue Feb 12, 7:39 pm)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 9:08 pm)
Re: BTRFS partition usage..., Chris Mason, (Tue Feb 12, 10:08 am)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 7:33 pm)
Re: BTRFS partition usage..., Jeff Garzik, (Tue Feb 12, 10:10 pm)
Re: BTRFS partition usage..., Szabolcs Szakacsits, (Wed Feb 13, 8:51 pm)
Re: BTRFS partition usage..., Jan Engelhardt, (Tue Feb 12, 10:21 am)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 7:34 pm)
Re: BTRFS partition usage..., Chris Mason, (Tue Feb 12, 10:35 am)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 7:35 pm)
Re: BTRFS partition usage..., Christoph Hellwig, (Wed Feb 13, 3:02 am)
Re: BTRFS partition usage..., Jan Engelhardt, (Tue Feb 12, 11:04 am)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 7:38 pm)
Re: BTRFS partition usage..., Jan Engelhardt, (Tue Feb 12, 7:42 pm)
Re: BTRFS partition usage..., Rene Herman, (Tue Feb 12, 9:22 pm)
Re: BTRFS partition usage..., David Miller, (Tue Feb 12, 9:09 pm)
Re: BTRFS partition usage..., Chris Mason, (Tue Feb 12, 12:17 pm)
Re: [ANNOUNCE] Btrfs v0.12 released, David Miller, (Sun Feb 10, 9:12 pm)
Re: [ANNOUNCE] Btrfs v0.12 released, Chris Mason, (Mon Feb 11, 9:42 am)
Re: [ANNOUNCE] Btrfs v0.12 released, David Miller, (Tue Feb 12, 2:43 am)
Re: [ANNOUNCE] Btrfs v0.12 released, Chris Mason, (Tue Feb 12, 9:43 am)
speck-geostationary