BESClient.exe priority

(imported topic written by mattp23)

Elsewhere on this site it is suggested that the besclient.exe runs with low priority…:

‘The BES Client process runs with a low priority so that if any other process requests the resources, the BES Client will release them immediately to that process’

However when viewing through taskmanager and pslist I see besclient has a priority of 8 (normal).

Can someone expand on this?

Many thanks,

Matt

(imported comment written by BenKus)

Hey Matt,

The BES Client (version 5.1 and earlier) process runs as “normal”, but when it launches its internal threads for relevance evaluation, it sets their priority to “Low”. In Task Manager, you see BESClient.exe still as “normal”, but I believe the threads will show as having a lower priority.

However, with BES 6.0+, we now set the BES Client threads to be “normal” to avoid situations we found where the BESClient process would be “starved” and wouldn’t be able to work properly.

We did some extensive testing and found that the process schedulers in all our supported operating systems reacted just fine with this change (properly yielded the CPU when the system was very busy, but still gave the BES Client a small slice of CPU to work with). In fact, in almost all situations, there wasn’t really any change in behavior between being a “low” and “normal” priority process (the exception being that in certain situations, the agent could be starved by another process).

I believe that today most the agents in the world are at BES 6.0 and we haven’t heard any issues with this change.

Ben