Re: [Samba] Old application very slow

2009-10-23 Thread Koenraad Lelong
Volker Lendecke schreef: On Fri, Oct 23, 2009 at 09:43:05AM +0200, Koenraad Lelong wrote: Now that I think of it, I don't see any files opened with oplocks ! All my locking options are default. Why are there no oplocks ? Once more than one app opens a file r/w, or the same app opens a file tw

Re: [Samba] Old application very slow

2009-10-23 Thread Volker Lendecke
On Fri, Oct 23, 2009 at 09:43:05AM +0200, Koenraad Lelong wrote: > Now that I think of it, I don't see any files opened with oplocks ! All > my locking options are default. Why are there no oplocks ? Once more than one app opens a file r/w, or the same app opens a file twice, all oplocks are gon

Re: [Samba] Old application very slow

2009-10-23 Thread Koenraad Lelong
Volker Lendecke schreef: On Thu, Oct 22, 2009 at 04:27:52PM +0200, Koenraad Lelong wrote: Koenraad Lelong schreef: Hi, I think I have a (temporary ?) solution : if I enable "fake oplocks" the application works fast. Since I was thinking of giving that application and it's database-files it'

Re: [Samba] Old application very slow

2009-10-22 Thread Volker Lendecke
On Thu, Oct 22, 2009 at 04:27:52PM +0200, Koenraad Lelong wrote: > Koenraad Lelong schreef: >> Koenraad Lelong schreef: > >>> Hi, >>> Thanks for your suggestions, but it didn't help. >>> >>> I'm setting up another samba-server to test. >>> In the mean time I tried the application on a linux-box wit

Re: [Samba] Old application very slow

2009-10-22 Thread Koenraad Lelong
Koenraad Lelong schreef: Koenraad Lelong schreef: Hi, Thanks for your suggestions, but it didn't help. I'm setting up another samba-server to test. In the mean time I tried the application on a linux-box with dosemu (it is a DOS application). The linux-box is connected to the samba-server w

Re: [Samba] Old application very slow

2009-10-22 Thread Koenraad Lelong
Koenraad Lelong schreef: Johan Hendriks schreef: A long shot, interfaces = 192.168.0.0/20, lo bind interfaces only = Yes try to set interfaces to just the interface name and the ipadres. Maybe it is a network problem. Hi, Thanks for your suggestions, but it didn't help. I'm setting u

Re: [Samba] Old application very slow

2009-10-22 Thread Koenraad Lelong
Johan Hendriks schreef: A long shot, interfaces = 192.168.0.0/20, lo bind interfaces only = Yes try to set interfaces to just the interface name and the ipadres. Maybe it is a network problem. Hi, Thanks for your suggestions, but it didn't help. I'm setting up another samba-server

Re: [Samba] Old application very slow

2009-10-21 Thread Johan Hendriks
>Adam Williams schreef: >> you might try adding: >> >> socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=65536 >> SO_SNDBUF=65536 SO_KEEPALIVE READ_SIZE=65536 >> >>use mmap = No >>use sendfile = Yes >>blocking locks = No >>read raw = no >>write raw =

Re: [Samba] Old application very slow

2009-10-20 Thread Koenraad Lelong
Adam Williams schreef: you might try adding: socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 SO_KEEPALIVE READ_SIZE=65536 use mmap = No use sendfile = Yes blocking locks = No read raw = no write raw = no kernel oplocks = no

Re: [Samba] Old application very slow

2009-10-19 Thread Michael Wood
2009/10/19 Koenraad Lelong : > Hi, > This weekend I migrated a samba-server to new hardware and software : I'm > running samba 3.2.7-11.3.2 on Opensuse 11.1. > Everything works fine I believe except for an old DOS-application, written > in Clipper. It's too slow to be usable. I tried to debug this

Re: [Samba] Old application very slow

2009-10-19 Thread Adam Williams
you might try adding: socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 SO_KEEPALIVE READ_SIZE=65536 use mmap = No use sendfile = Yes blocking locks = No read raw = no write raw = no kernel oplocks = no oplocks = yes l