SchedulingOptions Class

Definition

Options for configuring scheduler behavior.

public class SchedulingOptions
type SchedulingOptions = class
Public Class SchedulingOptions
Inheritance
SchedulingOptions

Constructors

Fields

Properties

ActivationSchedulingQuantum

Gets or sets the soft time limit on the duration of activation macro-turn (a number of micro-turns). If an activation was running its micro-turns longer than this, we will give up the thread. If this is set to zero or a negative number, then the full work queue is drained (MaxWorkItemsPerTurn allowing).

AllowCallChainReentrancy

Whether or not to allow reentrancy for calls within the same call chain.

DelayWarningThreshold

Gets or sets the work item queuing delay threshold, at which a warning log message is written. That is, if the delay between enqueuing the work item and executing the work item is greater than DelayWarningThreshold, a warning log is written.

EnableWorkerThreadInjection

For test use only. Do not alter from default in production services

MaxActiveThreads

The MaxActiveThreads attribute specifies the maximum number of simultaneous active threads the scheduler will allow. Generally this number should be roughly equal to the number of cores on the node.

MaxPendingWorkItemsSoftLimit

Gets or sets the per work group limit of how many items can be queued up before warnings are generated.

PerformDeadlockDetection

Whether or not to perform deadlock detection.

StoppedActivationWarningInterval

Gets or sets the period of time after which to log errors for tasks scheduled to stopped activations.

TurnWarningLengthThreshold

Gets or sets the soft time limit to generate trace warning when the micro-turn executes longer then this period in CPU.

Applies to