Preventing software thread blocking due to interrupts

    公开(公告)号:US10572411B2

    公开(公告)日:2020-02-25

    申请号:US16016739

    申请日:2018-06-25

    IPC分类号: G06F13/24 G06F9/48

    摘要: 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.

    Preventing software thread blocking due to interrupts

    公开(公告)号:US10019391B2

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

    申请号:US14663657

    申请日:2015-03-20

    IPC分类号: G06F3/00 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.

    PREVENTING SOFTWARE THREAD BLOCKING DUE TO INTERRUPTS

    公开(公告)号:US20160275025A1

    公开(公告)日:2016-09-22

    申请号:US14737359

    申请日:2015-06-11

    IPC分类号: G06F13/24

    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.

    MANAGEMENT OF FILE CACHE
    14.
    发明申请
    MANAGEMENT OF FILE CACHE 有权
    文件高速缓存的管理

    公开(公告)号:US20150113225A1

    公开(公告)日:2015-04-23

    申请号:US14057716

    申请日:2013-10-18

    IPC分类号: 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.

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

    PREVENTING SOFTWARE THREAD BLOCKING DUE TO INTERRUPTS

    公开(公告)号:US20180307637A1

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

    申请号:US16016739

    申请日:2018-06-25

    IPC分类号: G06F13/24 G06F9/48

    摘要: 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.

    PREVENTING SOFTWARE THREAD BLOCKING DUE TO INTERRUPTS
    17.
    发明申请
    PREVENTING SOFTWARE THREAD BLOCKING DUE TO INTERRUPTS 有权
    防止因中断而导致的软件阻塞

    公开(公告)号:US20160275024A1

    公开(公告)日:2016-09-22

    申请号:US14663657

    申请日:2015-03-20

    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.

    摘要翻译: 根据一个示例性实施例,提供了一种用于防止软件线程由于处理外部设备中断而被阻塞的方法。 该方法可以包括接收软件线程,由此软件线程具有相关联的中断避免变量。 该方法还可以包括确定处理器以接收软件线程。 该方法然后可以包括将软件线程发送到所确定的处理器。 该方法还可以包括基于中断避免变量来设置与处理器相关联的中断屏蔽位。 该方法还可以包括接收外部设备中断。 该方法可以包括将所接收的外部设备中断重定向到第二处理器,由此重定向基于中断屏蔽位。

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

    公开(公告)号:US08973007B1

    公开(公告)日:2015-03-03

    申请号:US14100087

    申请日:2013-12-09

    IPC分类号: G06F9/46 G06F9/52

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

    摘要: According to one aspect of the present disclosure, a method and technique for adaptive lock list searching of waiting threads includes determining an average service time for a lock associated with a shared computing resource; determining an average search time for selecting a thread to next receive the lock from a plurality of threads waiting for the lock; summing the average service time and the average search time; applying 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; determining 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 identifying the next thread to obtain the lock from the quantity.

    摘要翻译: 根据本公开的一个方面,用于等待线程的自适应锁列表搜索的方法和技术包括确定与共享计算资源相关联的锁的平均服务时间; 确定用于选择线程的下一次平均搜索时间从等待锁定的多个线程接收锁定; 求平均服务时间和平均搜索时间; 将搜索因子应用于相加的平均服务时间和平均搜索时间,以获得用于搜索等待线程以选择下一个线程以获得锁定的目标搜索时间; 基于目标搜索时间和平均搜索时间确定下一次获得锁的等待线程的数量,该数量小于等待线程的总数; 并从数量中识别下一个线程以获取锁定。