Ten to 1 expansion of SMB requests to fcntl system calls?

Richard Sharpe realrichardsharpe at gmail.com
Fri May 24 10:05:00 MDT 2013


On Thu, May 23, 2013 at 11:46 PM, Volker Lendecke
<Volker.Lendecke at sernet.de> wrote:
> On Thu, May 23, 2013 at 01:52:41PM -0700, Jeremy Allison wrote:
>> On Wed, May 22, 2013 at 09:04:50PM -0700, Richard Sharpe wrote:
>> > Hi folks,
>> >
>> > I have been running some dbench runs using the standard client.txt
>> > file and using dtrace to measure system calls made by the smbd.
>> >
>> > For ~97,000 requests (SMB1 requests) I see 1,288,252 fcntl syscalls.
>> > This seems excessive. Where might those be coming from?
>> >
>> > This is a FreeBSD 8.0 system.
>>
>> This is almost certainly the tdb locking primitives.
>
> True. But which tdb and what can we do about it?

Do we have stats on ops on TDBs? We could print those out at exit to
give us some idea which TDB is hit the most.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list