Página 1 de 1

slow search in XP-Pro network

Publicado: Jue Jun 22, 2006 10:17 pm
por Ingo Junge-Herrmann
Hi Ignacio and Jose,
my project built with Pre7a and using the CDX-RDD runs on my customers peer
to peer network with 2 XP-Pro-computers. On the server (opportunistic locking
is disabled) the app is running very fast without any problem also the second
computer is connected too. But on the second one the search is very slow.
Any idea what the reason could be?
Thanks in advance
Ingo

slow search in XP-Pro network

Publicado: Vie Jun 23, 2006 9:23 am
por ignacio
Ingo,
The problem is XP I am afraid. This are some registry sets that should
increase the perfomance, but in my case did not. I had to move to ADS remote
server.
Regards,
FUNCTION SetNetworkClientScheme()
With Object TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
if :OpenKey(
" SystemCurrentControlSetServicesLanmanWorkStationParamete rs " ) == 0
if :GetNumeric( "EnableOpLocksForceClose" ) == 1
:CloseKey()
return nil
endif
:SetNumeric( "UseOpportunisticLocking", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocks", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocksForceClose", 1 ) // por defecto no
existe la clave
:SetNumeric( "UtilizeNtCaching", 0 ) // por defecto no
existe la clave
:SetNumeric( "UseLockReadUnlock", 0 ) // por defecto no
existe la clave
:CloseKey()
endif
if :OpenKey( "SystemCurrentControlSetServicesMRXSmbParameters" )
== 0 // XP
:SetNumeric( "OpLocksDisabled", 1 ) // por defecto no
existe la clave
:CloseKey()
elseif :OpenKey( "SystemCurrentControlSetServicesVxDVREDIR" ) == 0
// Win9x
:SetNumeric( "DiscardCacheOnOpen", 1 ) // por defecto ni idea
:CloseKey()
endif
End With
RETURN nil
//---------------------------------------------------------- --------------------
FUNCTION SetNetworkServerScheme()
With Object TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
if :OpenKey(
"SystemCurrentControlSetServicesLanmanServerParameters" ) == 0
if :GetNumeric( "EnableOpLocksForceClose" ) == 1
:CloseKey()
return nil
endif
:SetNumeric( "CachedOpenLimit", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocks", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocksForceClose", 1 ) // por defecto no
existe la clave
:SetNumeric( "SharingViolationDelay", 0 ) // por defecto no
existe la clave
:SetNumeric( "SharingViolationRetries", 0 ) // por defecto no
existe la clave
:CloseKey()
endif
End With
RETURN nil
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:[email=449afabe@ozsrvnegro.ozlan.local...]449afabe@ozsrvnegro.ozlan.local...[/email]
>
> Hi Ignacio and Jose,
>
> my project built with Pre7a and using the CDX-RDD runs on my customers
> peer
> to peer network with 2 XP-Pro-computers. On the server (opportunistic
> locking
> is disabled) the app is running very fast without any problem also the
> second
> computer is connected too. But on the second one the search is very slow.
>
> Any idea what the reason could be?
>
> Thanks in advance
>
> Ingo
>

slow search in XP-Pro network

Publicado: Vie Jun 23, 2006 9:23 am
por NoName
Ingo,
The problem is XP I am afraid. This are some registry sets that should
increase the perfomance, but in my case did not. I had to move to ADS remote
server.
Regards,
FUNCTION SetNetworkClientScheme()
With Object TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
if :OpenKey(
" SystemCurrentControlSetServicesLanmanWorkStationParamete rs " ) == 0
if :GetNumeric( "EnableOpLocksForceClose" ) == 1
:CloseKey()
return nil
endif
:SetNumeric( "UseOpportunisticLocking", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocks", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocksForceClose", 1 ) // por defecto no
existe la clave
:SetNumeric( "UtilizeNtCaching", 0 ) // por defecto no
existe la clave
:SetNumeric( "UseLockReadUnlock", 0 ) // por defecto no
existe la clave
:CloseKey()
endif
if :OpenKey( "SystemCurrentControlSetServicesMRXSmbParameters" )
== 0 // XP
:SetNumeric( "OpLocksDisabled", 1 ) // por defecto no
existe la clave
:CloseKey()
elseif :OpenKey( "SystemCurrentControlSetServicesVxDVREDIR" ) == 0
// Win9x
:SetNumeric( "DiscardCacheOnOpen", 1 ) // por defecto ni idea
:CloseKey()
endif
End With
RETURN nil
//---------------------------------------------------------- --------------------
FUNCTION SetNetworkServerScheme()
With Object TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
if :OpenKey(
"SystemCurrentControlSetServicesLanmanServerParameters" ) == 0
if :GetNumeric( "EnableOpLocksForceClose" ) == 1
:CloseKey()
return nil
endif
:SetNumeric( "CachedOpenLimit", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocks", 0 ) // por defecto no
existe la clave
:SetNumeric( "EnableOpLocksForceClose", 1 ) // por defecto no
existe la clave
:SetNumeric( "SharingViolationDelay", 0 ) // por defecto no
existe la clave
:SetNumeric( "SharingViolationRetries", 0 ) // por defecto no
existe la clave
:CloseKey()
endif
End With
RETURN nil
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:[email=449afabe@ozsrvnegro.ozlan.local...]449afabe@ozsrvnegro.ozlan.local...[/email]
>
> Hi Ignacio and Jose,
>
> my project built with Pre7a and using the CDX-RDD runs on my customers
> peer
> to peer network with 2 XP-Pro-computers. On the server (opportunistic
> locking
> is disabled) the app is running very fast without any problem also the
> second
> computer is connected too. But on the second one the search is very slow.
>
> Any idea what the reason could be?
>
> Thanks in advance
>
> Ingo
>

slow search in XP-Pro network

Publicado: Vie Jun 23, 2006 1:46 pm
por Ingo Junge-Herrmann
Ignacio,
thank you very much for the workaround. I will tell it to my customers administrator
then on my system I haven't this problem.
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>Ingo,
>
>The problem is XP I am afraid. This are some registry sets that should
>increase the perfomance, but in my case did not. I had to move to ADS remote
>server.
>
>Regards,
>
>

slow search in XP-Pro network

Publicado: Vie Jun 23, 2006 1:46 pm
por Ingo Junge-Herrmann
Ignacio,
thank you very much for the workaround. I will tell it to my customers administrator
then on my system I haven't this problem.
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>Ingo,
>
>The problem is XP I am afraid. This are some registry sets that should
>increase the perfomance, but in my case did not. I had to move to ADS remote
>server.
>
>Regards,
>
>