← Back to Patent Explorer
EP0097256A2 Expired / Lapsed EP ⏱️ 0.0 years remaining

Method and apparatus for managing a buffer pool referenced by batch and interactive process

Assignee: International Business Machines Corp
•
Filing: 1983-05-25
•
Granted: —
•
Expires: 2003-05-25
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract Apparatus and method for managing a buffer pool (14) shared by sequential (16) and random processes (18). A data base manager includes a buffer manager (20) which: (1) maintains a normal least recently used (LRU) buffer chain and a sequential LRU buffer chain, the sequential LRU buffer chain being replicated on the normal LRU buffer chain; (2) places buffers released from a sequential process in both LRU buffer chains and buffers released from a random process only in the normal LRU buffer chain; and (3) responsive to a request for a buffer for a sequential process, steals the head buffer from the sequential LRU buffer chain, otherwise steals the head buffer from the normal LRU buffer chain. The buffer manager further includes means for conditionally asynchronously prefetching data set pages from the external storage device in response to a request for a data set page which is an integral multiple of a process defined prefetch quantity.

Inventors

  • 👤 Robert Arthur Gumaer
  • 👤 John Altert Mortenson

Bibliographic Details

Application Number —
Jurisdiction EP
Data Source google_patents
Last Synchronized 2026-10-26 23:14
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/461; G06F9/463; G06F12/00; G06F12/02; G06F12/08; G06F12/12; G06F12/121; G06F12/123; G06F16/00; G06F11/00; G06F11/07; G06F11/14; G06F11/1446

Claims Analysis

Total Claims: 7
Claim 1
Independent Claim 213 words
A method for operating a computing apparatus including a main processor (10), a plurality of main storage buffers (14), and at least one external storage device (30); the main processor being operated under control of a data base system which includes a buffer manager (20) for allocating data set pages read from the storage device into the buffers for concurrent access by both sequential and random processes; the method being characterized by the steps of: (1) establishing a queue value; (2) maintaining a normal least recently used (LRU) buffer chain (34) and a sequential LRU buffer chain (36) with the sequential LRU buffer chain replicated on the normal LRU buffer chain; (3) placing buffers (14) released from a sequential process (16) that is not a prefetch process in both LRU buffer chains, and placing buffers released from a random process (18) or from a sequential prefetch process only in the normal LRU buffer chain; and (4) responsive to a request for a buffer from a sequential process (16), stealing the head buffer from the sequential LRU buffer chain (36) provided the number of buffers in that chain exceeds the queue value, otherwise stealing the head buffer from the normal LRU chain (34), thereby preventing recursive steals of buffers employed in nested sequential processes.
Claim 2
Independent Claim 213 words
A method for operating a computing apparatus including a main processor (10), a plurality of main storage buffers (14), and at least one external storage device (30); the main processor being operated under control of a data base system which includes a buffer manager (20) for allocating data set pages read from the storage device into the buffers for concurrent access by both sequential and random processes; the method being characterized by the steps of: (1) establishing a queue value; (2) maintaining a normal least recently used (LRU) buffer chain (34) and a sequential LRU buffer chain (36) with the sequential LRU buffer chain replicated on the normal LRU buffer chain; (3) placing buffers (14) released from a sequential process (16) that is not a prefetch process in both LRU buffer chains, and placing buffers released from a random process (18) or from a sequential prefetch process only in the normal LRU buffer chain; and (4) responsive to a request for a buffer from a sequential process (16), stealing the head buffer from the sequential LRU buffer chain (36) provided the number of buffers in that chain exceeds the queue value, otherwise stealing the head buffer from the normal LRU chain (34), thereby preventing recursive steals of buffers employed in nested sequential processes.
Claim 3
Dependent Claim 41 words
The method of claim 1, further characterized by conditionally asynchronously prefetching data set pages from the external storage device (30) in response to a request for a data set page which is an integral multiple of a process defined prefetch quantity.
Claim 4
Independent Claim 25 words
The method of claims 1 and 2 for preventing monopolization of a buffer pool by sequential processes sharing the buffer pool concurrently with random processes.
Claim 5
Dependent Claim 211 words
A computing apparatus including a main processor (10), a plurality of main storage buffers (14.), and at least one external storage device (30); the main processor being operable under control of a data base system which includes a buffer manager (20) for allocating data set pages read from the storage device into the buffers for concurrent access by both sequential and random processes; characterized by means for operating the processor to (1) establish a queue value; (2) maintain a normal least recently used (LRU) buffer chain (34) and a sequential LRU buffer chain (36) with the sequential LRU buffer chain replicated on the normal LRU buffer chain; (3) place buffers (14) released from a sequential process (16) that is not a prefetch process in both LRU buffer chains (34, 36), and place buffers released from a random process (18) or from a sequential prefetch process only in the normal LRU buffer chain:(34); and (4) responsive to a request for a buffer for a sequential process (16), steal the head buffer from the sequential LRU buffer chain (36) provided the number of buffers in that chain exceeds the queue value, otherwise steal the head buffer from the normal LRU chain (34), thereby preventing recursive steals of buffers employed in nested sequential processes.
Claim 6
Dependent Claim 211 words
A computing apparatus including a main processor (10), a plurality of main storage buffers (14.), and at least one external storage device (30); the main processor being operable under control of a data base system which includes a buffer manager (20) for allocating data set pages read from the storage device into the buffers for concurrent access by both sequential and random processes; characterized by means for operating the processor to (1) establish a queue value; (2) maintain a normal least recently used (LRU) buffer chain (34) and a sequential LRU buffer chain (36) with the sequential LRU buffer chain replicated on the normal LRU buffer chain; (3) place buffers (14) released from a sequential process (16) that is not a prefetch process in both LRU buffer chains (34, 36), and place buffers released from a random process (18) or from a sequential prefetch process only in the normal LRU buffer chain:(34); and (4) responsive to a request for a buffer for a sequential process (16), steal the head buffer from the sequential LRU buffer chain (36) provided the number of buffers in that chain exceeds the queue value, otherwise steal the head buffer from the normal LRU chain (34), thereby preventing recursive steals of buffers employed in nested sequential processes.
Claim 7
Dependent Claim 43 words
The apparatus of claim 4 further characterized by means for conditionally asynchronously prefetching data set pages from the external storage device (30) in response to a request for a data set page which is an integral multiple of a process defined prefetch quantity.

References Cited (Backward Citations)

No citation records indexed.

USPTO Annuity & Maintenance Windows

Maintenance schedule is calculated for granted US utility patents.

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag