Skip to content

Speed issues on low-end device compared to Samba4 #621

Description

@bademux

Hi,
Can we tune something for low power routers to match Samba4 in performance?
I'm using Xiaomi mir3g v1 (OpenWrt 24.10.0) with usb disk,
Ubuntu 24.10 and Windows 11 as clients.

Stock ksmdb and samba4 are comparable ~25MB/s read

For Samba 4 with I got solid 38MB/s (up to 43MB/s) read with extra configuration below:
smb.conf

aio read size = 0
aio write size = 0
use sendfile = yes

Wat can be tuned to achieve the same performance with ksmbd?

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions