You can specify the number of CPU cores used by TIBCO Spotfire Statistics Services (TSSS), by configuring a service property for TSSS.
(a)
For a standalone TSSS Service installation, by default, it will use all the CPU cores available in the server to execute jobs.
For an installation on Windows OS, you can use procrun to specify the engine count for TSSS service, as documented in
https://docs.tibco.com/pub/sf_statsvcs/11.4.5/doc/html/TIB_sf_statsvcs_11.4.5_installation/installation/topics/using_procrun_to_modify_a_java_property.html
- Go to directory SPSERVER_HOME/tomcat/bin/,
- Run TSSS<service_name>w.exe as Administrator
- add the Java Option, for example, -Dengine.count=4
For an installation on Unix/Linux OS, you can go to TSSS installation directory SPSERVER_HOME/init.d, edit the file "spserver" to specify
SPSERVER_ENGINES=4(b)
For a Cluster installation of TSSS service, TSSS service on the manager node by default will not execute jobs itself (engine count is set as 0), and the engine count for the worker node is set to the number of cores in the server by default.
For manager node on Windows OS: Go to directory
SPSERVER_Home/tomcat/bin/, Run TSSS<
service_name>w.exe as Administrator and add the Java Option:
-Dengine.count=4For worker node on Windows OS: Go to directory
SPSERVER_Home/worker/bin/, Run TSSS<
service_name>w.exe as Administrator and add the Java Option:
-Dengine.count=4For manager node on Unix/Linux OS: Go to directory
SPSERVER_Home/init.d, edit file "spserver", specify
SPSERVER_ENGINES=4For worker node on Unix/Linux OS, Go to directory
SPSERVER_Home/init.d, edit file "spserver", specify
SPSERVER_ENGINES=4Restart TSSS Service for the change to take effect.