Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.snto-msu.net/showflat.php?Number=589661&src=alt&showlite=
Дата изменения: Unknown
Дата индексирования: Mon Apr 11 19:55:02 2016
Кодировка: Windows-1251
Btrfs - свет в конце тоннеля? - Public forum of MSU united student networks
Root | Google | Yandex | Mail.ru | Kommersant | Afisha | LAN Support
  
Alt >> Hard&Soft.Linux

Страницы: 0 | 20 | показать все | след. страница
bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Btrfs - свет в конце тоннеля?
      12.03.2008 02:14
 

Ввиду явного отсутствия прогресса по внедрению Reiser4 и очевидной невозможности включения zfs в Linux ядро, решил посмотреть, что же еще народ делает в явно застоявшейся среде файловых систем.
Неспешно читая обзор ext4 наткнулся на упоминание экспериментальной ФС Btrfs.
Зашел сегодня на их сайт и немного прифигел от ее предполагаемых возможностей. :)

 
В ответ на:

The main Btrfs features include:

    * Extent based file storage (264 max file size)
    * Space efficient packing of small files
    * Space efficient indexed directories
    * Dynamic inode allocation
    * Writable snapshots
    * Subvolumes (separate internal filesystem roots)
    * Object level mirroring and striping
    * Checksums on data and metadata (multiple algorithms available)
    * Strong integration with device mapper for multiple device support
    * Online filesystem check
    * Very fast offline filesystem check
    * Efficient incremental backup and FS mirroring

Currently the code is in an early implementation phase. It is not optimized and many basic features still need to be added. However, Btrfs does perform well in a number of benchmarks, and it is ready for additional testing, review and analysis.




http://oss.oracle.com/projects/btrfs/

План работ обнадеживает.

 
В ответ на:

Btrfs Timeline

The early development push in Btrfs is to finalize the disk format to ensure it will perform well, allow future extensions and support all of the desired features. This document will be updated as things are completed and as plans change.

Current Status: Copy on write FS with checksumming, transactions, snapshotting and subvolumes. This is the core of the FS and it includes most of the functionality required for daily use. Currently IO errors and disk full conditions are not handled properly, and locking is implemented via a single FS-wide mutex.

With v0.10 (Jan 14, 2008), back references are implemented, along with an online growing and shrinking, a conversion program from Ext3, data=ordered support, and support for COW-free data writes.

Feb 15, 2008: Storage Pools allowing the FS to span multiple devices. Extent pointers will be expanded to include an extra 32 bit device id, and there will be at least one extent tree per device id. Each device in the FS will contain a copy of the table mapping device ids to extent trees and underlying storage.

March 31, 2008: Metadata striping and mirroring across devices. Each Btree will have an associated group of extent trees that it allocates blocks from. Policies will be defined to allow duplicated metadata both within an extent tree (for safety even in single spindle filesystems) and across trees.

April 30, 2008: Data extent striping and mirroring. Define allocation policies allowing file extents to be spread out across multiple devices.

May 31, 2008: Snapshot and subvolume directory trees, and per-directory snapshots. A flat directory is currently used to reference all snapshots, but a directory tree is required for easy administration. Per-directory snapshots will allow the creation of a snapshot of an arbitrary subtree inside the FS.

June 30, 2008: Offline fsck. Fsck will be continually updated and improved as the disk format changes, but by this time the offline fsck should be sufficient to find and fix most corruptions.

July 31, 2008: Data=ordered mode support, preventing null bytes in a file after a crash.

August 31 2008: Improved inode allocation algorithms, including the reservation of portions of the key space for inodes inside a given directory.

October 15 2008: Fine grained btree locking for concurrency.

October 31 2008: Ioctl interface for fast incremental backups and remote synchronization.

Jan 16 2009: Online fsck.




По первым ощущениям она рвет zfs и reiserfs 4 вместе взятые. :D
Интересно стоит ли ждать светлого будущего в 2009-м? :)






Редактировал bmv (25.08.2008 14:28)
Transit-forever
Mageia Linux provider
bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце туннеля? [re: bmv]
      25.04.2008 14:25
 

Первые тесты:
http://oss.oracle.com/projects/btrfs/dist/documentation/benc...





Transit-forever
Mageia Linux provider
adjkerntz

Рег.: 02.09.2005
Сообщений: 421
Рейтинг: 1445
  Re: Btrfs - свет в конце туннеля? [re: bmv]
      25.04.2008 19:27
1

выделил 7.5 гигов для тестов..
что-то у меня оно сыпется на bonnie++ rewrite-тесте, а через некоторео время вся система виснет :(

bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце туннеля? [re: adjkerntz]
      25.04.2008 23:37
 

Шли багрепорт.
http://oss.oracle.com/projects/btrfs/mailman/



Transit-forever
Mageia Linux provider
bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце туннеля? [re: adjkerntz]
      01.05.2008 18:15
 

В ответ на:

выделил 7.5 гигов для тестов..
что-то у меня оно сыпется на bonnie++ rewrite-тесте, а через некоторео время вся система виснет




Тестируй снова. :)

 
В ответ на:

Btrfs 0.14, Managing Multiple Devices
April 30, 2008 - 11:36am
Submitted by Jeremy on April 30, 2008 - 11:36am.
Linux news

"Btrfs v0.14 is now available for download," Chris Mason announced, adding, "please note the disk format has changed, and it is not compatible with older versions of Btrfs." The project has gained a new wiki home page on the kernel.org domain, where it is explained, "Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Initially developed by Oracle, Btrfs is licensed under the GPL and open for contribution from anyone." Regarding the latest release, Chris explained:

    "v0.14 has a few performance fixes and closes some races that could have allowed corrupted metadata in v0.13. The major new feature is the ability to manage multiple devices under a single Btrfs mount. Raid0, raid1 and raid10 are supported. Even for single device filesystems, metadata is now duplicated by default. Checksums are verified after reads finish and duplicate copies are used if the checksums don't match."

Chris offered links to multi-device benchmarks summarizing, "in general these numbers show that Btrfs does a good job at scaling to this storage configuration, and that is it on par with both HW raid and MD." Looking forward, he concluded, "next up on the Btrfs todo list is finishing off the device removal and IO error handling code. After that I'll add more fine grained locking to the btrees."




http://kerneltrap.org/Linux/Btrfs_0.14_Managing_Multiple_Dev...



Transit-forever
Mageia Linux provider
adjkerntz

Рег.: 02.09.2005
Сообщений: 421
Рейтинг: 1445
  Re: Btrfs - свет в конце туннеля? [re: bmv]
      02.05.2008 13:29
1

В ответ на:

Тестируй снова.




Да, все работает... но результаты bonnie++ хуже, чем у ext3 :(

Ext3:
Version 1.03bSequential OutputSequential InputRandom
Per Chr BlockRewritePer ChrBlockSeeks
SizeK/sec%CPK/sec%CPK/sec%CPK/sec%CPK/sec%CP/sec%CP
4G22527452354281123032537743258282102.90
Sequential CreateRandom Create
CreateReadDeleteCreateReadDelete
files/sec%CP/sec%CP/sec%CP/sec%CP/sec%CP/sec%CP
644342390 53877955181895 4299473

Btrfs:
Version 1.03bSequential OutputSequential InputRandom
Per Chr BlockRewritePer ChrBlockSeeks
SizeK/sec%CPK/sec%CPK/sec%CPK/sec%CPK/sec%CP/sec%CP
4G208676626098431168192468847256496111.21
Sequential CreateRandom Create
CreateReadDeleteCreateReadDelete
files/sec%CP/sec%CP/sec%CP/sec%CP/sec%CP/sec%CP
64562295 483596559595 544697


Странные результаты, с учетом http://oss.oracle.com/projects/btrfs/dist/documentation/benc... , где btrfs работает с мелкими файлами намного быстрее :(

p.s. для ядер с AppArmor (Ubuntu, OpenSUSE) может понадобиться следующий патч для корректной работы: http://oss.oracle.com/pipermail/btrfs-users/2008-January/000...

bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце туннеля? [re: adjkerntz]
      03.05.2008 02:55
 

Да пока по твоим данным не самолет пятого поколения. :(



Transit-forever
Mageia Linux provider
bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце тоннеля? [re: bmv]
      25.08.2008 14:47
 

Архитектура файловой системы btrfs

ышла статья "Архитектура и реализация btrfs" (PDF, 360Кб). Рассмотрены дисковая структура, базовые алгоритмы, основы администрирования.

http://www.filesystems.nm.ru/my/btrfs.pdf

Интересно почитать.

  v0.16 (August 2008)

v0.16 does change the disk format from v0.15, and it includes a long list of performance and stability updates.
Fine grained Btree locking

Locking is now done in a top down fashion while searching the btree, and higher level locks are freed when they are no longer required. Extent allocations still have a coarse grained lock, but that will be improved in the next release.
Improved data=ordered

Ordered data mode loosely means any system that prevents garbage or stale data blocks after a crash. It was previously implemented the same way ext3 does it, which is to force pending data writes down before a transaction commits.

The data=ordered code was changed to only modify metadata in the btree after data extents are fully written on disk. This allows a transaction commit to proceed without waiting for all the data writes on the FS to finish.

A single fsync or synchronous write no longer forces all the dirty data on the FS to disk, as it does in ext3 and reiserfsv3.

Although it is not implemented yet, the new data=ordered code would allow atomic writes of almost any size to a single file to be exported to userland.
ACL support (Josef Bacik)

ACLs are implemented and enabled by default.
Lost file prevention (Josef Bacik)

The VFS and posix APIs force filesystems allow files to be unlinked from a directory before they are deleted from the FS. If the system crashes between the unlink and the deletion, the file is still consuming space on disk, but not listed in any directory.

Btrfs now tracks these files and makes sure they are reclaimed if the system crashes before they are fully deleted.
New directory index format (Josef Bacik)

Btrfs indexes directories in two ways. The first index allows fast name lookups, and the second is optimized to return inodes in something close to disk order for readdir. The second index is an important part of good performance for full filesystem backups.

A per-directory sequence number is now used for the second index, removing some worst case conditions around files that are hard linked into the same directory many times.
Faster unmount times (Yan Zheng)

Btrfs waits for old transactions to be completely removed from the FS before unmount finishes. A new reference count cache was added to make this much less IO intensive, improving FS performance in all workloads.
Improved streaming reads and writes

The new data=ordered code makes streaming writes much faster. Streaming reads are improved by tuning the thread pools used to process data checksums after the read is done. On machines with sufficient CPU power to keep up with the disks, data checksumming is able to run as fast as nodatasum mounts.






Transit-forever
Mageia Linux provider
Idle
+++

Рег.: 30.11.2002
Сообщений: 7806
Рейтинг: 1198
  Re: Btrfs - свет в конце тоннеля? [re: bmv]
      25.08.2008 16:06
 

счас эти фс пишут и релизят все кому не лень
ext4, reiser4, btrfs, advfs, nilfs, logfs, tux3, omfs, crfs, pohmelfs
zfs read only кто-то собирался взять из grub/opensolaris (gpl2)

bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце тоннеля? [re: Idle]
      25.08.2008 16:38
 

В ответ на:

ext4, reiser4, btrfs, advfs, nilfs, logfs, tux3, omfs, crfs, pohmelfs
zfs r




HAMMER, AXFS ...

Ренессанс наступает. Застой в этой области поднадоел чертовски. А неприспособленность старых фс под новые условия и железо давно надо уже исправлять.

Понятно, что ты не любишь прогресс и экспериментирование, но тебе придется с этим смирится.

Будут скоро машины с корнями только на ssd, переливающиеся на RAM диск с btrfs на первом. :D

Как только устаканится все необходимые патчи для ядра, и стабилизируется фс, непременно переведу свою систему на эту конфигурацию. А пока поставлю 2009.0 на SSD. :cool:

Кста может кто знает где в Москве купить быстрый SSD размером менее 64 Гб??? :crazy:



Transit-forever
Mageia Linux provider
Idle
+++

Рег.: 30.11.2002
Сообщений: 7806
Рейтинг: 1198
  Re: Btrfs - свет в конце тоннеля? [re: bmv]
      25.08.2008 17:34
 

а где их вообще купить хоть какие?

из санрайза CF 300х и CF-IDE контроллер сметают быстро

bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце тоннеля? [re: Idle]
      25.08.2008 22:13
 

В ответ на:

а где их вообще купить хоть какие?




Эт. я не знаю, но хреновую флэшку я точно брать не буду.
Вот тут есть хорошие экземпляры:
http://www.ixbt.com/news/index.php?str=ssd&x=0&y=0

Благо объем не большой нужен, то думаю цена не должна быть заоблачной. 32, на крайний случай 16 Гб для корня хватает.
В магазинах пока ничего нет. :shocked:



Transit-forever
Mageia Linux provider
Idle
+++

Рег.: 30.11.2002
Сообщений: 7806
Рейтинг: 1198
  Re: Btrfs - свет в конце тоннеля? [re: bmv]
      25.08.2008 23:03
 

мне и 4Г хватит. так что жду CF

bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце туннеля? [re: adjkerntz]
      08.09.2008 19:13
 

В ответ на:

выделил 7.5 гигов для тестов..
что-то у меня оно сыпется на bonnie++ rewrite-тесте, а через некоторео время вся система виснет




Теперь можно не парится, btrfs включен в SystemRescueCd 1.1.0.

  Вышел релиз SystemRescueCd 1.1.0

Вышел релиз SystemRescueCd 1.1.0 специализированного LiveCD дистрибутива на основе Gentoo Linux, предназначенного для восстановления системы после сбоя.

Главные новшества:

    * Возможность включения в состав SystemRescueCd дополнительных пакетов, что значительно упрощает создание адаптированных под свои нужды версий SystemRescueCd. В состав дистрибутива включен стандартный набор утилит для сборки программ и управления пакетами из Gentoo Linux (gcc, make, emerge, equery и т.д.). Для быстрого удаления всех дополнительно установленных пакетов предусмотрен скрипт sysresccd-cleansys;
    * Подготовлена документация по пересборке Linux ядра для SystemRescueCd и по использованию rsync;
    * В состав включена система sysresccd-backstore, позволяющая сохранять изменения внесенные в процессе работы LiveCD на внешнем носителе. После перезагрузки изменения автоматически накладываются на базовую систему, работающую в режиме "только для чтения";
    * Возможность наименования сетевых интерфейсов в зависимости от MAC-адреса, например, во время загрузки можно указать: "rescuecd eth0=192.168.1.10/24 eth1=172.16.14.50 nameif=eth0!00:0C:29:57:D0:6E,eth1!00:0C:29:57:D0:64";
    * Обновление программ:
     o Linux ядро 2.6.25.16;
     o 0.16 релиз кода файловой системы btrfs;
     o текстовый редактор geany-0.14;
     o NTFS драйвер ntfs3g 1.2812;
     o новый драйвер для карт Realtek (RTL8111B/RTL8168B/RTL8111/RTL8168/RTL8111C) и альтернативный драйвер rtl8187 для беспроводных устройств;
     o gparted 0.3.8.

http://www.sysresccd.org/Main_Page

Можно теперь проводить тесты и ленивым. :)



Transit-forever
Mageia Linux provider
Idle
+++

Рег.: 30.11.2002
Сообщений: 7806
Рейтинг: 1198
  Re: Btrfs - свет в конце туннеля? [re: bmv]
      03.10.2008 14:10
1

Andrew Morton
 кому: Chris, linux-fsdevel, linux-kernel

On Mon, 29 Sep 2008 15:44:20 -0400 Chris Mason <chris.mason@oracle.com> wrote:
> But, the code is very actively developed, and I believe the best way to
> develop Btrfs from here is to get it into the mainline kernel (with a
> large warning label about the disk format) and attract more extensive
> review of both the disk format and underlying code.

For the record... I have been encouraging Chris to get btrfs into
mainline soon. Get it into linux-next asap and merge it into 2.6.29.

And do this even though the on-disk format is still changing - we emit a
loud printk at mount time and if someone comes to depend upon some
intermediate format, well, that's their tough luck.

My thinking here is that btrfs probably has a future, and that an early
merge will accelerate its development and will broaden its developer base.
If it ends up failing for some reason, well, we can just delete it
again.


For various reasons this approach often isn't appropriate as a general
policy thing, but I do think that Linux has needed a new local
filesystem for some time, and btrfs might be The One, and hence is
worth a bit of special-case treatment.

bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце туннеля? [re: Idle]
      04.10.2008 23:54
 

В ответ на:

merge it into 2.6.29.



Т.е. где-то в Марте, есть надежда получить ее поддержку в 2009.1. :D

О тогда и прикуплю себе SSD. А
В ответ на:

SSD optimized mode (activated through mount option)


поможет нам в доведении всей системы до совершенства. ;)

Останется только дождаться введения в основную ветку патча для ram-корня и тогда машина будущего будет у меня на столе.



Transit-forever
Mageia Linux provider
gadfatherАдминистратор
Carpal Tunnel

Рег.: 05.11.2003
Сообщений: 47302
Из: пл. Гагарина
Рейтинг: 16961
  Re: Btrfs - свет в конце тоннеля? [re: bmv]
      05.10.2008 00:01
 

Для светлого будущего не хватает рейда, нормально работающего в режиме перманентного ребилда.



You can't always get what you want
bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце туннеля? [re: bmv]
      13.10.2008 15:25
 

В ответ на:

Т.е. где-то в Марте, есть надежда получить ее поддержку в 2009.1.



Разогнался. :smirk:

В ответ на:

The roadmap for adoption includes alpha tests on laptops this year followed by alpha tests on servers next year, preview releases on community distros in 2010, incorporation in production OSes in 2011 and the start of enterprise adoption in 2012. Even if btrfs is "feature complete" in 2009, it will require extensive work to debug and tune for optimized performance before it is enterprise-ready, he said. Another critical step ahead is the addition of a userspace filesystem consistency checker for file recovery, Ts'o said, adding that the last 20% of the project requires 80% of the effort.




Linux Summit will preview new advanced file system

Хотя можнео уже констатировать, что btrfs станет следующей после ext4 файловой системой "по умолчанию". :)



Transit-forever
Mageia Linux provider
Idle
+++

Рег.: 30.11.2002
Сообщений: 7806
Рейтинг: 1198
  Re: Btrfs - свет в конце тоннеля? [re: bmv]
      26.11.2008 23:18
 

короткое интервью.
http://www.linuxfoundation.org/events/node/149

bmvМодератор
Archangel

Рег.: 22.11.2003
Сообщений: 9597
Из: Universe
Рейтинг: 1431
  Re: Btrfs - свет в конце тоннеля? [re: Idle]
      27.11.2008 01:04
 

В ответ на:


короткое интервью.




Собственно по ней он очень мало сказал, единственно что было "конкретно" - это ответ по срокам. :)



Transit-forever
Mageia Linux provider
Страницы: 0 | 20 | показать все | след. страница

Alt >> Hard&Soft.Linux

Дополнительная информация
0 зарегистрированных и 0 анонимных пользователей просматривают этот форум.

Модераторы:  YOжиk, botWi, bmv 
Владельцы: YOжиk

Печать темы
>>
Права
      Вы не можете создавать новые темы
      Вы не можете отвечать на сообщения
      HTML отключен
      UBBCode включен

Рейтинг:
Просмотров темы:

Переход в