XFS: Teaching an Old Dog Old Tricks
Dave Chinner
http://lca2018.linux.org.au/schedule/presentation/88/
XFS has been in production for more than 20 years and has been in the linux
kernel for 15 of them - it is the oldest of the current mainstream
Linux filesystems. The design of XFS was state of the art in the late 1980s,
when btrees, extents and journalling were shiny new concepts. While development
of XFS still continues, it's design and architecture is largely unchanged. many
of the tricks that XFS brought to Linux can now be found in other Linux
filesystems, too. It's the old dog of the pack.
We recently introduced a late-90s technology to XFS: shared data extents and a
copy-on-write IO path. The copy-on-write tree structure that first appeared in
the late 90s can be found in ZFS and BTRFS, but not XFS. So while XFS can now
provide some data manipulations like clones and deduplication, it doesn't provide
any of the more advanced CoW functionality like snapshots that traditional CoW
filesystems inherently provide.
Given that XFS doesn't have a copy-on-write architecture, can we use the new
functionality to provide a similar feature set to native COW filesystems? What
other old tricks do we need to pull out of the bag to make this a reality? And
how much will the result look like XFS?
In this talk I'll outline my crazy plan to add filesystem management concepts to
XFS that only copy-on-write filesystems current provide to Linux users. There
won't be anything "new" here - I'll describe the old tech that inspired the
algorithms and structures that we'll use and, more importantly, some of the
pitfalls and hard lessons learned from the original implementations of these
techniques.
With any luck, I'll present a coherent story of how we are going to bring
subvolumes, snapshots, writeable clones, send/receive remote snapshot
replication, page cache sharing and more to XFS without needing to change it's
underlying 1980s architecture. XFS may be an old dog, but there's still some
old tricks we can teach it to keep it shiny, new and relevant to users for years
to come.
This talk was given at Linux.conf.au 2018 (LCA2018) which was held on 22-26 January 2018 in Sydney Australia.
linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see https://linux.conf.au/
#linux.conf.au #linux #foss #opensource
Видео XFS: Teaching an Old Dog Old Tricks канала LinuxConfAu 2018 - Sydney, Australia
http://lca2018.linux.org.au/schedule/presentation/88/
XFS has been in production for more than 20 years and has been in the linux
kernel for 15 of them - it is the oldest of the current mainstream
Linux filesystems. The design of XFS was state of the art in the late 1980s,
when btrees, extents and journalling were shiny new concepts. While development
of XFS still continues, it's design and architecture is largely unchanged. many
of the tricks that XFS brought to Linux can now be found in other Linux
filesystems, too. It's the old dog of the pack.
We recently introduced a late-90s technology to XFS: shared data extents and a
copy-on-write IO path. The copy-on-write tree structure that first appeared in
the late 90s can be found in ZFS and BTRFS, but not XFS. So while XFS can now
provide some data manipulations like clones and deduplication, it doesn't provide
any of the more advanced CoW functionality like snapshots that traditional CoW
filesystems inherently provide.
Given that XFS doesn't have a copy-on-write architecture, can we use the new
functionality to provide a similar feature set to native COW filesystems? What
other old tricks do we need to pull out of the bag to make this a reality? And
how much will the result look like XFS?
In this talk I'll outline my crazy plan to add filesystem management concepts to
XFS that only copy-on-write filesystems current provide to Linux users. There
won't be anything "new" here - I'll describe the old tech that inspired the
algorithms and structures that we'll use and, more importantly, some of the
pitfalls and hard lessons learned from the original implementations of these
techniques.
With any luck, I'll present a coherent story of how we are going to bring
subvolumes, snapshots, writeable clones, send/receive remote snapshot
replication, page cache sharing and more to XFS without needing to change it's
underlying 1980s architecture. XFS may be an old dog, but there's still some
old tricks we can teach it to keep it shiny, new and relevant to users for years
to come.
This talk was given at Linux.conf.au 2018 (LCA2018) which was held on 22-26 January 2018 in Sydney Australia.
linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see https://linux.conf.au/
#linux.conf.au #linux #foss #opensource
Видео XFS: Teaching an Old Dog Old Tricks канала LinuxConfAu 2018 - Sydney, Australia
Показать
Комментарии отсутствуют
Информация о видео
25 января 2018 г. 2:42:45
00:46:48
Другие видео канала
A Brief History of I/OWhat are the Best Linux File Systems?XFS: Recent and Future Adventures in Filesystem Scalability - Dave ChinnerQUIC: Replacing TCP for the WebInkscape for absolute beginnersMake BTRFS The Default Filesystem On EVERY Linux DistroФайловая система XFS в CentOS 8SSD Life ExpectancyThe Tragedy of systemdKeeping Current: Maintaining an internal fork by Benno RiceIs Btrfs really better then EXT4?An introduction to the implementation of ZFS by Kirk McKusickLets LISP like it's 1959Explaining File Systems: NTFS, exFAT, FAT32, ext4 & MoreTechnology Preview of the Stratis Filesystem for Linux"NTFS really isn't that bad" - Robert Collins (LCA 2020)BTRFS Disaster | The problem | The solutionsEpisode12 : How to create Filesystem in LinuxXFS = NoGo | It crashed!Performance Test (Btrfs, ext4, f2fs and xfs) on Linux