Invention Grant
US09183048B2 System and method for implementing scalable contention-adaptive statistics counters
有权
用于实现可扩展的争用自适应统计计数器的系统和方法
- Patent Title: System and method for implementing scalable contention-adaptive statistics counters
- Patent Title (中): 用于实现可扩展的争用自适应统计计数器的系统和方法
-
Application No.: US13722811Application Date: 2012-12-20
-
Publication No.: US09183048B2Publication Date: 2015-11-10
- Inventor: David Dice , Yosef Lev , Mark S. Moir
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/48 ; G06F9/52 ; G06F9/38

Abstract:
The systems and methods described herein may implement scalable statistics counters that are adaptive to the amount of contention for the counters. The counters may be accessible within transactions. Methods for determining whether or when to increment the counters in response to initiation of an increment operation and/or methods for updating the counters may be selected dependent on current, recent, or historical amounts of contention. Various contention management policies or retry conditions may be applied to select between multiple methods. One counter may include a precise counter portion that is incremented under low contention and a probabilistic counter portion that is updated under high contention. Amounts by which probabilistic counters are incremented may be contention-dependent. Another counter may include a node identifier portion that encourages consecutive increments by threads on a single node only when under contention. Another counter may be inflated in response to contention for the counter.
Public/Granted literature
- US20140181827A1 System and Method for Implementing Scalable Contention-Adaptive Statistics Counters Public/Granted day:2014-06-26
Information query