In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

slow search in XP-Pro network

Xailer professional forum in English
Responder
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

slow search in XP-Pro network

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

slow search in XP-Pro network

Mensaje 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
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

slow search in XP-Pro network

Mensaje 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
>
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

slow search in XP-Pro network

Mensaje 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,
>
>
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

slow search in XP-Pro network

Mensaje 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,
>
>
Responder