Page 1 of 1

dbfcdx and oplocks

Posted: Sat Apr 15, 2017 5:22 pm
by mol
Hi!
From some time my application (still based on dbfcdx) works slowly in the network.
I know it's caused by SMB2 protocol.
It's possible to turn off smb2 and use smb v.1, but I can't find right register settings.
Do anybody has knowledge about it?
I have no time to change architecture to client/server now...

Re: dbfcdx and oplocks

Posted: Sun Apr 16, 2017 1:50 am
by danielmaximiliano

Re: dbfcdx and oplocks

Posted: Sun Apr 16, 2017 6:47 am
by trmpluym
Marek,

Here you can find the info:

https://support.microsoft.com/nl-nl/hel ... erver-2012

Theo

Re: dbfcdx and oplocks

Posted: Sun Apr 16, 2017 9:29 am
by mol
Thx guys! I'll test it next week.

Re: dbfcdx and oplocks

Posted: Tue Apr 18, 2017 8:02 pm
by mol
Hi!
I left SMB1 enable only, SMB2 and SMB3 are disabled.
But still my app works slowly. Even if I want to read whole small dbf table into memory, it takes few seconds - whole file has some kBytes only.

Re: dbfcdx and oplocks

Posted: Wed Apr 19, 2017 6:45 am
by edk
Marek podeślij mi próbkę, potestuję.

Re: dbfcdx and oplocks

Posted: Wed Apr 19, 2017 6:49 am
by mol
Nie mam konkretnej próbki, próbuję na swojej aplikacji do fakturowania...

Re: dbfcdx and oplocks

Posted: Wed Apr 19, 2017 7:05 am
by edk
Jak możesz podeślij mi program z testowymi danymi, potestuję na swojej sieci. Osobiście korzystam z dbfntx i nie zauważyłem żadnych lagów, a wręcz przeciwnie, działa szybciej niż 16 bitowy blinker.

Re: dbfcdx and oplocks

Posted: Wed Apr 19, 2017 8:36 am
by mol
Dane na mailu :)
Hi!
Data on your mail.