Samba server performance -- only 33MiB/s with one client on 1G network!

Lev Serebryakov lev at
Tue Jul 9 16:10:32 UTC 2013

Hello, Lev.
You wrote 8 июля 2013 г., 1:02:24:

LS> Hello, Lev.
LS> You wrote 7 июля 2013 г., 23:37:04:

LS>>   So, smbd is NOT limited by:
LS>>     (1) FS (33MiB/s vs 280MiB/s).
LS>>     (2) Network (33MiB/s vs 820Mbit/s / 97MiB/s).
LS>>     (3) CPU (50% vs 100%, CPU is 150% idle!).
LS>>   Why samba performacne is so loosy? What could
LS>  I've "ktrace" smbd process in question and see a lot of
 Ok, poll() takes 98.5% of time spent by samba process! Is it Ok?!
 And getegid()/geteuid() is takes 30% of calls (but only 0.1% of time)!
 But this poll() prevalence is not clear to me. So, it wait something most
of time? What?

// Black Lion AKA Lev Serebryakov <lev at>

More information about the freebsd-performance mailing list