CPU Thread Capping issues in 5.9-RC1

Hey all, looks like the environmental variables to cap PV CPU usage have changed in 5.9, does anyone know what the new ones are?

These are the environmental variables that cap the CPU usage PV can grab, and without them it will eat up all the CPU it can (and it is usually MUCH more than it needs).

I set them in 5.8 using the simple script below, but this is no longer working and my CPU usage is out of control during testing of 5.9-rc1.

#!/bin/bash
NP=$1
export KNOB_MAX_WORKER_THREADS=$NP
export OSPRAY_THREADS=$NP
echo $KNOB_MAX_WORKER_THREADS

thanks,

I believe that OSPRay has been updated between 5.8 and 5.9. I don’t know that we control what these environment variables are, so I’d check with upstream OSPRay for what may have changed. ParaView 5.9 is using v2.4.0.

Okay I was finally able to figure this out after digging through the documentation a bit more.

OSPRAY_THREADS has been renamed OSPRAY_NUM_THREADS in PV 5.9 and OSPRay 2.4