CFROPTS parameter

From m204wiki
Revision as of 02:00, 7 April 2015 by Alex (talk | contribs) (→‎Summary)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Audit options

Summary

Default value
X'00'
Parameter type
System
Where set
On User 0's parameter line
Related products
All
Introduced
Model 204 V7.6

Description

The CFROPTS parameter can affect the handling of critical file resource enqueuing conflicts. The parameter contains bit settings with the following possible values:

Setting Meaning
X'01' Indicates that strict fair share enqueuing will be used. This prevents one thread from sneaking ahead of another in obtaining a critical file resource lock because it happens to be running before a thread that had been waiting for the lock before it. While this "sneaking ahead" can reduce CFR lock waits and associated swapping at low loads (because the sneaking thread might finish before the waiting one ever runs), it can increase waits and thrashing at high loads, and it can cause abysmal response times for updating threads.

The increased server swapping when CFROPTS X'01' is not set is caused by a variant of the thundering herd problem.