ksmbd 内核服务器(SMB/CIFS 服务器)
KSMBD is an opensource In-kernel CIFS/SMB3 server created by Namjae Jeon for Linux Kernel. It's an implementation of SMB/CIFS protocol in kernel space for sharing files and IPC services over network. Initially the target is to provide improved file I/O performances, but the bigger goal is to have some new features which are much easier to develop and maintain inside the kernel and expose the layers fully. Directions can be attributed to sections where SAMBA is moving to few modules inside the kernel to have features like RDMA(Remote direct memory access) to work with actual performance gain.
This code was developed in participation with the Protocol Freedom Information Foundation.
Please see
The development git tree is available at
For reporting bugs and sending patches, please send the patches to the following mail address:
or open issues/send PRs to KSMBD.
Install prerequisite package for Fedora, RHEL:
yum install kernel-devel-$(uname -r)Build step:
make
sudo make installTo load the driver manually, run this as root:
modprobe ksmbd cd [linux]
cp -ar ksmbd [linux]/fs/ source "fs/cifs/Kconfig"
+source "fs/ksmbd/Kconfig"
source "fs/coda/Kconfig" obj-$(CONFIG_CIFS) += cifs/
+obj-$(CONFIG_SMB_SERVER) += ksmbd/
obj-$(CONFIG_HPFS_FS) += hpfs/ [*] Network File Systems --->
SMB server supportbuild your kernel
Implemented
Planned
…ksmbd vs samba performance comparison using iozone (Linux Client)
ksmbd vs samba performance comparison using fileop (Linux Client)
ksmbd vs samba performance comparison using CrystalDiskMark (Windows Client)
暂无开放 Issues,或尚未同步最近议题。