ksmbd: a new in-kernel SMB server (SAMBA+ blog)
ksmbd claims performance improvements on a wide range of benchmarks: the graphs on this page show a doubling of performance on some tests. There was also the notion that an in-kernel server is likely an easier place to support SMB Direct, which uses RDMA to transfer data between systems.Clearly, those number are impressive, but at the same time recent improvements in Samba's IO performance put this into perspective: by leveraging the new "io_uring" Linux API Samba is able to provide roughly 10x the throughput compared to ksmbd.
Time will tell whether it's better to reside in kernel-space like ksmbd or in user-space like Samba in order to squeeze the last bit of performance out of the available hardware.
There are two graphs that show some impressive results for Samba.
Posted Nov 5, 2021 1:18 UTC (Fri)
by smfrench (subscriber, #124116)
[Link] (3 responses)
Posted Nov 8, 2021 17:01 UTC (Mon)
by ncm (guest, #165)
[Link] (2 responses)
If so, the fact doesn't change that some can't and many others won't be converted.
Posted Nov 9, 2021 1:47 UTC (Tue)
by ttuttle (subscriber, #51118)
[Link] (1 responses)
I also wonder if the kernel version can be rewritten to use more of the strategies/APIs that make the userspace io_uring version so fast.
Posted Nov 17, 2021 15:47 UTC (Wed)
by smfrench (subscriber, #124116)
[Link]
Posted Nov 12, 2021 21:56 UTC (Fri)
by jrwren (subscriber, #97799)
[Link]
ksmbd: a new in-kernel SMB server (SAMBA+ blog)
ksmbd: a new in-kernel SMB server (SAMBA+ blog)
ksmbd: a new in-kernel SMB server (SAMBA+ blog)
ksmbd: a new in-kernel SMB server (SAMBA+ blog)
ksmbd: a new in-kernel SMB server (SAMBA+ blog)