自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Linux 5.12 的 exFAT 文件系統(tǒng)可以更快刪除大文件

系統(tǒng) Linux
近日, Linux 內(nèi)核開發(fā)者提交了一個關(guān)于 exFAT 優(yōu)化的補(bǔ)?。寒?dāng)使用 “dirsync” 安裝選項時,集群分配位圖不會在每個集群位清除時都同步緩沖區(qū),而是只會在位圖緩沖區(qū)索引改變時才會更新。這一改進(jìn)可以大幅優(yōu)化刪除大文件時的性能。

在 Linux 內(nèi)核 5.12 版本中,使用 exFAT 文件系統(tǒng)的用戶,在刪除帶有 “dirsync” 安裝選項集的大文件時,將大幅提高速度。

[[376735]]

exFAT(Extended File Allocation Table),是微軟公司(Microsoft)開發(fā)的一種較適合于閃存的文件系統(tǒng)。最先從該公司的 Windows Embedded CE 6.0 操作系統(tǒng)引入這種文件系統(tǒng),后又延伸到 Windows Vista Service Pack 1 操作系統(tǒng)中。2019 年,微軟公開了 exFAT 技術(shù)文檔,并表示想將 exFAT 功能集成到 Linux 內(nèi)核中。同年,在 Linux 內(nèi)核 5.4 版本中,初步支持 exFAT 文件系統(tǒng)。

近日, Linux 內(nèi)核開發(fā)者提交了一個關(guān)于 exFAT 優(yōu)化的補(bǔ)?。寒?dāng)使用 “dirsync” 安裝選項時,集群分配位圖不會在每個集群位清除時都同步緩沖區(qū),而是只會在位圖緩沖區(qū)索引改變時才會更新。這一改進(jìn)可以大幅優(yōu)化刪除大文件時的性能。

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

在使用 Samsung 256GB SD卡, dirsync 安裝選項測試時,刪除 4GB 的文件時間由 39 秒縮短到 1秒。

 

目前,該補(bǔ)丁已經(jīng)打上了 dev 標(biāo)簽,預(yù)計將于 Linux 內(nèi)核 5.12 版本中發(fā)布。

本文轉(zhuǎn)自O(shè)SCHINA

本文標(biāo)題:Linux 5.12 的 exFAT 文件系統(tǒng)可以更快刪除大文件

本文地址:https://www.oschina.net/news/126880/linux-5-12-exfat-update

責(zé)任編輯:未麗燕 來源: 開源中國
相關(guān)推薦

2011-01-13 14:10:30

Linux文件系統(tǒng)

2020-07-22 14:53:06

Linux系統(tǒng)虛擬文件

2010-01-14 09:52:27

linux文件系統(tǒng)

2021-06-06 16:55:22

Linux文件系統(tǒng)

2021-04-12 05:44:44

Linux文件系統(tǒng)

2009-12-22 10:05:00

Linux文件系統(tǒng)

2011-01-11 10:29:35

Linux文件

2012-05-10 13:49:44

Linux文件系統(tǒng)

2020-09-25 07:48:12

Linux系統(tǒng)文件

2018-08-24 10:10:25

Linux文件系統(tǒng)技術(shù)

2019-09-20 10:04:45

Linux系統(tǒng)虛擬文件

2021-05-31 07:50:59

Linux文件系統(tǒng)

2011-01-13 13:18:38

Linux網(wǎng)絡(luò)文件

2021-11-01 13:38:55

Linux文件系統(tǒng)

2009-12-14 13:14:57

2020-01-15 09:10:13

LinuxWindowsmacOS

2009-12-25 09:58:46

linux劃分文件系統(tǒng)

2009-12-22 15:12:33

Linux擴(kuò)展文件系統(tǒng)

2022-08-16 16:00:05

Python

2018-01-10 12:42:09

Linux磁盤文件系統(tǒng)
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號