Like most 'traditional' Genesys applications, OCS itself is mainly single threaded. It typically only uses 1-2 cores. You can tell because its CPU usage never exceeds 100% on a Linux host or for Windows 100%/no of cores (i.e. 100/4 = 25% on a 4 core host). Thus a 4 core CPU would normally run 2 OCS without any issue. Depending on what else is running on the host.
But to answer your question, I believe some Linux based hosts will allow you to specify which cores a process can use. Windows has 'Affinity' but you'd have to start the app via a batch file, or you install a 3rd party tool.
Personally, I don't worry about it and just let the OS do its job and distribute the load across the cores as needed. I just make sure there are enough total cores to support all the processes that are running so that one process can't use all the load on the server. And giving OCS can only use a small number of course, it can never max out all 32 cores.
------------------------------
Tony Morrow
Sr. Genesys Engineer
------------------------------
Original Message:
Sent: 09-26-2024 10:34
From: robin oy
Subject: How Genesys OCS uses the server's CPU
Can someone explain how the OCS service uses the CPU? The scenario is: two OCS services are deployed on a 32-core CPU server. How do these two OCS services use these 32 CPUs? Is it possible to use 1-16 for OCS1 and 17-32 for OCS2?
Thanks
#GenesysEngagePremDev
#Outbound
------------------------------
robin oy
eSOON Information Technology Co., Ltd
------------------------------