首页> 外国专利> L1/L2 Apparatus and Method for detecting Working set Size of Application Based on L1/L2 Prefetch Characteristic in Many-core

L1/L2 Apparatus and Method for detecting Working set Size of Application Based on L1/L2 Prefetch Characteristic in Many-core

机译:基于多核的l1 / l2预取特性的l1 / l2设备及应用工作集大小的检测方法

摘要

The present invention provides a new method and device to identify a working set based on L1/L2 prefetch characteristics through various techniques such as a working set model and a stack model for dynamically identifying a working set of applications. The present invention comprises: a hardware performance counting part monitoring performance characteristics including the number of prefetches and the consumption of L1, L2 resources of cores; a hardware prefetching part predicting the next data to be approached by a core based on a monitoring result of the hardware performance counting part, and loading the predicted data from a memory into a CPU cache before the data approaches the memory; an extracting part extracting a memory address approached by each workload by using a PIN tool which identifies an address approach for confirming the working set based on the predicted data loaded by the hardware prefetching part; and a verification part allocating memory by verifying the size of the working set by analyzing a memory reference pattern of application based on the memory address extracted by the extracting part.
机译:本发明提供了一种新的方法和设备,其通过诸如工作集模型和用于动态识别应用程序的工作集的堆栈模型之类的各种技术,基于L1 / L2预取特性来识别工作集。本发明包括:硬件性能计数部分,监视性能特征,包括预取次数和核心的L1,L2资源的消耗。硬件预取部分基于硬件性能计数部分的监视结果预测内核将要访问的下一个数据,并在数据接近存储器之前将预测的数据从存储器加载到CPU缓存中;提取部分通过使用PIN工具提取每个工作负载所接近的存储器地址,该PIN工具基于由硬件预取部分加载的预测数据来标识用于确认工作集的地址方法;验证部分通过基于提取部分提取的存储器地址通过分析应用程序的存储器参考图案来验证工作集的大小来分配存储器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号