-----Original Message----- From: dkwok <dkwok@iware.com.au> To: samba@lists.samba.org <samba@lists.samba.org> Date: Sunday, January 21, 2001 10:01 AM Subject: multi user access to 1 data file I am running v2.0.7 and have set up a network drive for an accounting ledger system. The software is called MYOB and is quite popular in Australia. This is the first time I have to deal with multi user access to 1 data file. My setup is: Global oplocks = yes socket options = TCP_NODELAY socket options = IPTOS_LOWDELAY [MYOB] path=/home/office/MYOB force group = office directory mask = 0770 browesable = yes writable = no readonly = no creat mask =0770 The MYOB program is executed local at workstation and only access data through the network drive. When only 1 workstation accessing the data the performance is quite normal. However, as soon as another workstation logged onto and accessing the same data file. The performance is not so slow that it takes 2 minutes to record a transaction. I have relocated the same data file into a win98 machine and all workstation access it from that machine. The performance is then back to normal. So either Samba is working differently when it is in multi user mode. This is only accessing data therefore we should be talking about file locking, transfer, read and write, etc. Please send me any pointers or tech reference in how to resolve this issue. David Kwok
-----Original Message----- From: dkwok <dkwok@iware.com.au> To: samba@lists.samba.org <samba@lists.samba.org> Date: Sunday, January 21, 2001 10:01 AM Subject: multi user access to 1 data file I am running v2.0.7 and have set up a network drive for an accounting ledger system. The software is called MYOB and is quite popular in Australia. This is the first time I have to deal with multi user access to 1 data file. My setup is: Global oplocks = yes socket options = TCP_NODELAY socket options = IPTOS_LOWDELAY [MYOB] path=/home/office/MYOB force group = office directory mask = 0770 browesable = yes writable = no readonly = no creat mask =0770 The MYOB program is executed local at workstation and only ccess data through the network drive. When only 1 workstation accessing the data the performance is quite normal. However, as soon as another workstation logged onto and accessing the same data file. The performance is not so slow that it takes 2 minutes to record a transaction. I have relocated the same data file into a win98 machine and all workstation access it from that machine. The performance is then back to normal. So either Samba is working differently when it is in multi user mode. This is only accessing data therefore we should be talking about file locking, transfer, read and write, etc. Please send me any pointers or tech reference in how to resolve this issue. David Kwok>
-----Original Message----- From: dkwok <dkwok@iware.com.au> To: samba@lists.samba.org <samba@lists.samba.org> Date: Sunday, January 28, 2001 2:08 PM Subject: Multi user access to 1 data file>I have posted before on this issue. > >Thank you for some reply I 've got so far. > >However it does not seem to solve my problem yet. > >Thank you for Chris on the issue of Win95 client causing data corruption on >shared data file. > >However, the problem is not only that Win95 corrupted data file. In >addition, the access time read and write is much slower if the data file is >put on Samba server compared to a Win98 machine. > >What I have tried so far are: > >oplocks = no >level2 oplock = no >ole compatibility = no >oplocks content limit = 4 (although I am not sure whether this is to dowith>the no. of acces client? Could anyone enlighten me on this issue) > >I heard that win98 vredir.vxd has significant improved and will not cause >any data corruption. However I don't know whether I should still turn off >the cache > >HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VsD\ >VREDIR\DiscardCOnOpen=1 > >The main question is why the performance of Win98 as a file server in this >case much better than Samba. With 2 client sharing a data file. Win98update>a file in 5 seconds compared to 1 min in the case of Samba server. > >Could someone from the Samba Team to comment this? This is probably too >technical for users! > >I would appreciate any suggestion or any pointers. > >David Kwok >