tcl.set-batchdly Verb: Access/TCL


Command tcl.set-batchdly Verb: Access/TCL
Applicable release versions: AP/Unix
Category TCL (746)
Description displays or changes the current sensitivity value for the interactive/batch trigger, as well as the weight of the trigger and the trigger cancel value.
Adjusting the relative priority of batch and interactive processes is done by a dynamic adjustment of both memory usage and disk access.

The setting affects the whole virtual machine, and remains in effect until the virtual machine is rebooted.

Number of concurrent disk reads performed by interactive processes that must be occurring for a batch process requesting a disk read to be suspended. This value should normally be set to one (1).

Bias value, expressed in milliseconds, to determine how important interactive processes are over batch processes. Its default value is 50 on 6.0 and below, and 0 on 6.1 and above. A null value minimizes the difference between interactive and batch processes. Batch processes are simply prevented from using too much memory.

Number that allows the entire machine to become batch when no interactive activity is taking place. Its' value is derived by taking the total number of memory buffers and dividing by 2.
Syntax set-batchdly {{trigger.value}{,{trigger.weight} {,{cancel.trigger}}}}
Trigger : 1. Delay : 1000 ms. Continous batch reads trigger : 9000
Display the current setting.

set-batchdly 1,100
Old trigger : 1. Delay : 1000 ms. Continous batch reads trigger : 9000
Set the a new 'trigger.weight' to 100 ms. In effect, this would 
artificially suspend batch processes which attempt doing a disk read while an 
interactive process is doing a disk read. The continuous batch trigger is 

:set-batchdly ,,500
Old trigger : 1. Delay : 100 ms. Continous batch reads trigger : 9000
Set the the 'cancel.trigger' value to 500. This indicates that when 
there are more than 500 disk reads performed by batch processes without any 
intervening interactive reads, normal priority will assigned to batch reads.
Related tcl.set-batch