September 27, 2022

COSFONE

Networking, PBX, IT, DIY Solution

Sony delivers over 73% performance improvement for exFAT Linux driver

2 min read

Sony delivers over 73% performance improvement for exFAT Linux driver



 

Sony delivers over 73% performance improvement for exFAT Linux driver

Sony engineers recently submitted a patch to improve the performance of the Linux kernel exFAT filesystem driver.

The exFAT file system is a replacement for FAT32, developed by Microsoft, but not only for Windows systems.

Currently exFAT is widely used throughout the electronics industry, especially in SD cards, USB flash drives, digital cameras and MP3 players.

 

According to the introduction , this improvement reduces block requests when the cluster is zeroed when the exFAT filesystem is mounted in its “dirsync” mode .

 

“If ‘dirsync’ is enabled, while zeroing the cluster, sector-by-sector commits will generate many block requests, causing the block device to not fully perform.

 

This commit method enables the sectors in the cluster to be submitted at one time, which will reduce the number of block requests and make the performance of the block device fully utilized. “

 

Testing by Sony engineer Yuezhang Mo on an Arm testbed with SD card storage showed this improvement resulted in a 73 percent performance boost or more. “On imx6q-sabrelite, performance has improved by over 73%.”

 

Sony delivers over 73% performance improvement for exFAT Linux driver

 

 

A simple test case where many directories were created, with a 256 KB cluster size, the time improvement decreased from 11 minutes 22 seconds to 1 minute 39 seconds.

With exFAT’s 64KB cluster size, the time to create 1000 directories was reduced from 3 minutes 34 seconds to 56 seconds.

 

The patch is currently listed as part of the Linux exFAT filesystem driver development branch, and the performance improvements are expected to land in the Linux 5.19 kernel this summer.

 



You may have missed