Btrfs is a new file system supported by Linux, which focuses incorporate more advanced features, fault tolerance and repair. In this article we will see which are the main features Btrfs file system, how to use it on Ubuntu 10.10 and finally a series of performance tests to see how it behaves.
CaracterÃsitcas Top
subvolumens
Copy-on-write Maximum size 16EiB Stock (16 million terabytes)
Maximum number of files 2 ^ 64 (18,446,744,073 billion files)
- You can see a more complete list http://es.wikipedia.org/wiki / Btrfs # Features
- Installing Ubuntu Alternate 10.10 (daily build)
- Let's take that new ISOs alternate btrfs Maverick and support from installation to install the system directly on a partition btrfs. You can download the ISO of
- http://cdimage.ubuntu.com/daily/current/ :
- btrfs support in Ubuntu 10.10
-
Once installed we test the support Btrfs with: - $ dmesg
If you have not created a partition type during installation Btrfs can do it later. For the tests I will use
- / dev/sda7
- , use any free partition to have:
$ sudo mkfs-t btrfs / dev/sda7
http://btrfs.wiki.kernel.org see
created fs label (null) on / dev/sda7
nodesize leafsize 4096 4096 4096 sectorsize size 10.08GB
Btrfs Btrfs v0.19
We can also convert partition type directly ext3/ext4 Btrfs directly without lose the data contained in the order (again I do tests with partition / dev/sda7 ): $ sudo
btrfs-convert / dev/sda7
We can also convert partition type directly ext3/ext4 Btrfs directly without lose the data contained in the order (again I do tests with partition / dev/sda7 ): $ sudo btrfs Creating metadata. Creating
ext2fs image file.
chunk cleaning up system.
complete conversion. Use the tools to manage partitions btrfs
local Btrfs List partitions: $ sudo btrfs-show
-
Analyze Btrfs file system (with the partition removed): sudo
tests For testing I have prepared 3 partitions: a type ext4, reiserfs type one and type btrfs 10Gb each. On each of them I have run tests that evaluate the speed of creating and deleting files, copying a large file and multiple small files, compression and decompression of data.
The results are: (all results in seconds except for the first test)
- btrfs
ReiserFS EXT4
Creating
- 1Gb \u200b\u200bfile (in Mb / s)
- 66.6 71.9 59.25
| 2Gb Copying 1 file (same partition) | 67.395 69.14 68.76 | copy multiple files 4Gb | |
| 4Gb copy multiple files (same partition) | |||
| Compress | 4Gb | ||
| Unzip 4Gb | |||
| 4Gb Clear | 36.915 11.605 | ||
| 13, 02 | For those who do not give you interpret it left a few numbers here that are better understood graphics: | ||
| Conclusions | from the above results we can say that the system works really well Btrfs from 8 tests ext4 and reiserfs beats in 5 of them (file creation, file copy, copy multiple files, multiple copies of files inside the same partition and file compression.)|||
| As a curious (and negative) has taken nearly three times more than ext4 to delete an entire directory with 4GB of files. Should investigate why this is happening. | More |
http://btrfs.wiki.kernel.org/index.php/Main_Page
Related Articles
Using the new ext4 filesystem in Ubuntu
0 comments:
Post a Comment