smbd: High CPU usage

Rowland Penny rpenny at
Wed Jul 18 18:35:15 UTC 2018

On Wed, 18 Jul 2018 21:20:10 +0300
Vadim Lazovskiy via samba-technical <samba-technical at>

> I would not agree.
> sendfile is great. It makes you able to serve content directly from
> disk to network without unnessesery copying to userspace. It saves
> you lots syscalls and context switching.
> As for our workload profile (1-2Gbit per server) it really saves CPU
> time.
> If someone of samba developers treat this as bug and eager to fix it I
> could provide extra information and do some debugging.

One of the leading Samba developers has given you his advice, but you
choose to ignore it. I know if Volker suggested I try something, I
would at least try it before dismissing it out of hand.

It doesn't seem to be a bug and as such, it will probably not get
'fixed' as you call it.


More information about the samba-technical mailing list