One of the changes planned for Fedora 34 is the use of dnf-plugin-cow, which speeds up DNF/RPM operations by employing the Copy on Write (CoW) technique implemented over the Btrfs file system.
Comparison of the current and future methods for installing/updating RPM packages in Fedora.
Current method:
- Break down the installation/update request into a list of packages and actions.
- Download and verify the integrity of new packages.
- Sequentially install/update packages using RPM files, decompressing and writing new files to disk.
Future method:
- Break down the installation/update request into a list of packages and actions.
- Download and simultaneously extract packages into a locally optimized RPM file.
- Sequentially install/update packages using RPM files and reflink to reuse data already on disk.
To implement reflinking, the ioctl_ficlonerange(2)
is used. The expected performance increase is 50%. More precise data will be available in January.
Source: linux.org.ru
