← Back to Patent Explorer
US5333319A Expired / Lapsed US ⏱️ 0.0 years remaining

Virtual storage data processor with enhanced dispatching priority allocation of CPU resources

Assignee: International Business Machines Corp
•
Filing: 1992-03-02
•
Granted: 1994-07-26
•
Expires: 2012-03-02
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract Dispatching improvements in operating systems are described for multiprogrammed data processing systems. A common priority dispatching mechanism for applications that span multiple address spaces in multi-address space operating systems is provided where multiple, dispatchable operating system processes operating in different address spaces but on behalf of a common application can all be dispatched at the same priority of the application rather than at the priority of the particular address space in which each individual process operates. The system further enables individual processes of a distributed application, that operate under different host operating systems in a connected complex to run at the common priority of the distributed application. High priority processes are given the capability to avoid becoming blocked by low priority processes for extended periods of time when serialization must occur on common resources in the system.

Inventors

  • 👤 Stuart L. Silen

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-27 23:04
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/48; G06F9/4806; G06F9/4843; G06F9/4881; G06F9/52

Claims Analysis

Total Claims: 25
Claim 1
Independent Claim 156 words
A computer system including system control software, said software including means for establishing address spaces, each established address space having an assigned priority, said system including service requestor and resource manager address spaces, said computer system comprising: means for establishing a dispatchable work unit in a resource manager address space in response to a work request from a service requestor address space; means for creating an encoded ready work element (RWE) for said dispatchable work unit, said RWE including an affinity field indicating said service requestor address space; control block means associated with each service requestor address space, each control block means having chained therewith RWE's of dispatchable work units whose affinity fields indicate, directly or indirectly, said associated service requestor address space; and dispatcher means for examining each said control block means and enabling dispatch for execution of ready work units having RWE's chained therein, at the priority of the associated service requestor address space.
Claim 2
Dependent Claim 156 words
A computer system including system control software, said software including means for establishing address spaces, each established address space having an assigned priority, said system including service requestor and resource manager address spaces, said computer system comprising: means for establishing a dispatchable work unit in a resource manager address space in response to a work request from a service requestor address space; means for creating an encoded ready work element (RWE) for said dispatchable work unit, said RWE including an affinity field indicating said service requestor address space; control block means associated with each service requestor address space, each control block means having chained therewith RWE's of dispatchable work units whose affinity fields indicate, directly or indirectly, said associated service requestor address space; and dispatcher means for examining each said control block means and enabling dispatch for execution of ready work units having RWE's chained therein, at the priority of the associated service requestor address space.
Claim 3
Dependent Claim 39 words
The computer system as recited in claim 1, wherein each control block means is an address space control block (ASCB), each said ASCB enabling access to a chained list of RWE's for work units that are ready for dispatch.
Claim 4
Dependent Claim 44 words
The computer system as recited in claim 2, wherein each said RWE has a dispatching priority field, and each ASCB enables access to a chained list of RWE's for dispatchable work units in decreasing order of dispatching priority indicated by said dispatching priority field.
Claim 5
Dependent Claim 46 words
The computer system as recited in claim 3, wherein said dispatcher means accesses ASCB's and work units that are accessible therefrom, examines said ASCB's in decreasing order of associated address space priority and said RWE's in decreasing order of dispatching priority within said associated address space.
Claim 6
Dependent Claim 59 words
The computer system as recited in claim 1, wherein each said RWE includes an escalated dispatching priority field (EPRTY), said EPRTY overriding an affinity field indicating said user address space and indicating affinity to a higher priority address space, whereby dispatch of a work unit associated with said RWE occurs at the priority of said higher priority address space.
Claim 7
Dependent Claim 22 words
The computer system as recited in claim 5, wherein said higher priority address space exhibits the highest priority in the computer system.
Claim 8
Dependent Claim 211 words
A computer system including system control software, said software including means for establishing virtual address spaces, each virtual address space having an associated address space control block (ASCB) and an assigned priority level, said system comprising: means for establishing a dispatchable unit of work in a resource manager's virtual address space in response to a work request from a service requestor virtual address space; means for creating an encoded ready work element (RWE) for said dispatchable unit of work, said RWE including a normal affinity field indicating said service requestor virtual address space, and a current affinity field initially set equal to the normal affinity field; means responsive to said work unit being ready for dispatch from said resource manager address space, for causing the RWE of said dispatchable unit to be added to a chained list from the ASCB that is associated with said service requestor virtual address space, if the current affinity field of said RWE indicates said ASCB; and dispatch means for examining ASCB's that indicate chained RWE's of dispatchable units, said examining occurring in order of priority of the associated virtual address space for each ASCB, whereby said dispatch means finds said RWE of said dispatchable unit at the priority of said service requestor virtual address space.
Claim 9
Dependent Claim 211 words
A computer system including system control software, said software including means for establishing virtual address spaces, each virtual address space having an associated address space control block (ASCB) and an assigned priority level, said system comprising: means for establishing a dispatchable unit of work in a resource manager's virtual address space in response to a work request from a service requestor virtual address space; means for creating an encoded ready work element (RWE) for said dispatchable unit of work, said RWE including a normal affinity field indicating said service requestor virtual address space, and a current affinity field initially set equal to the normal affinity field; means responsive to said work unit being ready for dispatch from said resource manager address space, for causing the RWE of said dispatchable unit to be added to a chained list from the ASCB that is associated with said service requestor virtual address space, if the current affinity field of said RWE indicates said ASCB; and dispatch means for examining ASCB's that indicate chained RWE's of dispatchable units, said examining occurring in order of priority of the associated virtual address space for each ASCB, whereby said dispatch means finds said RWE of said dispatchable unit at the priority of said service requestor virtual address space.
Claim 10
Dependent Claim 127 words
The computer system as recited in claim 7, further comprising: means for assigning a lock to a first unit of work; means responsive to a second unit of work from a virtual address space of higher priority requesting said lock, to modify the current affinity field of the RWE associated with said first unit of work to indicate said higher priority address space; and means responsive to said first unit of work being dispatchable, for causing the RWE of said first unit of work to be included in the chained list of RWE's from the ASCB associated with said higher priority virtual address space, whereby said dispatch means finds said RWE for said dispatchable first unit of work at the priority of said higher priority address space.
Claim 11
Dependent Claim 88 words
The computer system as recited in claim 8, further comprising: means responsive to said modification of a current affinity field of an RWE, to place a mark in the ASCB associated with said virtual user address space, whereby said dispatch means, upon examination of said ASCB, finds said mark, scans RWE's chained therefrom to find an RWE whose current affinity field is not equal to said ASCB, and causes any such RWE to be chained from the ASCB then indicated by the current affinity field of said RWE.
Claim 12
Dependent Claim 152 words
A computer system as recited in claim 7, further comprising: means for assigning a lock to a first requesting unit of work from a first address space; means responsive to a second unit of work from said first address space but of higher priority within said first address space than said first requesting unit of work, to modify a current priority field of a RWE associated with said first unit of work to indicate said higher priority of said second unit of work; and means responsive to said first unit of work being dispatchable, for causing the RWE of said first unit of work to be repositioned in a chained list of RWE's in which it already appears, but modified according to the new current priority value, whereby said dispatch means finds said RWE for said dispatchable first unit of work at the priority of said higher priority second unit of work.
Claim 13
Dependent Claim 105 words
A computer system as recited in claim 10, further comprising: means responsive to said modification of a current priority field of a RWE, to place a mark in the ASCB associated with the then current affinity field of the RWE, whereby said dispatch means, upon examination of said ASCB, finds said mark, scans RWE's chained therefrom to find an RWE whose current priority field has a value greater than the corresponding value in the preceding RWE on said chain, and causes any such RWE to be rechained on the same priority chain but now ordered according to the new value of the current priority field.
Claim 14
Dependent Claim 152 words
The computer system as recited in claim 7, wherein said user and resource address spaces are in first and second coupled processors controlled by independent operating system softwares respectively; said second processor containing said resource manager address space and further comprising: remote priority queue (RPQH) means comprising a plurality of blocks with assigned priorities; means for chaining a RWE for a work unit that is ready for dispatch from said resource address space, in a block of said RPQH means that has an assigned priority value equal to the priority value of the address space indicated by said RWE's current affinity field; and dispatch means in said second processor for examining the RPQH means in conjunction with ASCB's associated with address spaces having dispatchable work units, said RPQH means examined in accordance with said assigned priority values, whereby any RWE listed therein is dispatched in accordance with said assigned block priority value.
Claim 15
Dependent Claim 159 words
The computer system as recited in claim 7, further comprising: means for restricting access to a resource manager first unit of work because said resource manager first unit of work is busy providing service to a second unit of work; means responsive to a third unit of work from a virtual address space of higher priority requesting service from said first unit of work, to modify the current affinity field of the RWE associated with said first unit of work to indicate said higher priority address space associated with said third unit of work; and means responsive to said first unit of work being dispatchable, for causing the RWE of said first unit of work to be included in the chained list of RWE's from the ASCB associated with said higher priority virtual address space, whereby said dispatch means finds said RWE for said dispatchable first unit of work at the priority of said higher priority virtual address space.
Claim 16
Dependent Claim 91 words
The computer system as recited in claim 13, further comprising: means responsive to said modification of a current affinity field of an RWE, to place a mark in the ASCB that was indicated by said current affinity field prior to said modification, whereby said dispatch means, upon examination of said ASCB, finds said mark, scans RWE's chained therewith to find an RWE whose current affinity field does not indicate said ASCB and causes any such RWE to be chained from the ASCB indicated by the current affinity field of said RWE.
Claim 17
Dependent Claim 152 words
A computer system including system control software, said software including means for establishing address spaces, each established address space having an assigned priority, said system including service requestor and resource manager address spaces, said system performing the method comprising: establishing a dispatchable work unit in a resource manager address space in response to a work request from a service requestor address space; creating an encoded ready work element (RWE) for said dispatchable work unit, said RWE including an affinity field indicating said service requestor address space; creating an address space control block (ASCB) for each service requestor and resource manager address space, for chaining RWE's of dispatchable work units whose affinity fields indicate the respective ASCB that is associated with a said service requestor address space; and examining each said ASCB and enabling dispatch, for execution, of ready work units having RWE's chained therewith at the priority of the associated address space.
Claim 18
Dependent Claim 152 words
A computer system including system control software, said software including means for establishing address spaces, each established address space having an assigned priority, said system including service requestor and resource manager address spaces, said system performing the method comprising: establishing a dispatchable work unit in a resource manager address space in response to a work request from a service requestor address space; creating an encoded ready work element (RWE) for said dispatchable work unit, said RWE including an affinity field indicating said service requestor address space; creating an address space control block (ASCB) for each service requestor and resource manager address space, for chaining RWE's of dispatchable work units whose affinity fields indicate the respective ASCB that is associated with a said service requestor address space; and examining each said ASCB and enabling dispatch, for execution, of ready work units having RWE's chained therewith at the priority of the associated address space.
Claim 19
Dependent Claim 44 words
The computer system as recited in claim 15, wherein each said RWE has a dispatching priority field, and each ASCB enables access to a chained list of RWE's for dispatchable work units in decreasing order of dispatching priority indicated by said dispatching priority field.
Claim 20
Dependent Claim 58 words
The computer system as recited in claim 16, wherein said examining step accesses ASCB's and work units to which access is enabled thereby, and examines said ASCB's in decreasing order of associated address space priority and said RWE's, chained with each ASCB, in decreasing order of dispatching priority with respect to the address space associated with an ASCB.
Claim 21
Dependent Claim 58 words
The computer system as recited in claim 16, wherein each said RWE includes an escalated dispatching priority field (EPRTY), said EPRTY overriding an affinity field indication in said RWE and indicating affinity to a higher priority address space, whereby dispatch of the work unit associated with said RWE occurs at the priority of said higher priority address space.
Claim 22
Dependent Claim 52 words
A computer system as recited in claim 18, wherein said escalated priority field signals a dispatcher that if the associated work unit is interrupted and there is a higher priority work unit awaiting dispatch, that said dispatcher may temporarily ignore said higher priority work unit until said escalated priority field is reset.
Claim 23
Dependent Claim 115 words
The computer system as recited in claim 16, said method further comprising: restricting access to a first work unit with current affinity to a first address space; responding to a second work unit from an address space of higher priority requesting access to said first work unit, by modifying the current affinity field of the RWE for said first work unit to indicate said higher priority address space; and when said first unit of work is dispatchable, causing the ASCB associated with said higher priority address space to enable access to said RWE of said first unit of work, whereby said dispatch means finds said RWE at the priority of said higher priority address space.
Claim 24
Dependent Claim 79 words
The computer system as recited in claim 20, further comprising: responding to a modification of an affinity field of an RWE to place a mark in the ASCB as indicated by said current affinity field prior to said modification, whereby said examining step finds said mark, scans RWE's therewith to find an RWE whose current affinity field does not indicate said ASCB, and moves any such RWE to the ASCB indicated by the current affinity field of said RWE.
Claim 25
Dependent Claim 152 words
The computer system as recited in claim 15, wherein said service requestor and resource manager address spaces are in first and second coupled processors controlled by independent operating systems software respectively; said second processor containing said resource manager address space and performing the method of: establishing a remote priority queue header (RPQH) means comprising a plurality of blocks with assigned priorities; chaining a RWE for a work unit that is ready for dispatch from said resource manager address space, from a block of said RPQH means that has an assigned priority value equal to the priority value indicated by said RWE's current affinity field; and examining the RPQH means in conjunction with ASCB's associated with address spaces having dispatchable work units, chains in said RPQH means whereby it is examined in accordance with said assigned priority values, and whereby any RWE listed therein is dispatched in accordance with said assigned priority value.

References Cited (Backward Citations)

US4394730A Cited
US4286322A Cited
US4394727A Cited
US4736318A Cited
US4908750A Cited
US4642756A Cited
US4809157A Cited
US4943913A Cited
US5276876A Cited
US5109512A Cited
US5257375A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1997-07-25 1998-01-24 1998-07-26 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2001-07-25 2002-01-24 2002-07-26 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2005-07-25 2006-01-24 2006-07-26 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag