System and Method for Predicting False Sharing
    2.
    发明申请
    System and Method for Predicting False Sharing 有权
    用于预测虚假共享的系统和方法

    公开(公告)号:US20150032971A1

    公开(公告)日:2015-01-29

    申请号:US14341438

    申请日:2014-07-25

    Abstract: In one embodiment, a method for predicting false sharing includes running code on a plurality of cores and tracking potential false sharing in the code while running the code to produce tracked potential false sharing, where tracking the potential false sharing includes determining whether there is potential false sharing between a first cache line and a second cache line, and where the first cache line is adjacent to the second cache line. The method also includes reporting potential false sharing in accordance with the tracked potential false sharing to produce a false sharing report.

    Abstract translation: 在一个实施例中,一种用于预测虚假共享的方法包括:在多个核心上运行代码并在运行代码时跟踪代码中的潜在错误共享以产生跟踪的潜在虚假共享,其中跟踪潜在的虚假共享包括确定是否存在潜在的错误共享 在第一高速缓存行和第二高速缓存行之间共享,并且其中第一高速缓存行与第二高速缓存行相邻。 该方法还包括根据跟踪的潜在虚假共享报告潜在的虚假共享,以产生虚假共享报告。

    System and method for detecting false sharing

    公开(公告)号:US10402292B2

    公开(公告)日:2019-09-03

    申请号:US15584749

    申请日:2017-05-02

    Abstract: In one embodiment, a method of false sharing detection includes performing, by a device, a plurality of optimization passes on source code, to produce optimized source code and receiving, by the device, selection criteria, The method also includes adding instrumentation to the optimized source code, by the device, after performing the plurality of optimization passes, to produce an instrumented code, where the instrumentation is configured to track memory access addresses and access types of global variables and heap variables in accordance with the selection criteria.

Patent Agency Ranking