发明名称 OPTIMIZING THE INITIALIZATION OF A QUEUE VIA A BATCH OPERATION
摘要 A method, a computer program product, and a system for performing a batch processing are provided. The batch processing includes initializing a set of elements corresponding to a set of resources to produce an initialized group and chaining the initialized group to previously initialized elements to produce an element batch, when the previously initialized elements are available. The batch processing further includes setting a system lock on the set of resources after the element batch is produced; executing a service routine to move the element batch to a queue by referencing first and last elements of the element batch; and releasing the system lock on the set of resources once the service routine is complete.
申请公布号 US2016274943(A1) 申请公布日期 2016.09.22
申请号 US201514845610 申请日期 2015.09.04
申请人 International Business Machines Corporation 发明人 Hom David;Mari Charles E.;Miller, JR. Robert J.;Morgenstern Harris M.;Tzortzatos Elpida
分类号 G06F9/50;G06F9/46 主分类号 G06F9/50
代理机构 代理人
主权项 1. A method for performing a batch processing, comprising: initializing, by a processor coupled to a memory, a set of elements corresponding to a first set of resources to produce an initialized group, wherein the initializing of the set of elements is performed without a system lock; chaining, by the processor, the initialized group to previously initialized elements to produce an element batch when the previously initialized elements are available, wherein the chaining of the initialized group is performed without the system lock and wherein the previously initialized elements correspond to a second set of resources; setting, by the processor, the system lock on the first and second set of resources in accordance with the element batch after the initialized group is chained to the previously initialized elements; executing, by the processor, a service routine to move the element batch to a queue, wherein the service routine increases an efficiency of the batch processing by referencing only first and last elements of the element batch and not middle elements of the element batch; and releasing, by the processor, the system lock on the set of resources once the service routine is complete.
地址 Armonk NY US