[Samba] Inconsistent performance (4.1.6)

gabe mart h8.l8ency at gmail.com
Thu Apr 10 11:41:14 MDT 2014


>
> Then your kernel is severely broken :-).
>
>
> Yes, but aio support is *completely broken* on glibc (only
> allows one outstanding event per file descriptor, which is
> 'helpful' :-), and has been known to cause crashes on
> FreeBSD.
>
> The only safe way to use aio is to use it via the
> samba-coded pthread module, which doesn't suffer
> from these problems.
>
>
> > Adding back in the socket options without the aio lines read performance
> goes
> > to ~55 and write to ~40 and no affect on the "bad" machines.
> >
> > Any way to rule out the performance being the samba server?
>
> Try a raw TCP transfer from the 'bad' machines.
>

Take up the broken kernel with Oracle ... weird things have happened since
the merge, but I have no idea why.

Not really a raw TCP transfer, but using a 'bad' mac I can achieve ~100
MB/s via NFSv3 TCP connection.

Also, after the test you asked me to run, I did leave those options off the
config.


More information about the samba mailing list