0
I have a problem in an application made in Genexus that doesn’t seem to me with much sense.
My Genexus settings are:
Genexus X Evolution 2 Upgrade 7 Build 109528
Generator C#
Environments I tested: Oracle, Postgresql and SQL Server
When I run a certain routine with the pool on IIS configured with the "Enable 32-bit applications" option active, the routine takes 1 second to run. If I disable this option on IIS and make the application run in 64 bits, it takes about 5, 6 seconds.
I generated the logs of the execution of the procedure in both 32 and 64 bits and came across these lines:
64 bits:
08:47:03,059 [1] DEBUG DataStoreProvider - Start DataStoreProvider.Ctr, Parameters: handle '1', dataStoreHelper:GeneXus.Programs.pft0027p__default
08:47:03,059 [1] DEBUG GxDataStore - Setting handle '1'
08:47:06,126 [1] DEBUG DataStoreProvider - Start DataStoreProvider.execute, Parameters: handle '1'
08:47:06,141 [1] DEBUG Cursor - Start Cursor.createCursor, Parameters: handle '1', state '1'
32 bits:
08:47:36,938 [1] DEBUG DataStoreProvider - Start DataStoreProvider.Ctr, Parameters: handle '1', dataStoreHelper:GeneXus.Programs.pft0027p__default
08:47:36,938 [1] DEBUG GxDataStore - Setting handle '1'
08:47:36,993 [1] DEBUG DataStoreProvider - Start DataStoreProvider.execute, Parameters: handle '1'
08:47:36,993 [1] DEBUG Cursor - Start Cursor.createCursor, Parameters: handle '1', state '1'
The difference in execution from one architecture to another, at least in this part of the execution, is in the line where the log says "Setting Handle".
If anyone has any ideas that could shed some light on me, I’d really appreciate it.
I have some questions: 1) Does this time difference even happen by running this object a second time ? because the first time can happen yes it takes a few seconds. 2) If the time is maintained, we would have to analyze what the pft0027p program does, especially before the first batch of data. To see if it is using any feature that is not optimized for 64 bits.
– Pablo Mazzilli
Thanks for the contact Pablo, let’s get to the clarifications: 1) The exorbitant time difference happens only once, in the second goes almost instantaneous... the question is that with the pool Recycle the problem happens again... 2) In case the time does not stay in the second execution of the routine, it is fast...
– José Nelson Cultri