How to enable MTQ in Cognos 10.2.2?
Posted: Fri May 15, 2015 9:25 am
Hi,
I would like to measure the impack of multithreaded support in Cognos 10.2 to performance.
I have read article http://ykud.com/blog/cognos/tm1-cognos/ ... ance-today There are tips to improve performance. The biggest benefit is stated as migrating from Cognos 10.1.+ to Cognos 10.2.+ There is info: "With MTQ they’ll finally be calculated on multiple CPUs at the same time, giving you near linear increase in performance. That’s right, with 4 cores the same view will be rendered almost 4 times faster"
I did the test.
I. Original Machine
a) Intel 4 CPU core machine (I can see four CPU columns in Windows Task Manager)
b) Windows 2008 R2 64-bit
c) Cognos BI 10.2.1 64-bit fixpack 6 (reports are here)
d) Cognos TM1 10.1.1
e) Cognos 10.1.1 64-bit fixpack 2
II. New Cognos 10.2.2 machine
I created virtual machine clone of above I. machine, so a) to d) are exactly the same.
e) Cognos 10.2.2 64-bit fixpack 2
In tm1s.cfg file I have added the new line at the bottom of file:
MTQ=4
Before test both virtual machines Windows restarted to be sure there is all started from zero and having no benefit of already in memory data.
Now tests:
In both machines (I. and II.) I have run Cognos BI one single report at the time to measure up an execute time with stopwatch and observe the Task Manager Process tab.
The result reports where executed in almost the same time and in both cases I have seen tm1sd.exe occupying 25% of CPU which is exactly 1 of 4 CPUs.
The vast majority of time I see tm1sd.exe in Task Manager in both I. and II. machine, so I think performance problem is at TM1 and not at Cognos BI site.
It looks to me that multithreading is not working in my case on Cognos 10.2.2 or at least it appears so - 25% of CPU consumption and the same reports execution times.
On II. computer I checked the tm1server.log file:
5572 [] INFO 2015-05-15 08:43:09.872 TM1.Server The server will use Parallel Interaction.
5572 [] INFO 2015-05-15 08:43:09.872 TM1.Server Server threading mode is thread per connection.
5156 [] INFO 2015-05-15 08:43:10.247 TM1.Server Dynamic Client Message Port: 52425
5572 [] INFO 2015-05-15 08:43:10.247 TM1.Server MTQ is enabled with 3 threads
From blog post: http://blog.tm1tutorials.com/2013/09/11 ... #more-1052 I see: "“Server threading mode is thread per connection” – weird enough since MTQ was enabled when this line appeared.
If I understand correctly multithreading is on, but for some reason is not accepted in my case.
Do I need to set something else to enable multithreading in TM1?
Is Cognos BI able to get benefit of TM1 multithreading?
Thanks
I would like to measure the impack of multithreaded support in Cognos 10.2 to performance.
I have read article http://ykud.com/blog/cognos/tm1-cognos/ ... ance-today There are tips to improve performance. The biggest benefit is stated as migrating from Cognos 10.1.+ to Cognos 10.2.+ There is info: "With MTQ they’ll finally be calculated on multiple CPUs at the same time, giving you near linear increase in performance. That’s right, with 4 cores the same view will be rendered almost 4 times faster"
I did the test.
I. Original Machine
a) Intel 4 CPU core machine (I can see four CPU columns in Windows Task Manager)
b) Windows 2008 R2 64-bit
c) Cognos BI 10.2.1 64-bit fixpack 6 (reports are here)
d) Cognos TM1 10.1.1
e) Cognos 10.1.1 64-bit fixpack 2
II. New Cognos 10.2.2 machine
I created virtual machine clone of above I. machine, so a) to d) are exactly the same.
e) Cognos 10.2.2 64-bit fixpack 2
In tm1s.cfg file I have added the new line at the bottom of file:
MTQ=4
Before test both virtual machines Windows restarted to be sure there is all started from zero and having no benefit of already in memory data.
Now tests:
In both machines (I. and II.) I have run Cognos BI one single report at the time to measure up an execute time with stopwatch and observe the Task Manager Process tab.
The result reports where executed in almost the same time and in both cases I have seen tm1sd.exe occupying 25% of CPU which is exactly 1 of 4 CPUs.
The vast majority of time I see tm1sd.exe in Task Manager in both I. and II. machine, so I think performance problem is at TM1 and not at Cognos BI site.
It looks to me that multithreading is not working in my case on Cognos 10.2.2 or at least it appears so - 25% of CPU consumption and the same reports execution times.
On II. computer I checked the tm1server.log file:
5572 [] INFO 2015-05-15 08:43:09.872 TM1.Server The server will use Parallel Interaction.
5572 [] INFO 2015-05-15 08:43:09.872 TM1.Server Server threading mode is thread per connection.
5156 [] INFO 2015-05-15 08:43:10.247 TM1.Server Dynamic Client Message Port: 52425
5572 [] INFO 2015-05-15 08:43:10.247 TM1.Server MTQ is enabled with 3 threads
From blog post: http://blog.tm1tutorials.com/2013/09/11 ... #more-1052 I see: "“Server threading mode is thread per connection” – weird enough since MTQ was enabled when this line appeared.
If I understand correctly multithreading is on, but for some reason is not accepted in my case.
Do I need to set something else to enable multithreading in TM1?
Is Cognos BI able to get benefit of TM1 multithreading?
Thanks