Sunday, June 27, 2010

Canon Sx110is Como Webcam

Testing the new file system in Ubuntu


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
extents Support Data Compression Automatic Defragmentation

Check with the system mounted
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
  1. Installing Ubuntu Alternate 10.10 (daily build)
  2. 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
  3. http://cdimage.ubuntu.com/daily/current/
  4. :
  5. btrfs support in Ubuntu 10.10

  6. Once installed we test the support Btrfs with:
  7. $ dmesg
Create a btrfs filesystem

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
WARNING! - Btrfs Btrfs v0.19 WARNING IS EXPERIMENTAL! - Before using
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
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
btrfsck / dev / sda7





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 61.43 65.34 66.075 268.1 261.03 275.11 210.42 147.84 244.585 165.29 268.18 224.115 98.825 97.77 84.105 For those who do not give you interpret it left a few numbers here that are better understood graphics: 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.) results in 2 tests are similar in all 3 systems (a copy of a file within the same partition and decompression of files) 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.

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
Conclusions
More
http://es.wikipedia.org/wiki/Btrfs


http://btrfs.wiki.kernel.org/index.php/Main_Page Related Articles Using the new ext4 filesystem in Ubuntu

0 comments:

Post a Comment