HARDWARE THREAD SWITCHING FOR SCHEDULING POLICY IN A PROCESSOR

    公开(公告)号:US20200301735A1

    公开(公告)日:2020-09-24

    申请号:US16356348

    申请日:2019-03-18

    IPC分类号: G06F9/48

    摘要: Examples of techniques for hardware thread switching for scheduling policy in a processor are described herein. An aspect includes, based on receiving a request from a first software thread to dispatch to a first hardware thread, determining that the first hardware thread is occupied by a second software thread that has a higher priority than the first software thread. Another aspect includes issuing an interrupt to switch the second software thread from the first hardware thread to a second hardware thread. Another aspect includes, based on switching of the second software thread from the first hardware thread to the second hardware thread, dispatching the first software thread to the first hardware thread.

    Management of file cache
    3.
    发明授权
    Management of file cache 有权
    管理文件缓存

    公开(公告)号:US09465807B2

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

    申请号:US14057716

    申请日:2013-10-18

    IPC分类号: G06F17/30 G06F12/08 G06F12/12

    摘要: A method and computer program product for managing a file cache with a filesystem cache manager is disclosed. The method may include installing the filesystem cache manager for the file cache by a mount command. The filesystem cache manager may include a specified time interval and a first cache elimination instruction. The method may further include starting a first timer upon the installation of the filesystem cache manager. The method may further include running the first cache elimination instruction when the first timer reaches the specified time interval.

    摘要翻译: 公开了一种用于使用文件系统高速缓存管理器来管理文件高速缓存的方法和计算机程序产品。 该方法可以包括通过安装命令安装用于文件高速缓存的文件系统高速缓存管理器。 文件系统高速缓存管理器可以包括指定的时间间隔和第一高速缓存消除指令。 该方法还可以包括在安装文件系统高速缓存管理器时启动第一定时器。 该方法还可以包括当第一定时器到达指定的时间间隔时运行第一高速缓存消除指令。

    FILTERING MULTIPLE IN-MEMORY TRACE BUFFERS FOR EVENT RANGES BEFORE DUMPING FROM MEMORY
    4.
    发明申请
    FILTERING MULTIPLE IN-MEMORY TRACE BUFFERS FOR EVENT RANGES BEFORE DUMPING FROM MEMORY 有权
    在从存储器中删除事件范围之前过滤多个内存跟踪缓冲区

    公开(公告)号:US20160147653A1

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

    申请号:US14552942

    申请日:2014-11-25

    IPC分类号: G06F12/06

    CPC分类号: G06F11/3636

    摘要: A method for filtering multiple in-memory trace buffers for event ranges is provided. The method includes allocating a plurality of main trace buffers, based on the number of central processing units (CPU) participating in a trace. Each CPU has a dedicated main trace buffer, and each main trace buffer is circular. Each main trace buffer is divided into an equal number of sub-buffers. A plurality of events is written to the current sub-buffer. When the current sub-buffer is filled, events are written to the next sub-buffer. Events are extracted from at least one of the sub-buffers, starting with the sub-buffer that includes a compare time and ending at the end of the main trace buffer.

    摘要翻译: 提供了一种过滤用于事件范围的多个内存中跟踪缓冲区的方法。 该方法包括基于参与跟踪的中央处理单元(CPU)的数量分配多个主跟踪缓冲器。 每个CPU都有一个专用的主跟踪缓冲区,每个主跟踪缓冲区是循环的。 每个主跟踪缓冲区被分成相等数量的子缓冲区。 多个事件被写入当前子缓冲器。 当当前子缓冲区被填满时,事件被写入下一个子缓冲区。 从至少一个子缓冲器提取事件,从包括比较时间并在主跟踪缓冲器的末尾结束的子缓冲器开始。

    Adaptive lock list searching of waiting threads
    6.
    发明授权
    Adaptive lock list searching of waiting threads 有权
    等待线程的自适应锁列表搜索

    公开(公告)号:US08954974B1

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

    申请号:US14076223

    申请日:2013-11-10

    IPC分类号: G06F9/46 G06F9/52

    CPC分类号: G06F9/52 G06F9/524 G06F9/526

    摘要: A system and technique for adaptive lock list searching of waiting threads includes logic executable by a processor to: determine an average service time for a lock associated with a shared computing resource; determine an average search time for selecting a thread to next receive the lock from a plurality of threads waiting for the lock; sum the average service time and the average search time; apply a search factor to the summed average service time and average search time to obtain a target search time for searching the waiting threads for selecting the next thread for obtaining the lock; determine a quantity of waiting threads to consider for next obtaining the lock based on the target search time and the average search time, the quantity being less than a total quantity of waiting threads; and identify the next thread to obtain the lock from the quantity.

    摘要翻译: 用于等待线程的自适应锁列表搜索的系统和技术包括可由处理器执行的逻辑:确定与共享计算资源相关联的锁的平均服务时间; 确定用于选择线程以接下来从等待锁定的多个线程接收锁定的平均搜索时间; 求平均服务时间和平均搜索时间; 将搜索因子应用于求和的平均服务时间和平均搜索时间,以获得用于搜索等待线程以选择下一个线程以获得锁定的目标搜索时间; 基于目标搜索时间和平均搜索时间确定下一次获取锁的等待线程数量,该数量小于等待线程的总数; 并确定从数量获取锁的下一个线程。

    Averting lock contention associated with core-based hardware threading in a split core environment

    公开(公告)号:US10108453B2

    公开(公告)日:2018-10-23

    申请号:US15199258

    申请日:2016-06-30

    IPC分类号: G06F9/46 G06F9/48 G06F11/30

    摘要: Techniques are disclosed for managing lock contention in a multithreaded processing system. In one embodiment, a method includes tracking a current total amount of time that one or more software threads are prevented from execution due to a lock, a current utilization of one or more hardware threads in the processor, and a current number of dispatchable software threads. If the current total amount of time exceeds a predetermined threshold, the method includes performing a comparison of the current total amount of time, the current utilization, and the current number of dispatchable software threads to one or more past measurements. Based on the comparison, the method includes determining if reducing a number of active hardware threads will reduce a wait time. If reducing the number of active hardware threads will reduce the wait time, reducing the number of active hardware threads.

    Preventing software thread blocking due to interrupts

    公开(公告)号:US10019392B2

    公开(公告)日:2018-07-10

    申请号:US14737359

    申请日:2015-06-11

    IPC分类号: G06F13/24 G06F9/48

    CPC分类号: G06F13/24 G06F9/4881

    摘要: According to one exemplary embodiment, a method for preventing a software thread from being blocked due to processing an external device interrupt is provided. The method may include receiving the software thread, whereby the software thread has an associated interrupt avoidance variable. The method may also include determining a processor to receive the software thread. The method may then include sending the software thread to the determined processor. The method may further include setting an interrupt mask bit associated with the processor based on the interrupt avoidance variable. The method may also include receiving the external device interrupt. The method may then include redirecting the received external device interrupt to a second processor, whereby the redirecting is based on the interrupt mask bit.