![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, There is D3 7.2.1 on RH 7.2. NICE parameter in the pick0 file is set to 0. D3 runs basic programs (they may be same or different) on several phantoms talking to serial devices. I'm watching Linux 'top' command to audit performance and resource consumption. I notice that foregreground processes have NICE=0, while phantom ones have NICE=4, which are of lower priority AFAIK. Is there any way to uplift phantom process priority (NICE) in any way, groupwise or individually? Is there possible to set NICE=-19 (highest) up for phantoms? Could anybody shed some light over that? TIA Nick |
#3
| |||
| |||
|
|
You may be looking for the commands "set-batch" and "set-batchdly" which affect how processes priorities are modified. The "d3" command from *nix also has a "-i" argument to set the nice value on a per-port basis. I'm guessing that when D3 starts up phantoms it might default this value to "4" - I haven't looked at this stuff in years, sorry. HTH T |
#4
| |||
| |||
|
|
You may be looking for the commands "set-batch" and "set-batchdly" which affect how processes priorities are modified. The "d3" command from *nix also has a "-i" argument to set the nice value on a per-port basis. I'm guessing that when D3 starts up phantoms it might default this value to "4" - I haven't looked at this stuff in years, sorry. |
|
In fact phantoms get NICE value 4 points lower than is set in pick0 (for flusher). In other words if nice= -10 in pick0, then it equals to -6 for phantoms. |

#5
| |||
| |||
|
|
BTW (you may know this already) but while running top you can hit the 'r' key and it will prompt you for a PID to renice. You could also use the 'renice' command. You'll have to be logged in as root to change other users processes. Looks like you've got it figured out different way so this may not do much for you but it may come in handy in the future. |
![]() |
| Thread Tools | |
| Display Modes | |
| |