研究了双粒度目录(DGD)下片上多核处理器的访存行为以及DGD对不同共享行为的目录开销,以进一步降低DGD结构的面积开销。针对DGD需要为共享缓存区域创建额外的块目录项的问题,提出了创新的区域共享的双粒度目录(RSDGD)结构。该结构可用一个区域共享目录项同时维护最多3个共享者共享同一个缓存区域的一致性,从而能有效减少所需的块目录项数量,降低总的目录开销。实验结果表明,和原有的DGD相比,该结构平均减少了25%的目录空间需求,而仅产生了不到0.6%的性能损失。该结构有效地降低了芯片的面积开销,提高了目录结构的可伸缩性。
The memory access behavior of chip multi-core processors under the dual-grain directory (DGD) structure and DGD' s directory overhead on sharing behavior were studied to decrease the area overhead of the DGD structure. Aiming at the problem that DGD needs to create additional block directory entries for shared cache regions, an in- novatory region shared DGD, called RSDGD, was proposed. The proposed directory can use one region shared di- rectory entry to track coherence information of a memory region for at most 3 sharers, thus the additional block di- rectory entries are efficiently reduced, and the directory area is saved. The experimental results show that the re- gion shared DGD can save the directory area by 25% in average compared with the former DGD solution, while the caused performance lost is just under 0.6%. This solution is proved to be effective in reducing chip area and in- creasing directory structure's elasticity.