Mikuláš Patočka, one of the developers of LVM and the author of the series
When developing NVFS, the experience of the FS was taken into account
The proposed NVFS file system is much simpler than NOVA (4972 lines of code versus 21459), provides the fsck utility, has higher performance, supports extended attributes (xattrs), security labels, ACLs and quotas, but does not support snapshots.
FS Ext4 fits well into the model of file systems based on the VFS subsystem, which allows you to minimize the number of layers and get by with a module that does not require patching into the kernel.
NVFS uses a kernel interface
Data integrity is ensured by the mechanism "
В
In the million directory operation test, NVFS outperformed NOVA by 40%, ext4 by 22%, and XFS by 46%. When simulating DBMS activity, NVFS outperformed NOVA by 20%, ext4 by 18 times, and XFS by 5 times. In the fs_mark test, the performance of NVFS and NOVA turned out to be approximately on the same level, while ext4 and XFS lagged behind by about 3 times.
The lag of traditional FS on NVM memory is due to the fact that they are not designed for byte addressing, used in non-volatile memory, which looks like ordinary RAM. Reading from conventional drives ensures the atomicity of the operation at the sector read/write level, while NVM memory provides access at the level of individual machine words. In addition, traditional FSs try to reduce the intensity of accessing the media, which is considered as obviously slower than RAM, and also try to group operations to ensure sequential reading when using hard drives, process request queues, fight fragmentation, and prioritize the execution of different operations. . For NVM memory, such complications are unnecessary, since the data access speed is comparable to RAM, and the access order does not matter.
Source: opennet.ru