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. The default value is 1000, meaning that 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: 1000

TOCIndex