We did raise a case with IBM who suggested that we apply iFix04 when it became available. Batch Profiler performance has improved slightly but we have noticed a big difference when running Find Details from DCDesktop.
There is nothing specific in the Release Notes for iFix04 but if you are having performance issues in DCDesktop, it's worth getting some test results in a Test environment, then installing iFix04 and re-testing the same scenario to see if it makes a difference.
For example, we found that Find Details with iFix03 and a test document was taking 32 seconds to execute. Find Details with iFix04 and the same test document in the same environment is taking 1.6 seconds to execute - a vast improvement!
The customer is still carrying out testing, but initial results look positive.
Original Message:
Sent: Thu September 07, 2023 12:15 PM
From: K Mohan
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Shaun,
I am curious to see if you have found the root cause of the time lag between rrRuleEnd and nDefaultRtn entries in the log. We are experiencing something similar and wondering if IBM was able to assist you.
Regards
------------------------------
Mohan
Original Message:
Sent: Fri August 04, 2023 10:34 AM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Varun,
I will do that. I want to thank you and @Blue Devil for your help.
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Fri August 04, 2023 10:09 AM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Shaun,
We are on 9.1.8 but I saw the same entries as well but did not see that much lag. Also I am not sure if there is a way to disable it.
My recommendation would be to open a case with IBM at this moment.
------------------------------
Varun Gupta
Original Message:
Sent: Fri August 04, 2023 05:16 AM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Varun,
I think you're right - I hadn't noticed previously but those entries seem to appear in every RRS Log for Datacap 9.1.9. I even noticed it in VScan.rrs for a TravelDocs batch. So I guess the question is, is it a global setting or is it application-specific? There's nothing that I can find in the DCO.
Is it the same on your system?
Many thanks,
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Thu August 03, 2023 01:44 PM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Shaun,
I believe this is the root cause of more time. There are around 1200 occurrences of it in the log. At the end of the rule something is happening which is very hard to say unless I have the DCO
------------------------------
Varun Gupta
Original Message:
Sent: Thu August 03, 2023 01:14 PM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Varun,
Thanks again -
That has improved it to 45 seconds. I think that's probably the best we can do?
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Thu August 03, 2023 01:06 PM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
I found a way to completely disable the logs. Try this and observe the performance:
------------------------------
Varun Gupta
Original Message:
Sent: Thu August 03, 2023 12:56 PM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Shaun,
Please set the below to False. Close and reopen dcdesktop again to try:
------------------------------
Varun Gupta
Original Message:
Sent: Thu August 03, 2023 12:47 PM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Varun,
I had to make it a .docx in order to upload. You will need to remove the .docx extension in order to view.
Many thanks,
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Thu August 03, 2023 12:44 PM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Varun,
Many thanks - DCDesktop.exe.config attached.
Kind regards,
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Thu August 03, 2023 12:37 PM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Shaun,
DcDesktop logging cannot be turned off completely even after setting Writelog = False in the dcdesktop.exe.config.
Can you share your env dcdesktop.exe.config file?
------------------------------
Varun Gupta
Original Message:
Sent: Thu August 03, 2023 11:54 AM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi K Mohan,
This seems like a bug - I also tried setting the Rulerunner Service Log to 1 as the tool tip says that should disable logging, but that setting is ignored and log files are still created:
------------------------------
Shaun McDowall
Original Message:
Sent: Wed August 02, 2023 03:21 PM
From: K Mohan
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hello team,
(Sorry about posting in this thread). Will try to post separately, please ignore)
We recently upgraded to 9.1.9 and seeing similar issues.
Thanks,
Kavitha
------------------------------
K Mohan
Original Message:
Sent: Wed August 02, 2023 02:34 PM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Shaun,
Try the below steps:
- Change localhost to server IP or the actual directory path and observe performance
- In 8.1 you have C:\Datacap\TAC\batches
- In 9.1.9 you have \\localhost\Datacap\TAC\batches
- Turn off the Flush buffer under verify task settings
------------------------------
Varun Gupta
Original Message:
Sent: Wed August 02, 2023 01:41 PM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Uploading the RRS file from 919 with the deprecated actions.
------------------------------
Shaun McDowall
Original Message:
Sent: Wed August 02, 2023 12:37 PM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Varun,
Yes - I've uploaded both RRS Log files below.
Many thanks for your help.
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Wed August 02, 2023 12:08 PM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Shaun,
I am not sure about the 64 and 32 bit actions as I have never used 64 bit action.
Would you be able to share the complete RRS logs from 8.1 and 9.1.9?
------------------------------
Varun Gupta
Original Message:
Sent: Wed August 02, 2023 06:22 AM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi Varun / Blue Devil,
I replaced all of the newer actions in my Find Details ruleset with the old deprecated ones in Datacap 9.1.9 iFix03.
The Find Details ruleset in both versions is now identical. The locale has now been fixed also.
Here are the statistics:
Datacap 8.1: Find Details takes 15 seconds.
Datacap 9.1.9 with new actions: Find Details takes 90 seconds.
Datacap 9.1.9 with deprecated actions: Find Details takes 60 seconds.
My conclusion is that the deprecated actions are a little faster than their replacements but even using them, Datacap 9.1.9 still takes 4 times longer to execute the same ruleset and logic as Datacap 8.1.
Both servers are identical in terms of their CPU and RAM specification (4 vCPU, 8Gb RAM) and I tested using the same document.
I don't understand why the performance in the latest version should be so much worse than in Datacap 8.1. What else do you think I should be checking?
I do have one other question:
I noticed in the RRS Log Files that when running with the new 64-bit actions, I often see lines similar to this:
16:26:20.485 C:\Datacap\dcshared\NET\RuleRunnerLogic.dll. AssemblyVersion: 9.1.8.0. AssemblyFileVersion: 9.1.9.10 64Bit: False
If running the 64-bit action, shouldn't 64Bit be True?
Many thanks,
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Tue August 01, 2023 03:44 PM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Thanks Varun,
I shall try this tomorrow and update here.
Shaun
------------------------------
Shaun McDowall
Original Message:
Sent: Tue August 01, 2023 03:13 PM
From: Varun Gupta
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
I have a suggestion.
Please use the action from the deprecated library in 9.1.9 and check the performance. This will eliminate the possibility of slowness due to the new DLL.
------------------------------
Varun Gupta
Original Message:
Sent: Mon July 31, 2023 11:17 AM
From: Shaun McDowall
Subject: Batch Processing Slowness in Datacap 9.1.9 compared to Datacap 8.1
Hi,
We have carried out an upgrade from Datacap 8.1 to Datacap 9.1.9 iFix03. The customer is in UAT and has noticed that batch processing takes significantly longer in the new system compared to the old.
The upgrade did not make any major code or logic changes, merely replaced deprecated actions with the latest ones. However, both batch profiler and Find Details which is invoked from the Verify Panel take orders of magnitude longer under Datacap 9.1.9 than they used to.
For example, if I click Find Details in 8.1, it takes 15 seconds to execute against a test document. The same code, logic and document in 9.1.9 takes 1 minute and 30 seconds to execute.
I have been through the RRS log files and can find no obvious bottlenecks, just that the actions take longer to execute in 9.1.9. I have also compared the Registry settings for Rulerunner etc, but they are identical.
Has anyone else noticed this, and how did you overcome it? Alternatively, any suggestions are very welcome.
Many thanks,
Shaun
------------------------------
Shaun McDowall
------------------------------