Linux 6.1 welcomes Btrfs asynchronous buffer write patch: D double throughput
- An American company made 0.7nm chips: EUV lithography machines can’t do it
- CVE-2007-4559 Python vulnerability ignored for 15 years puts 350,000 projects at risk of code execution
- RISC-V only takes 12 years to achieve the milestone of 10 billion cores
- 14000 cores + 450W: RTX 4080 graphics card perfectly replaces the RTX 3080
- Big upgrade: The difference between Bluetooth 5.0 and 5.2
- Geeks Disappointed that RTX 4080/4090 doesn’t come with PCIe 5.0
- What are advantages and disadvantages of different load balancing?
Linux 6.1 welcomes Btrfs asynchronous buffer write patch: Double throughput.
The latest Btrfs async buffered write patch, which is currently queued in the Btrfs for-next Git repository, is expected to be merged in Linux 6.1.
The Btrfs Asynchronous Buffered Write Patch email describes the patch:
This patch series adds support for asynchronous buffered writes when using btrfs and io together . Currently io-uring only supports buffered writes in the slow path (for btrfs), with this patch series buffered writes in the fast path are now supported.
According to media Phoronix : Meta (Facebook) engineer Stefan Roesch has been working on a patch to add support for asynchronous buffered writes for Btrfs and IO_uring.
The benchmark results for this work are impressive:
Roesch commented on the performance results:
For an io depth of 1, the new patch more than doubles the throughput (compared to the existing behavior, where buffered writes are handled by the io-worker process), and the latency is also greatly reduced.
To achieve the same or better performance with existing code, an io depth of 4 would be required, and increasing the io depth further would not bring much improvement.
Before the Linux 6.1 merge window opened in early October, a bunch of optimization patches already existed in Kdave’s for-next Btrfs branch , the Btrfs asynchronous buffered write patch series described in this article being the main feature.
- DIY a PBX (Phone System) on Raspberry Pi
- How to host multiple websites on Raspberry Pi 3/4?
- A Free Intercom/Paging system with Raspberry pi and old Android phones
- DIY project: How to use Raspberry Pi to build DNS server?
- Raspberry Pi project : How to use Raspberry Pi to build git server?