SMB2 performance is worse than SMB1 while iometer 512byte transfer
Jeremy Allison
jra at samba.org
Sat Sep 14 00:57:00 CEST 2013
On Fri, Sep 13, 2013 at 10:57:22PM +0800, Jones wrote:
> ========================
> With SMB2, there are 3 user-space items on the top of of kernel-space
> ia32_syscall.
> With SMB1, kernel-space ia32_syscall is on the top.
>
> "perf top -p <smbd_pid>" SMB2 enabled shows: (samba-4.0.9)
> 7.66% libtalloc.so.2.0.7 [.] talloc_chunk_from_ptr
> 4.02% libtalloc.so.2.0.7 [.] __talloc
> 3.87% libtalloc.so.2.0.7 [.] _talloc_free_internal
talloc_chunk_from_ptr should be inlined, so I'm assuming
inlined functions shouldn't show up on perf (I may be
wrong here :-).
How are you compiling smbd. Are you using -O<level> ?
Jeremy.
More information about the samba-technical
mailing list