1c (accounting application) and samba 3.0.24: huge perfs problems

Matthieu Patou mat+Informatique.xen at matws.net
Sat Dec 6 09:25:15 GMT 2008


On 12/05/2008 12:54 AM, Jeremy Allison wrote:
> On Fri, Dec 05, 2008 at 12:22:00AM +0300, Matthieu Patou wrote:
>    
>> Hello all,
>>
>> We are running a samba 3.0.24 in production which hold files for 1c (a
>> russian accounting application), globaly the perfs are good but in some
>> kind of report not very big we have very huge slow down.
>>
>> I made a trace and I see something  70% of"Locking andX request/reponse"
>> request and roughly the same in term of volume.
>>
>> We can see that the application if reading a kind of 2/3 berkley db
>> files but just a few bytes at a time and at random places.
>>
>> I am wondering if it is the application that is badly designed and there
>> is nothing to do, or if with some parameters I could tweak samba so that
>> result can be better.
>>      
>
> Is this an appication accessed by one client ? Oplocks would help
> here if so (allowing the client to check locks locally and not
> have to go over the network).
>    
No it's a multiple client access but not everybody use it and of course 
not every time, but the application must have been designed for using 
oplocks or even if it is not the case this application could take 
advantage of oplocks ?

Matthieu.


More information about the samba-technical mailing list