Associating process priority with I/O queuing
    1.
    发明授权
    Associating process priority with I/O queuing 有权
    将流程优先级与I / O排队关联

    公开(公告)号:US09262357B2

    公开(公告)日:2016-02-16

    申请号:US12240190

    申请日:2008-09-29

    IPC分类号: G06F3/00 G06F13/364

    CPC分类号: G06F13/362 G06F13/364

    摘要: Input/output (I/O) requests generated by processes are typically stored in I/O queues. Because the queued I/O requests may not be associated with the processes that generated them, changing a process' priority may not affect the priority of the I/O requests generated by the process. Therefore, after the process' priority has been increased, it may be forced to wait for an I/O handler to service its I/O request, which may be stuck behind an I/O request generated by a lower priority process. Functionality can be implemented to associate the processes' priorities with the I/O requests generated by the processes. Also, reordering the queued I/O requests to reflect changes in the processes' priorities can ensure that the I/O requests from high priority processes are serviced before the I/O requests from low priority processes. This can ensure efficient processing and lower wait times for high priority processes.

    摘要翻译: 由进程生成的输入/输出(I / O)请求通常存储在I / O队列中。 因为排队的I / O请求可能不与生成它们的进程相关联,所以更改进程的优先级可能不会影响进程生成的I / O请求的优先级。 因此,在进程优先级增加之后,可能迫使其等待I / O处理程序来服务其I / O请求,这可能会被较低优先级进程生成的I / O请求所困扰。 可以实现功能,将进程的优先级与进程生成的I / O请求相关联。 此外,重新排序排队的I / O请求以反映进程优先级的更改可以确保在优先级较低的进程的I / O请求之前对来自高优先级进程的I / O请求进行服务。 这可以确保高优先级进程的有效处理和较短的等待时间。

    ASSOCIATING PROCESS PRIORITY WITH I/O QUEUING
    3.
    发明申请
    ASSOCIATING PROCESS PRIORITY WITH I/O QUEUING 有权
    与I / O QUEUING相关的优先级

    公开(公告)号:US20100082855A1

    公开(公告)日:2010-04-01

    申请号:US12240190

    申请日:2008-09-29

    IPC分类号: G06F13/364

    CPC分类号: G06F13/362 G06F13/364

    摘要: Input/output (I/O) requests generated by processes are typically stored in I/O queues. Because the queued I/O requests may not be associated with the processes that generated them, changing a process' priority may not affect the priority of the I/O requests generated by the process. Therefore, after the process' priority has been increased, it may be forced to wait for an I/O handler to service its I/O request, which may be stuck behind an I/O request generated by a lower priority process. Functionality can be implemented to associate the processes' priorities with the I/O requests generated by the processes. Also, reordering the queued I/O requests to reflect changes in the processes' priorities can ensure that the I/O requests from high priority processes are serviced before the I/O requests from low priority processes. This can ensure efficient processing and lower wait times for high priority processes.

    摘要翻译: 由进程生成的输入/输出(I / O)请求通常存储在I / O队列中。 因为排队的I / O请求可能不与生成它们的进程相关联,所以更改进程的优先级可能不会影响进程生成的I / O请求的优先级。 因此,在进程优先级增加之后,可能迫使其等待I / O处理程序来服务其I / O请求,这可能会被较低优先级进程生成的I / O请求所困扰。 可以实现功能,将进程的优先级与进程生成的I / O请求相关联。 此外,重新排序排队的I / O请求以反映进程优先级的更改可以确保在优先级较低的进程的I / O请求之前对来自高优先级进程的I / O请求进行服务。 这可以确保高优先级进程的有效处理和较短的等待时间。

    Scheduling threads in a multiprocessor computer
    4.
    发明授权
    Scheduling threads in a multiprocessor computer 失效
    在多处理器计算机中调度线程

    公开(公告)号:US07487503B2

    公开(公告)日:2009-02-03

    申请号:US10916976

    申请日:2004-08-12

    IPC分类号: G06F9/46 G06F13/24

    CPC分类号: G06F9/5027 G06F9/4812

    摘要: Methods, systems, and computer program products are provided for scheduling threads in a multiprocessor computer. Embodiments include selecting a thread in a ready queue to be dispatched to a processor and determining whether an interrupt mask flag is set in a thread control block associated with the thread. If the interrupt mask flag is set in the thread control block associated with the thread, embodiments typically include selecting a processor, setting a current processor priority register of the selected processor to least favored, and dispatching the thread from the ready queue to the selected processor. In some embodiments, setting the current processor priority register of the selected processor to least favored is carried out by storing a value associated with the highest interrupt priority in the current processor priority register.

    摘要翻译: 提供方法,系统和计算机程序产品用于在多处理器计算机中调度线程。 实施例包括选择要发送到处理器的准备队列中的线程,并且确定是否在与线程相关联的线程控制块中设置了中断屏蔽标志。 如果在与线程相关联的线程控制块中设置中断屏蔽标志,则实施例通常包括选择处理器,将所选择的处理器的当前处理器优先级寄存器设置为最不利,并将线程从就绪队列调度到所选择的处理器 。 在一些实施例中,将所选择的处理器的当前处理器优先级寄存器设置为最不利的是通过在当前处理器优先级寄存器中存储与最高中断优先级相关联的值来执行。

    Scheduling threads in a multiprocessor computer
    5.
    发明授权
    Scheduling threads in a multiprocessor computer 失效
    在多处理器计算机中调度线程

    公开(公告)号:US07962913B2

    公开(公告)日:2011-06-14

    申请号:US12342352

    申请日:2008-12-23

    IPC分类号: G06F9/46 G06F13/24

    CPC分类号: G06F9/5027 G06F9/4812

    摘要: Methods, systems, and computer program products are provided for scheduling threads in a multiprocessor computer. Embodiments include selecting a thread in a ready queue to be dispatched to a processor and determining whether an interrupt mask flag is set in a thread control block associated with the thread. If the interrupt mask flag is set in the thread control block associated with the thread, embodiments typically include selecting a processor, setting a current processor priority register of the selected processor to least favored, and dispatching the thread from the ready queue to the selected processor. In some embodiments, setting the current processor priority register of the selected processor to least favored is carried out by storing a value associated with the highest interrupt priority in the current processor priority register.

    摘要翻译: 提供方法,系统和计算机程序产品用于在多处理器计算机中调度线程。 实施例包括选择要发送到处理器的准备队列中的线程,并且确定是否在与线程相关联的线程控制块中设置了中断屏蔽标志。 如果在与线程相关联的线程控制块中设置中断屏蔽标志,则实施例通常包括选择处理器,将所选择的处理器的当前处理器优先级寄存器设置为最不利,并将线程从就绪队列调度到所选择的处理器 。 在一些实施例中,将所选择的处理器的当前处理器优先级寄存器设置为最不利的是通过在当前处理器优先级寄存器中存储与最高中断优先级相关联的值来执行。

    SCHEDULING THREADS IN MULTIPROCESSOR COMPUTER
    6.
    发明申请
    SCHEDULING THREADS IN MULTIPROCESSOR COMPUTER 失效
    在多处理器计算机中安排螺纹

    公开(公告)号:US20120260257A1

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

    申请号:US13528645

    申请日:2012-06-20

    IPC分类号: G06F9/46 G06F13/24

    CPC分类号: G06F9/5027 G06F9/4812

    摘要: A computer program product for scheduling threads in a multiprocessor computer comprises computer program instructions configured to select a thread in a ready queue to be dispatched to a processor and determine whether an interrupt mask flag is set in a thread control block associated with the thread. If the interrupt mask flag is set in the thread control block associated with the thread, the computer program instructions are configured to select a processor, set a current processor priority register of the selected processor to least favored, and dispatch the thread from the ready queue to the selected processor.

    摘要翻译: 一种用于在多处理器计算机中调度线程的计算机程序产品包括计算机程序指令,其被配置为选择准备队列中的线程以分派到处理器,并且确定是否在与线程相关联的线程控制块中设置了中断屏蔽标志。 如果在与线程相关联的线程控制块中设置了中断屏蔽标志,则将计算机程序指令配置为选择处理器,将所选处理器的当前处理器优先级寄存器设置为最不利,并将线程从就绪队列 到所选择的处理器。

    Method and apparatus for an improved bulk read socket call
    7.
    发明授权
    Method and apparatus for an improved bulk read socket call 失效
    用于改进大容量读取套接字呼叫的方法和装置

    公开(公告)号:US07970925B2

    公开(公告)日:2011-06-28

    申请号:US12274031

    申请日:2008-11-19

    CPC分类号: H04L49/90

    摘要: An apparatus and method for an improved bulk read socket call are provided. With the apparatus and method, a new field, so_rcvlen, is added to the socket structure that identifies the bulk read size requested by the user. The kernel of the prior art recv( ) function is also modified so that it sets the so_rcvlen to the size requested by the user prior to the recv( ) function going to sleep and waiting for the full data size requested by the user. A new flag, SP_MSGWAITALL, is also provided in the socket structure. In the TCP input processing, when data is received for a particular socket, the current setting of the SP_MSGWAITALL is checked. If the SP_MSGWAITALL flag is set, it is determined whether the amount of data stored in the socket receive buffer is less than the value of so_rcvlen. If not, the TCP input processing does not wake up the recv( ) thread. However, for every alternate segment, the TCP input processing sends back an acknowledgment (ACK). In the TCP output processing, when the SP_MSGWAITALL flag is set and the amount of data in the socket receive buffer is less than so_rcvlen, the full window is advertised. Once the TCP input processing determines that there is at least an amount of data in the socket receive buffer equal to the value of so_rcvlen, the TCP input processing will wake up the recv( ) thread and the SP_MSGWAITALL flag is reset.

    摘要翻译: 提供了一种改进的大容量读取插座呼叫的装置和方法。 使用设备和方法,将新字段so_rcvlen添加到标识用户请求的批量读取大小的套接字结构中。 现有技术recv()函数的内核也被修改,以便在recv()函数进入休眠状态并等待用户请求的完整数据大小之前,将so_rcvlen设置为用户请求的大小。 插座结构中还提供了一个新标志SP_MSGWAITALL。 在TCP输入处理中,当为特定套接字收到数据时,将检查SP_MSGWAITALL的当前设置。 如果设置了SP_MSGWAITALL标志,则确定存储在套接字接收缓冲区中的数据量是否小于so_rcvlen的值。 如果没有,TCP输入处理不会唤醒recv()线程。 然而,对于每个备用段,TCP输入处理发回确认(ACK)。 在TCP输出处理中,当设置了SP_MSGWAITALL标志并且套接字接收缓冲区中的数据量小于so_rcvlen时,将通告完整窗口。 一旦TCP输入处理确定套接字接收缓冲区中至少有一定数量的数据等于so_rcvlen的值,则TCP输入处理将唤醒recv()线程,并重置SP_MSGWAITALL标志。

    Method for out of user space block mode I/O directly between an application instance and an I/O adapter
    8.
    发明授权
    Method for out of user space block mode I/O directly between an application instance and an I/O adapter 失效
    用户空间块模式I / O直接在应用程序实例和I / O适配器之间的方法

    公开(公告)号:US07502872B2

    公开(公告)日:2009-03-10

    申请号:US11135541

    申请日:2005-05-23

    摘要: The present invention provides a method that enables application instances to pass block mode storage requests directly to a physical I/O adapter without run-time involvement from the local operating system or hypervisor. Specifically, a mechanism for providing and using a linear block address (LBA) translation protection table (TPT) to control out of user space I/O operations is provided. In one aspect of the present invention, the LBATPT includes an adapter protection table that has entries for each portion of a storage device. Entries include access control values which identify whether the entry is valid and what access type operations may be performed on a corresponding portion of a storage device. I/O requests may be checked against these access control values to determine if an application instance that submitted the I/O requests may access the LBAs identified in the I/O requests in the manner requested.

    摘要翻译: 本发明提供了一种使得应用程序实例能够将块模式存储请求直接传递到物理I / O适配器的方法,而不需要本地操作系统或管理程序的运行时参与。 具体地,提供了用于提供和使用线性块地址(LBA)转换保护表(TPT)以控制用户空间I / O操作的机制。 在本发明的一个方面,LBATPT包括适配器保护表,其具有用于存储设备的每个部分的条目。 条目包括访问控制值,其识别条目是否有效以及可以在存储设备的相应部分上执行什么访问类型操作。 可以针对这些访问控制值来检查I / O请求,以确定提交I / O请求的应用实例是否可以按请求的方式访问在I / O请求中标识的LBA。

    Mechanisms for Creation/Deletion of Linear Block Address Table Entries for Direct I/O
    9.
    发明申请
    Mechanisms for Creation/Deletion of Linear Block Address Table Entries for Direct I/O 有权
    用于直接I / O的线性块地址表条目的创建/删除机制

    公开(公告)号:US20090064163A1

    公开(公告)日:2009-03-05

    申请号:US12269419

    申请日:2008-11-12

    IPC分类号: G06F9/50

    摘要: The present invention provides mechanisms that enable application instances to pass block mode storage requests directly to a physical I/O adapter without run-time involvement from the local operating system or hypervisor. In one aspect of the present invention, a mechanism is provided for handling user space creation and deletion operations for creating and deleting allocations of linear block addresses of a physical storage device to application instances. For creation, it is determined if there are sufficient available resources for creation of the allocation. For deletion, it is determined if there are any I/O transactions active on the allocation before performing the deletion. Allocation may be performed only if there are sufficient available resources and deletion may be performed only if there are no active I/O transactions on the allocation being deleted.

    摘要翻译: 本发明提供使得应用程序实例能够将块模式存储请求直接传递到物理I / O适配器的机制,而不需要本地操作系统或管理程序的运行时参与。 在本发明的一个方面,提供了一种用于处理用户空间创建和删除操作的机制,用于创建和删除对应用实例的物理存储设备的线性块地址的分配。 为了创建,确定是否有足够的可用资源来创建分配。 对于删除,在执行删除之前确定在分配上是否有任何活动的I / O事务。 只有在有足够的可用资源时才能执行分配,并且只有在删除分配中没有活动的I / O事务时,才能执行删除。

    Method and apparatus for dynamic hosting partition page assignment
    10.
    发明授权
    Method and apparatus for dynamic hosting partition page assignment 有权
    动态主机分区页面分配的方法和装置

    公开(公告)号:US07318140B2

    公开(公告)日:2008-01-08

    申请号:US10865702

    申请日:2004-06-10

    IPC分类号: G06F12/00

    CPC分类号: G06F9/5077

    摘要: A method, apparatus, and computer instructions for transferring data. The data in a first partition is received within a memory region assigned to the first partition in the logical partitioned data processing system to form received data. The memory region is assigned to a second partition, in response to a determination that the received data is for the second partition. The second partition may then access the data in the memory region.

    摘要翻译: 一种用于传输数据的方法,装置和计算机指令。 在分配给逻辑分区数据处理系统中的第一分区的存储器区域内接收第一分区中的数据,以形成接收的数据。 响应于确定所接收的数据是用于第二分区,将存储器区域分配给第二分区。 然后,第二分区可以访问存储器区域中的数据。