Product Documentation

Database Administrator's Guide

Previous Topic

Next Topic

CRITICAL_SECTION_SPIN

CRITICAL_SECTION_SPIN <spin_limit>

Specify the spin count for FairCom DB critical sections on Windows. Only Windows versions supporting the CriticalSectionAndSpinCount() function (0x403 or greater) have this feature enabled.

This configuration option includes Unix/Linux systems. If the value is 1000, we try up to 1000 calls to pthread_mutex_trylock() before making the blocking pthread_mutex_lock() call. In a file open/close mutex contention test on a Linux system, a significant speedup was observed when using this option.

Default: The Windows default is 1000, the Unix/Linux default is 0.

TOCIndex