Optimization of thread wake up for shared processor partitions
    31.
    发明授权
    Optimization of thread wake up for shared processor partitions 有权
    为共享处理器分区优化线程唤醒

    公开(公告)号:US08156498B2

    公开(公告)日:2012-04-10

    申请号:US12130064

    申请日:2008-05-30

    IPC分类号: G06F9/46

    摘要: A mechanism is provided for biasing placement of a software thread on a currently idle and dispatched processor. The operating system starts with the last logical processor on which the software thread ran and determines whether that processor is idle and dispatched and considers each logical processor until a currently dispatched and idle logical processor is found. If a currently dispatched and idle logical processor is not found, then the operating system biases placing the software thread on an idle logical processor.

    摘要翻译: 提供了一种用于偏置软件线程在当前空闲和调度的处理器上的布置的机制。 操作系统从软件线程运行的最后一个逻辑处理器开始,并确定该处理器是否空闲和调度,并考虑每个逻辑处理器,直到找到当前调度和空闲的逻辑处理器。 如果没有找到当前调度和空闲的逻辑处理器,则操作系统偏置将软件线程放置在空闲逻辑处理器上。

    Demand-Based Memory Management of Non-pagable Data Storage
    32.
    发明申请
    Demand-Based Memory Management of Non-pagable Data Storage 失效
    基于需求的不可分析数据存储管理

    公开(公告)号:US20120005448A1

    公开(公告)日:2012-01-05

    申请号:US12827063

    申请日:2010-06-30

    IPC分类号: G06F12/02 G06F12/10 G06F12/00

    CPC分类号: G06F12/023 G06F12/0253

    摘要: Management of a UNIX-style storage pools is enhanced by specially managing one or more memory management inodes associated with pinned and allocated pages of data storage by providing indirect access to the pinned and allocated pages by one or more user processes via a handle, while preventing direct access of the pinned and allocated pages by the user processes without use of the handles; scanning periodically hardware status bits in the inodes to determine which of the pinned and allocated pages have been recently accessed within a pre-determined period of time; requesting via a callback communication to each user process to determine which of the least-recently accessed pinned and allocated pages can be either deallocated or defragmented and compacted; and responsive to receiving one or more page indicators of pages unpinned by the user processes, compacting or deallocating one or more pages corresponding to the page indicators.

    摘要翻译: 通过专门管理与固定和分配的数据存储页面相关联的一个或多个存储器管理异常节点,通过一个或多个用户进程通过句柄间接访问被固定和分配的页面来增强对UNIX风格存储池的管理,同时防止 用户进程直接访问固定和分配的页面,而不使用手柄; 周期性地扫描inode中的硬件状态位,以确定在预定时间段内最近访问的被固定和分配的页面中的哪一个; 通过对每个用户进程的回调通信来请求,以确定哪个最近访问的固定和分配的页面可以被解除分配或碎片整理和压缩; 并且响应于接收由用户进程解除的页面的一个或多个页面指示符,压缩或取消分配对应于页面指示符的一个或多个页面。

    METHOD AND APPARATUS FOR MOVING THREADS IN A SHARED PROCESSOR PARTITIONING ENVIRONMENT
    33.
    发明申请
    METHOD AND APPARATUS FOR MOVING THREADS IN A SHARED PROCESSOR PARTITIONING ENVIRONMENT 失效
    用于在共享处理器分配环境中移动螺纹的方法和装置

    公开(公告)号:US20090217276A1

    公开(公告)日:2009-08-27

    申请号:US12038063

    申请日:2008-02-27

    IPC分类号: G06F9/46

    摘要: The present invention provides a computer implemented method and apparatus to assign software threads to a common virtual processor of a data processing system having multiple virtual processors. A data processing system detects cooperation between a first thread and a second thread with respect to a lock associated with a resource of the data processing system. Responsive to detecting cooperation, the data processing system assigns the first thread to the common virtual processor. The data processing system moves the second thread to the common virtual processor, whereby a sleep time associated with the lock experienced by the first thread and the second thread is reduced below a sleep time experienced prior to the detecting cooperation step.

    摘要翻译: 本发明提供了一种计算机实现的方法和装置,用于将软件线程分配给具有多个虚拟处理器的数据处理系统的公共虚拟处理器。 数据处理系统相对于与数据处理系统的资源相关联的锁检测第一线程和第二线程之间的协作。 响应于检测合作,数据处理系统将第一线程分配给公共虚拟处理器。 所述数据处理系统将所述第二线程移动到所述公共虚拟处理器,由此与所述第一线程和所述第二线程所经历的锁相关联的休眠时间减少到在所述检测合作步骤之前经历的睡眠时间以下。

    Method for graphical display of CPU utilization
    34.
    发明授权
    Method for graphical display of CPU utilization 失效
    CPU利用率的图形显示方法

    公开(公告)号:US07460122B1

    公开(公告)日:2008-12-02

    申请号:US12035800

    申请日:2008-02-22

    IPC分类号: G06T11/20

    CPC分类号: G06F11/328

    摘要: A method for graphically displaying central processing unit consumption for at least one variable capacity or uncapped partition including displaying CPU utilization or consumption of at least one variable capacity or uncapped partition in a variable-size colored pie chart. The pie chart shows time spent in at least one of user mode, operating system mode, I/O wait mode, or idle mode, with each mode being represented by a different color. An entitlement indicator is displayed for the effective minimum capacity of the at least one variable capacity or uncapped partition.

    摘要翻译: 一种用于以图形方式显示至少一个可变容量或未分配分区的中央处理单元消耗的方法,包括在可变大小的彩色饼图中显示CPU利用率或至少一个可变容量或未分配分区的消耗。 饼图显示用户模式,操作系统模式,I / O等待模式或空闲模式中的至少一种所花费的时间,每个模式由不同的颜色表示。 对于至少一个可变容量或未加盖分区的有效最小容量显示权利指示符。

    Method, Apparatus, and Program Product for Heuristic Based Affinity Dispatching for Shared Processor Partition Dispatching
    35.
    发明申请
    Method, Apparatus, and Program Product for Heuristic Based Affinity Dispatching for Shared Processor Partition Dispatching 有权
    用于共享处理器分区调度的基于启发式的亲和度调度的方法,设备和程序产品

    公开(公告)号:US20070271563A1

    公开(公告)日:2007-11-22

    申请号:US11419019

    申请日:2006-05-18

    IPC分类号: G06F9/46

    摘要: A mechanism is provided for determining whether to use cache affinity as a criterion for software thread dispatching in a shared processor logical partitioning data processing system. The server firmware may store data about when and/or how often logical processors are dispatched. Given these data, the operating system may collect metrics. Using the logical processor metrics, the operating system may determine whether cache affinity is likely to provide a significant performance benefit relative to the cost of dispatching a particular logical processor to the operating system.

    摘要翻译: 提供了一种用于确定是否使用高速缓存亲和力作为在共享处理器逻辑分区数据处理系统中的软件线程调度的标准的机制。 服务器固件可以存储关于何时和/或多少逻辑处理器被调度的数据。 鉴于这些数据,操作系统可能会收集指标。 使用逻辑处理器度量,操作系统可以确定高速缓存关联性是否可能相对于将特定逻辑处理器调度到操作系统的成本提供显着的性能优点。

    Method and system for managing lock contention in a computer system
    36.
    发明授权
    Method and system for managing lock contention in a computer system 有权
    在计算机系统中管理锁争用的方法和系统

    公开(公告)号:US06845504B2

    公开(公告)日:2005-01-18

    申请号:US09779369

    申请日:2001-02-08

    IPC分类号: G06F7/00 G06F9/46 G06F12/00

    CPC分类号: G06F9/526

    摘要: A system and method for efficiently managing lock contention for a central processing unit (CPU) of a computer system. The present invention uses both spinning and blocking (or undispatching) to manage threads when they are waiting to acquire a lock. In addition, the present invention intelligently determines when the program thread should spin and when the program thread should become undispatched. If it is determined that the program thread should become undispatched, the present invention provides efficient undispatching of program threads that improves throughput by reducing wait time to acquire the lock. A lock contention management system includes a dispatcher for managing the execution of threads on CPUs as well as threads that are currently ready to run but not executing because they are waiting for an available CPU, a dispatch management module that determines when a program thread should become undispatched to wait on a lock and when the program thread should spin, and low-priority execution module for undispatching the program thread. The present invention also includes a lock contention management method using the above system.

    摘要翻译: 一种用于有效地管理计算机系统的中央处理单元(CPU)的锁争用的系统和方法。 本发明使用旋转和阻塞(或未分配)来管理线程在等待获取锁定时。 此外,本发明智能地确定程序线程何时旋转以及程序线程何时变为未分配。 如果确定程序线程应该不分配,则本发明提供了通过减少获取锁定的等待时间来提高吞吐量的程序线程的有效的未分配。 锁争用管理系统包括调度器,用于管理CPU上的线程的执行以及当前准备运行但未执行的线程,因为它们正在等待可用的CPU,调度管理模块确定程序线程何时应该成为 未分配等待锁和程序线程应该旋转,而低优先级的执行模块用于对程序线程进行分配。 本发明还包括使用上述系统的锁争用管理方法。

    Processor management via thread status
    38.
    发明授权
    Processor management via thread status 有权
    处理器管理通过线程状态

    公开(公告)号:US09354926B2

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

    申请号:US13069338

    申请日:2011-03-22

    摘要: Various systems, processes, and products may be used to manage a processor. In particular implementations, managing a processor may include the ability to determine whether a thread is pausing for a short period of time and place a wait event for the thread in a queue based on a short thread pause occurring. Managing a processor may also include the ability to activate a delay thread that determines whether a wait time associated with the pause has expired and remove the wait event from the queue based on the wait time having expired.

    摘要翻译: 可以使用各种系统,过程和产品来管理处理器。 在特定实现中,管理处理器可以包括确定线程是否在短时间段内暂停并且基于发生的短线程暂停将线程的等待事件置于队列中的能力。 管理处理器还可以包括激活延迟线程的能力,该延迟线程确定与暂停相关联的等待时间是否已经到期,并且基于等待时间已经到期从队列中移除等待事件。

    Efficient lock hand-off in a symmetric multiprocessing system
    39.
    发明授权
    Efficient lock hand-off in a symmetric multiprocessing system 有权
    在对称多处理系统中高效锁定切换

    公开(公告)号:US08930952B2

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

    申请号:US13426293

    申请日:2012-03-21

    IPC分类号: G06F9/46

    CPC分类号: G06F9/52 G06F9/526

    摘要: Provided are techniques for providing a first lock, corresponding to a resource, in a memory that is global to a plurality of processor; spinning, by a first thread running on a first processor of the processors, at a low hardware-thread priority on the first lock such that the first processor does not yield processor cycles to a hypervisor; spinning, by a second thread running on a second processor, on a second lock in a memory local to the second processor such that the second processor is configured to yield processor cycles to the hypervisor; acquiring the lock and the corresponding resource by the first thread; and, in response to the acquiring of the lock by the first thread, spinning, by the second thread, at the low hardware-thread priority on the first lock rather than the second lock such that the second processor does not yield processor cycles to the hypervisor.

    摘要翻译: 提供了用于在对多个处理器是全局的存储器中提供对应于资源的第一锁的技术; 通过在处理器的第一处理器上运行的第一线程以第一锁定的低硬件线程优先级旋转,使得第一处理器不向管理程序产生处理器周期; 通过在第二处理器上运行的第二线程在位于第二处理器本地的存储器中的第二锁上旋转,使得第二处理器被配置为向管理程序产生处理器周期; 通过第一线程获取锁和相应的资源; 并且响应于获得第一线程的锁,由第二线程以第一锁定而不是第二锁的低硬件线程优先级旋转,使得第二处理器不产生处理器周期 虚拟机管理程序

    EFFICIENT LOCK HAND-OFF IN A SYMMETRIC MULTIPROCESSING SYSTEM
    40.
    发明申请
    EFFICIENT LOCK HAND-OFF IN A SYMMETRIC MULTIPROCESSING SYSTEM 有权
    在一个对称的多重压缩系统中有效的锁定切换

    公开(公告)号:US20130254775A1

    公开(公告)日:2013-09-26

    申请号:US13426293

    申请日:2012-03-21

    IPC分类号: G06F9/46

    CPC分类号: G06F9/52 G06F9/526

    摘要: Provided are techniques for providing a first lock, corresponding to a resource, in a memory that is global to a plurality of processor; spinning, by a first thread running on a first processor of the processors, at a low hardware-thread priority on the first lock such that the first processor does not yield processor cycles to a hypervisor; spinning, by a second thread running on a second processor, on a second lock in a memory local to the second processor such that the second processor is configured to yield processor cycles to the hypervisor; acquiring the lock and the corresponding resource by the first thread; and, in response to the acquiring of the lock by the first thread, spinning, by the second thread, at the low hardware-thread priority on the first lock rather than the second lock such that the second processor does not yield processor cycles to the hypervisor.

    摘要翻译: 提供了用于在对多个处理器是全局的存储器中提供对应于资源的第一锁的技术; 通过在处理器的第一处理器上运行的第一线程以第一锁定的低硬件线程优先级旋转,使得第一处理器不向管理程序产生处理器周期; 通过在第二处理器上运行的第二线程在位于第二处理器本地的存储器中的第二锁上旋转,使得第二处理器被配置为向管理程序产生处理器周期; 通过第一线程获取锁和相应的资源; 并且响应于获得第一线程的锁,由第二线程以第一锁定而不是第二锁的低硬件线程优先级旋转,使得第二处理器不产生处理器周期 虚拟机管理程序