Re: Bad performance when accessing files over a network share
- From: "Ryan Hanisco" <rhanisco@xxxxxxxxxxxxxx>
- Date: Sat, 28 Jan 2006 18:45:31 +0000
Attila,
Are you sure that this is the only thing that is affecting youor file access performance. In 2000 SP4 and in 2003, SMB signing is turned on by default. This results in a more secure connection, but a 25% overhead on performance. In cases where there are a large number of small files being accessed -- banking and imaging applications or some databases -- this can be even more pronounced with the huge number of connections made to the files.
You might try turning SBM signing off.
http://support.microsoft.com/default.aspx?scid=kb;en-us;887429
Best Wishes,
Ryan Hanisco
"Attila Tajti" <Attila Tajti@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:B79F3101-9FFD-4D1A-8718-AA4D95C0DBA7@xxxxxxxxxxxxx:
I would like to ask if anyone knows a workaround to our problem. The problem is bad performance due to a problem with Opportunistic Locking in some Windows versions. We would need opportunistic locking (oplock) and it is enabled as works as expected, until the first concurrent client tries to call LockFileEx on a file someone else has also opened. The problem is documented in this knowledge base article:
http://support.microsoft.com/?kbid=306981
Whilst not on the list, we verified that this problem persists on Windows 2000 Server SP4 and Windows 2003 Server SP 1 as well.
The problem is that our ISAM database driver uses LockFileEx to lock parts of the database index files, which in effect will mark this file as "non-oplockable" as soon as the first concurrent access occurs. I understand that this LockFileEx call is probably unavoidable because the files are opened in shared mode to allow write access for concurrent clients to the same database.
We are already trying to get our hands on an improved ISAM database driver, but if LockFileEx is unavoidable this would provide no benefit for us. Accessing the database files locally is also out of question, unfortunately.
Are there any fixes or workarounds to this problem? Do you know any Microsoft Windows Server versions which aren't affected?
Any help would be appreciated.
.
- Follow-Ups:
- Re: Bad performance when accessing files over a network share
- From: Attila Tajti
- Re: Bad performance when accessing files over a network share
- Prev by Date: Re: Port 20000 state changes state to close!?
- Next by Date: Re: Trust Fails and Restored, now ACL has to be reassign
- Previous by thread: Name cache not updating itself
- Next by thread: Re: Bad performance when accessing files over a network share
- Index(es):