FS#66765 - [samba] Add "vfs_io_uring" support

Attached to Project: Arch Linux
Opened by Mark (markg85) - Sunday, 24 May 2020, 13:39 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 14 August 2020, 14:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

https://wiki.samba.org/index.php/Samba_4.12_Features_added/changed#.27io_uring.27_vfs_module

Samba 5.12 adds in support for io_uring.

A dependency on "liburing" would have to be added and the module "vfs_io_uring" has to be added to the "--with-shared-modules" line.
I think :) (educated guess)

This "uring" stuff is apparently improving IO performance and reducing CPU utilization.
Both won't matter much if you're not CPU bound.. Still, Samba is often rather heavy on the CPU thus having this would be a win imho.
Also, having it compiled doesn't enable it yet. You'd still have to add this to your smb.conf to actually enable it:

...
[your share]
vfs objects = io_uring
...

A side-note though. I specifically notice heavy CPU usage on low powered ARM cpu's. There samba often gets 100% cpu usage when copying a file from it (odroid-xu4). There's trickery possible to get it to perform better (like forcing it to run on the high performance cores which it doesn't do by default). Still, getting the general CPU usage down in Samba (with uring) would be a win regardless. I'm "guessing" a change here would mean it gets picked up for Archlinux ARM too? Or should i make a bug report on that github page for this?
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Friday, 14 August 2020, 14:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.12.6-1

Loading...