cubewise-code / tm1py

TM1py is a Python package that wraps the TM1 REST API in a simple to use library.
http://tm1py.readthedocs.io/en/latest/
MIT License
190 stars 109 forks source link

CPU's for Performance #167

Closed jbeanz23 closed 5 years ago

jbeanz23 commented 5 years ago

Describe what did you try to do with TM1py Hi We have a Python server on a separate server then TM1. It currently has 2 CPU's. Will increasing the CPU's increase the performance of the Python calculations and what is the recommended number of CPU's?

Version

Thanks

MariusWirtz commented 5 years ago

Hi @jbeanz23 ,

I really depends on your use case. Most of the time we will use python in a single threaded mode I suppose. Here 2 CPUs should suffice.

However if you are doing really heavy calculations in python, and the calculations are the bottleneck, then parallelization will help. In that case I would argue the more CPUs the better.

Cheers,

Marius