Methods and apparatuses for compiler-creating helper threads for multi-threading
    9.
    发明申请
    Methods and apparatuses for compiler-creating helper threads for multi-threading 审中-公开
    用于多线程的编译器创建帮助线程的方法和设备

    公开(公告)号:US20050071438A1

    公开(公告)日:2005-03-31

    申请号:US10676889

    申请日:2003-09-30

    IPC分类号: G06F9/38 G06F9/45 G06F15/167

    摘要: Methods and apparatuses for compiler-created helper thread for multi-threading are described herein. In one embodiment, exemplary process includes identifying a region of a main thread that likely has one or more delinquent loads, the one or more delinquent loads representing loads which likely suffer cache misses during an execution of the main thread, analyzing the region for one or more helper threads with respect to the main thread, and generating code for the one or more helper threads, the one or more helper threads being speculatively executed in parallel with the main thread to perform one or more tasks for the region of the main thread. Other methods and apparatuses are also described.

    摘要翻译: 本文描述了用于多线程的编译器创建的辅助线程的方法和装置。 在一个实施例中,示例性过程包括识别可能具有一个或多个拖欠负载的主线程的区域,所述一个或多个违规负载表示在执行主线程期间可能遭受高速缓存未命中的负载,分析该区域中的一个或多个 相对于主线程的更多帮助线程,以及为一个或多个辅助线程生成代码,一个或多个辅助线程与主线程并行地被推测地执行,以对主线程的区域执行一个或多个任务。 还描述了其它方法和装置。

    Thread-data affinity optimization using compiler
    10.
    发明授权
    Thread-data affinity optimization using compiler 有权
    线程数据亲和力优化使用编译器

    公开(公告)号:US08037465B2

    公开(公告)日:2011-10-11

    申请号:US11242489

    申请日:2005-09-30

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F8/45

    摘要: Thread-data affinity optimization can be performed by a compiler during the compiling of a computer program to be executed on a cache coherent non-uniform memory access (cc-NUMA) platform. In one embodiment, the present invention includes receiving a program to be compiled. The received program is then compiled in a first pass and executed. During execution, the compiler collects profiling data using a profiling tool. Then, in a second pass, the compiler performs thread-data affinity optimization on the program using the collected profiling data.

    摘要翻译: 线程数据亲和度优化可以在编译要在高速缓存相干非均匀内存访问(cc-NUMA)平台上执行的计算机程序时由编译器执行。 在一个实施例中,本发明包括接收要编译的程序。 接收的程序然后被编译成第一遍并被执行。 在执行期间,编译器使用分析工具收集分析数据。 然后,在第二遍,编译器使用收集的分析数据对程序执行线程数据关联优化。