149
submitted 2 days ago by cm0002@lemmy.cafe to c/linux@programming.dev

A patch for the open-source exFAT file-system driver for Linux can boost the sequential read performance by about 10% in preliminary tests.

There is a patch queued up into the exFAT driver's "dev" branch to support multi-cluster for the exfat_get_cluster code. Developer Chi Zhiling of China's Kylin OS worked on the patch and explained in the commit:

"This patch introduces a count parameter to exfat_get_cluster, which serves as an input parameter for the caller to specify the desired number of clusters, and as an output parameter to store the length of consecutive clusters.

This patch can improve read performance by reducing the number of get_block calls in sequential read scenarios. speacially in small cluster size.

According to my test data, the performance improvement is approximately 10% when read FAT_CHAIN file with 512 bytes of cluster size.

454 MB/s -> 511 MB/s"

With the patch now part of exFAT's dev branch, it's possible we will see this exFAT read performance improvement merged for the upcoming Linux 6.20~7.0 merge window. This is just one of several great performance optimizations observed in recent times for this exFAT adaptation for Linux.

you are viewing a single comment's thread
view the rest of the comments
[-] Lembot_0006@programming.dev -1 points 2 days ago

Does anyone even use exfat? What's the use case?

[-] cm0002@lemmy.cafe 31 points 2 days ago* (last edited 2 days ago)

Full native cross compatibility with basically everything modern, if you need a drive to work between Linux, Mac and windows or even a device like a Blu-ray player that's exfat

It's fat32, but better and without that annoying 4GB file limitation

[-] PabloSexcrowbar@piefed.social 1 points 2 days ago

I've never been able to get Windows to read an exFAT drive for some reason.

[-] cm0002@lemmy.cafe 4 points 2 days ago

That's actually crazy because windows these days actually defaults to formatting drives in exfat lmao

[-] PabloSexcrowbar@piefed.social 1 points 2 days ago

Fuckin right? I've formatted at least a couple different flash drives with exfat and taken them to various places to print stuff off of them and the drive never actually shows up when I plug it in. Switching it to NTFS or FAT32 always works, and I end up cursing out Microsoft every time.

[-] cm0002@lemmy.cafe 2 points 2 days ago

Do you do the initial formatting on the same windows machine? Maybe it's fucking up the format process in some way

[-] PabloSexcrowbar@piefed.social 1 points 2 days ago

Nope, I don't have any Windows machines so it's all done through fdisk and mkfs. I do use GPT instead of MBR but I didn't think that would matter.

[-] LiveLM@lemmy.zip 3 points 2 days ago

There's the answer, Windows loves doing this bs.
I've had multiple occasions where Windows couldn't read a Fat32 drive formatted somewhere else, had to format it on Windows first.
Nowadays I don't even try anymore, I do it from from a VM directly 🫩

[-] PabloSexcrowbar@piefed.social 4 points 2 days ago

I am untethered and my rage knows no bounds.

[-] hexagonwin@lemmy.sdf.org 13 points 2 days ago

it's basically slightly better fat32 so many devices use it e.g. my tv

[-] BlackEco@lemmy.blackeco.com 11 points 2 days ago

Mostly cameras, they all format SD cards in exFAT now.

[-] morto@piefed.social 10 points 2 days ago

Removable media and sd cards?

[-] BlackLaZoR@fedia.io 6 points 2 days ago

How do you want the USB drive to work with linux and windows otherwise???

[-] Lembot_0006@programming.dev -5 points 2 days ago

I don't?

I just asked. Nothing more.

[-] Creat@discuss.tchncs.de 4 points 2 days ago* (last edited 2 days ago)

You asked a very loaded question, implying seeing no use for the file system and/or no point to these optimizations as a result.

If you genuinely didn't know what exFAT is used for, or what is a common use of it is, you could've asked just that. Like "what is exFAT used for" or "I've never heard of this, an I using this and just don't know it?".

[-] frongt@lemmy.zip 2 points 2 days ago

Or just looked at the Wikipedia page

[-] Lembot_0006@programming.dev -2 points 2 days ago

You're overthinking the situation.

[-] SpaceNoodle@lemmy.world 7 points 2 days ago

You see that USB flash drive in the thumbnail?

this post was submitted on 17 Jan 2026
149 points (100.0% liked)

Linux

11181 readers
633 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS