Newsgroups: comp.lang.clipper.visual-objects
From: paidos...@googlemail.com
Date: Sat, 10 Nov 2012 15:24:33 -0800 (PST)
Local: Sat, Nov 10 2012 6:24 pm
Subject: Re: Ang.: Windows 7 peer-peer 'speed issues"
Thanks for your input. Yep, it was an SMB2 issue. I was indeed finally able to manage the problem by importing those two registry files, as suggested by Jean-Luc Stassen in the thread "Windows 7 corruption network". For completeness, I repeat them here.
On the server:
REGEDIT4
; Windows NT, 2000/2003 & XP servers & workstations acting as servers
; ##NEW## - Additional setting for Vista when acting as a server in a
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer
; Prevent premature workstation disconnection - default is 0000000f
"autodisconnect" = dword:ffffffff
; This one is for Server 2003 - default is 2 minutes!
; This one disables the SMB2 protocol in Vista which causes major file-
; this is taken from http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1259708&SiteID=1
"SMB2" = dword:00000000
; Forces the server to really close a file when instructed
"CachedOpenLimit" = dword:00000000
; The following 2 entries force oplocks off
"EnableOpLockForceClose" = dword:00000001
"EnableOpLocks" = dword:00000000
; The following 2 entries force the server to immediately report a
; Although this looks wrong, it is actually the best option for
"SharingViolationDelay" = dword:00000000
"SharingViolationRetries" = dword:00000000
; This one is for Win2K and later
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb
"OplocksDisabled" = dword:00000001
On the workstation:
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation
; Disable oplocks
"UseOpportunisticLocking" = dword:00000000
"EnableOpLocks" = dword:00000000
"EnableOpLockForceClose" = dword:00000001
; Disable file caching - effectively forces a commit back to the
"UtilizeNtCaching" = dword:00000000
; Unlocks data immediately in response to an unlock request (improves
"UseUnlockBehind" = dword:00000001
; Allows data to be read even if another station has a lock in place -
"UseLockReadUnlock" = dword:00000000
; This one appears to be present in W2K onwards, although by default
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb
"OplocksDisabled" = dword:00000001
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||