Generally speaking, would it be better to increase the Maximum # Processes that Cognos can spawn and lower the # of affinity connections or vice versa?
We're currently in the process of tuning our Cognos 11.0.11 environment for production workloads. Our heaviest job contains 521 reports of varying complexity that are batch processed overnight. Concurrent running of reports is enabled within the job. Our distributed server architecture runs on a dedicated virtual HOST with the following servers & specs:
1 IIS/web server - 2 Cores/4GBs memory
2 Dispatcher servers - 4 Cores/16GBs memory each
2 Content Manager servers (1 is on standby for failover) - 4 virtual Cores each/8GBs memory each
1 Content Store DB Server - 4 Cores/4GBs memory
1 OLTP DB server - 12 Cores/32GBs memory
Currently our Batch Report Service settings during Non-Peak period which is when this job runs looks like this:
Number of high affinity connections for the batch report service during non-peak period: 1
Number of low affinity connections for the batch report service during non-peak period: 2
Maximum number of processes for the batch report service during non-peak period: 4
When I've watched the servers while the job is running it doesn't look like our Dispatch servers are being taxed unreasonably (30-50% CPU utilization; 60% memory). Our OLTP server on the other hand gets hit pretty hard; 1 see near max CPU utilization across all 12 Cores at times depending on which reports are executing. We are running on SQL Server 2017 and do have MAXDOP set to 4 with a Cost Threshold of 50.
Based on the current tuning settings above, I've observed up to 4 of the BiBus processes running on each Dispatcher server and up to 16 reports executing concurrently within the job at any given time.
Also, I know we have some poorly written reports as well as some that probably can be removed from the job. I'm trying to work with users to address these problems but that's a much longer-term battle that I also don't have as much control over. It would seem to me that right now our current bottleneck might be processing power on the OLTP server but I'm very interested into any feedback about tuning I can do on the Cognos side of things to help the situation. Thank You
------------------------------
Brad Chance
BI Developer
Park National Bank
Newark OH
------------------------------
#CognosAnalyticswithWatson