首页> 外国专利> Method for apparatus for prefetching linked data structures

Method for apparatus for prefetching linked data structures

机译:用于预取链接数据结构的设备的方法

摘要

Additional memory hardware in a computer system which is distinct in function from the main memory system architecture permits the storage and retrieval of prefetch addresses and allows the compiler to more efficiently generate prefetch instructions for execution while traversing pointer-based or recursive data structures. The additional memory hardware makes up a content addressable memory (CAM) or a hash table/array memory that is relatively close in cycle time to the CPU and relatively small when compared to the main memory system. The additional CAM hardware permits the compiler to write data access loops which remember the addresses for each node visited while traversing the linked data structure by providing storage space to hold a prefetch address or a set of prefetch addresses. Since the additional CAM is separate from the main memory system and acts as an alternate cache for holding the prefetch addresses, it prevents the overwriting of desired information in the regular cache and thus leaves the regular cache unpolluted. Furthermore, rather than having the addresses for the entire memory system stored in the CAM, only the addresses to those data nodes traversed along the pointer-based data structure are stored and thus remembered, which allows the size of the CAM to remain relatively small and access to the CAM by the CPU, relatively fast.
机译:在功能上与主存储系统体系结构不同的计算机系统中的其他存储硬件允许存储和检索预取地址,并允许编译器在遍历基于指针或递归的数据结构时更有效地生成要执行的预取指令。附加的存储器硬件构成了内容可寻址存储器(CAM)或哈希表/阵列存储器,其与CPU的循环时间相对较短,而与主存储器系统相比则相对较小。附加的CAM硬件允许编译器通过提供存储空间来保存预取地址或一组预取地址,从而在遍历链接的数据结构时记住访问的每个节点的地址的数据访问循环。由于附加CAM与主存储系统分开,并充当备用缓存来保存预取地址,因此它可以防止在常规缓存中覆盖所需信息,从而使常规缓存不受污染。此外,不是将整个存储器系统的地址存储在CAM中,而是仅存储并记住这些数据节点沿指针式数据结构遍历的地址,这使CAM的大小保持相对较小,并且CPU访问CAM的速度相对较快。

著录项

  • 公开/公告号US6687807B1

    专利类型

  • 公开/公告日2004-02-03

    原文格式PDF

  • 申请/专利权人 SUN MICROYSTEMS INC.;

    申请/专利号US20000551292

  • 发明设计人 PETER C. DAMRON;

    申请日2000-04-18

  • 分类号G06F90/00;

  • 国家 US

  • 入库时间 2022-08-21 23:13:05

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号