Setting Parameters
Use the following guidelines when setting scheduling parameters.
- Identify the relevant use cases before setting scheduling parameters.
- Associate a priority with each application.
- Determine appropriate timeslices.
Then using the environment variables listed below, specify the runlist interleave frequency, timeslice, and preemption type.
Environment Variable | Role | Values |
---|---|---|
NVRM_GPU_CHANNEL_ INTERLEAVE |
Sets runlist frequency for a context |
1: LOW 2: MEDIUM 3: HIGH |
NVRM_GPU_CHANNEL_ TIMESLICE |
Sets timeslice for a context |
Non-zero value in microseconds (minimum 1000 for 1?ms) |
NVRM_GPU_NVGPU_FORCE_ GFX_ PREEMPTION |
Enables GFXP |
0: off 1: on |
Note:
The environment variables apply to all contexts belonging to a process.