CONTROLLING EXECUTION OF THREADS IN A MULTI-THREADED PROCESSOR

    公开(公告)号:CA2961705A1

    公开(公告)日:2016-05-06

    申请号:CA2961705

    申请日:2015-10-21

    Applicant: IBM

    Abstract: Execution of threads in a processor core is controlled. The processor core supports simultaneous multi-threading (SMT) such that there can be effectively multiple logical central processing units (CPUs) operating simultaneously on the same physical processor hardware. Each of these logical CPUs is considered a thread. In such a multi-threading environment, it may be desirous for one thread to stop other threads on the processor core from executing. This may be in response to running a critical sequence or other sequence that needs the processor core resources or is manipulating processor core resources in a way that other threads would interfere with its execution.

    DYNAMIC ENABLEMENT OF MULTITHREADING

    公开(公告)号:CA2940905A1

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

    申请号:CA2940905

    申请日:2015-03-19

    Applicant: IBM

    Abstract: Embodiments relate to dynamic enablement of multithreading. According to an aspect, a computer system includes a configuration with a core configurable between a single thread (ST) mode and a multithreading (MT) mode. The ST mode addresses a primary thread, and the MT mode addresses the primary thread and one or more secondary threads on shared resources of the core. The computer system also includes a multithreading facility configured to control the configuration to perform a method. The method includes executing in the primary thread in the ST mode, an MT mode setting instruction. A number of threads requested is obtained from a location specified by the MT mode setting instruction. Based on determining that the number of threads requested indicates multiple threads, the MT mode is enabled to execute the multiple threads including the primary thread and the one or more secondary threads.

Patent Agency Ranking