In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
The content of this article mainly focuses on how Linux's exFAT file system deletes large files more quickly. The content of the article is clear and clear. It is very suitable for beginners to learn and is worth reading. Interested friends can follow the editor to read together. I hope you can get something through this article!
Linux kernel developers have submitted a patch on exFAT optimization: when using the "dirsync" installation option, the cluster allocation bitmap will not synchronize the buffer buffer when each cluster bit is cleared, but will only be updated when the bitmap buffer index changes. This improvement greatly optimizes performance when deleting large files.
In version 5.12 of the Linux kernel, users of the exFAT file system will be much faster when deleting large files with the "dirsync" installation option set.
What is exFAT?
ExFAT (Extended File Allocation Table) is a file system developed by Microsoft that is more suitable for flash memory. The file system was first introduced from the company's Windows Embedded CE 6.0operating system, and then extended to the Windows Vista Service Pack 1 operating system. In 2019, Microsoft released the exFAT technical documentation and said it wanted to integrate exFAT functionality into the Linux kernel. In the same year, the exFAT file system was initially supported in version 5.4 of the Linux kernel.
The exFAT file system deletes large files faster
Recently, Linux kernel developers submitted a patch on exFAT optimization: when using the "dirsync" installation option, the cluster allocation bitmap will not synchronize the buffer buffer when each cluster bit is cleared, but will only be updated when the bitmap buffer index changes. This improvement greatly optimizes performance when deleting large files.
There are stressful update of cluster allocation bitmap when using
Dirsync mount option which is doing sync buffer on every cluster bit
Clearing. This could result in performance degradation when deleting
Big size file.
Fix to update only when the bitmap buffer index is changed would make
Less disk access, improving performance especially for truncate operation
When testing using the Samsung 256GB SD card, dirsync installation option, the time to delete 4GB files was reduced from 39 seconds to 1 second.
Thank you for reading, I believe you have a certain understanding of "Linux's exFAT file system how to delete large files faster", go to practice quickly, if you want to know more related knowledge points, you can follow the website! The editor will continue to bring you better articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 222
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.