首页> 外国专利> System and method for implementing a NUMA aware statistics counter

System and method for implementing a NUMA aware statistics counter

机译:用于实现NUMA感知统计计数器的系统和方法

摘要

The systems and methods described herein may be used to implement scalable statistics counters suitable for use in systems that employ a NUMA style memory architecture. The counters may be implemented as data structures that include a count value portion and a node identifier portion. The counters may be accessible within transactions. The node identifier portion may identify a node on which a thread that most recently incremented the counter was executing or one on which a thread that has requested priority to increment the shared counter was executing. Threads executing on identified nodes may have higher priority to increment the counter than other threads. Threads executing on other nodes may delay their attempts to increment the counter, thus encouraging consecutive updates from threads on a single node. Impatient threads may attempt to update the node identifier portion or may update an anti-starvation variable to indicate a request for priority.
机译:本文描述的系统和方法可以用于实现适用于采用NUMA风格存储体系结构的系统的可伸缩统计计数器。计数器可以被实现为包括计数值部分和节点标识符部分的数据结构。在交易中可以访问计数器。节点标识符部分可以识别在其上正在执行最近递增计数器的线程的节点或正在执行的请求了优先级以递增共享计数器的线程的节点。在标识的节点上执行的线程可能比其他线程具有更高的优先级来递增计数器。在其他节点上执行的线程可能会延迟其增加计数器的尝试,从而鼓励单个节点上的线程进行连续更新。不耐烦的线程可能会尝试更新节点标识符部分,或者可能会更新抗饥饿变量以指示对优先级的请求。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号