Patent EP0415862A2 successfully refreshed from Google Patents.
← Back to Patent Explorer
EP0415862A2 Expired / Lapsed EP ⏱️ 0.0 years remaining

Optimized I/O buffers

Assignee: International Business Machines Corp
•
Filing: 1990-06-19
•
Granted: —
•
Expires: 2010-06-19
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A computer system (10) having optimized I/O buffers (31, 32) is disclosed. The I/O buffers are used to write data into or read data from auxiliary storage (50). A double buffering scheme is used. When a user wants to send data to auxiliary storage, the first buffer is filled with data and the contents are asynchronously written to auxiliary storage. Without waiting for the asynchronous write to complete, the second buffer is filled with data. When the second buffer is filled, the contents of the second buffer are asynchronously written to auxiliary storage. If the first buffer has not completed its write operation by this point, the buffers are determined to be too small and the size of both buffers is increased. Control switches back and forth between these two buffers until all of the desired data is sent to auxiliary storage. The size of the buffers is increased until the computer system does not have to synchronously wait for one buffer to complete its write operation before it can refill that buffer with new data. Ideally, the first buffer should complete its write operation when the second buffer is filled beyond a predetermined threshold percentage, such as one half. If the first buffer completes its write operation before the second buffer is filled beyond the predetermined threshold percentage, the buffers are determined to be too large and the size of both buffers are decreased. The size of the buffers is dynamically increased and decreased as needed to achieve an optimum size based on the unique and dynami­cally changing computer environment.

Inventors

  • 👤 Michael Joseph Corrigan
  • 👤 Gary Ross Ricard
  • 👤 Richard Miles Rocheleau
  • 👤 Larry William Youngren

Bibliographic Details

Application Number —
Jurisdiction EP
Data Source google_patents
Last Synchronized 2026-10-28 21:20
CPC Classifications
G; G06; G06F; G06F5/00; G06F5/06; G06F5/16

Claims Analysis

Total Claims: 12
Claim 1
Independent Claim 67 words
A method of optimizing the size of a first and second I/O buffer, comprising the steps of: increasing the size of said first and second buffers if said second buffer is fully processed before said first buffer completes its data operation; and decreasing the size of said first and second buffers if said first buffer completes its data operation before said second buffer triggers a threshold per­centage.
Claim 2
Independent Claim 67 words
A method of optimizing the size of a first and second I/O buffer, comprising the steps of: increasing the size of said first and second buffers if said second buffer is fully processed before said first buffer completes its data operation; and decreasing the size of said first and second buffers if said first buffer completes its data operation before said second buffer triggers a threshold per­centage.
Claim 3
Dependent Claim 90 words
A method of optimizing the size of a first and second I/O buffer according to claim 1 during insertion of data to a database, comprising the steps of: increasing the size of said first and second buffers if said second buffer is full before the contents of said first buffer are completely written to said database; and decreasing the size of said first and second buffers if the contents of said first buffer have been com­pletely written to said database before said second buffer is filled beyond a threshold percentage.
Claim 4
Dependent Claim 91 words
A method of optimizing the size of a first and second I/O buffer according to claim 1 during retrieval of data from a database, comprising the steps of: increasing the size of said first and second buffers if said first buffer is emptied before the contents of said second buffer have been completely read from said database; and decreasing the size of said first and second buffers if the contents of said second buffer have been completely read from said database before said first buffer is emptied below a threshold value.
Claim 5
Dependent Claim 98 words
A computer system having optimized first and second I/O buffers for inserting data into a database, comprising: a main storage having said first and second buffers; an auxiliary storage having said database; means for increasing the size of said first and second buffers if said second buffer is full before the contents of said first buffer are completely written to said database; and means for decreasing the size of said first and second buffers if the contents of said first buffer have been completely written to said database before said second buffer is filled beyond a threshold value.
Claim 6
Dependent Claim 98 words
A computer system having optimized first and second I/O buffers for inserting data into a database, comprising: a main storage having said first and second buffers; an auxiliary storage having said database; means for increasing the size of said first and second buffers if said second buffer is full before the contents of said first buffer are completely written to said database; and means for decreasing the size of said first and second buffers if the contents of said first buffer have been completely written to said database before said second buffer is filled beyond a threshold value.
Claim 7
Dependent Claim 98 words
A computer system having optimized first and second I/O buffers for retrieving data from a database, comprising: a main storage having said first and second buffers; an auxiliary storage having said database; means for increasing the size of said first and second buffers if said first buffer is emptied before the contents of said second buffer have been com­pletely read from said database; and means for decreasing the size of said first and second buffers if the contents of said second buffer are completely read from said database before said first buffer is emptied below a threshold value.
Claim 8
Dependent Claim 98 words
A computer system having optimized first and second I/O buffers for retrieving data from a database, comprising: a main storage having said first and second buffers; an auxiliary storage having said database; means for increasing the size of said first and second buffers if said first buffer is emptied before the contents of said second buffer have been com­pletely read from said database; and means for decreasing the size of said first and second buffers if the contents of said second buffer are completely read from said database before said first buffer is emptied below a threshold value.
Claim 9
Dependent Claim 91 words
A computer system having optimized first and second I/O buffers, comprising: a main storage having said first and second buffers; an auxiliary storage; means for increasing the size of said first and second buffers if said second buffer is fully pro­cessed before the contents of said first buffer have been completely written to said auxiliary storage; and means for decreasing the size of said first and second buffers if the contents of said first buffer have been completely written to said auxiliary stor­age before said second buffer triggers a threshold percentage.
Claim 10
Dependent Claim 91 words
A computer system having optimized first and second I/O buffers, comprising: a main storage having said first and second buffers; an auxiliary storage; means for increasing the size of said first and second buffers if said second buffer is fully pro­cessed before the contents of said first buffer have been completely written to said auxiliary storage; and means for decreasing the size of said first and second buffers if the contents of said first buffer have been completely written to said auxiliary stor­age before said second buffer triggers a threshold percentage.
Claim 11
Dependent Claim 92 words
A computer system having optimized first and second I/O buffers, comprising: a main storage having said first and second buffers; an auxiliary storage; means for increasing the size of said first and second buffers if said first buffer is emptied before the contents of said second buffer have been com­pletely read from said auxiliary storage; and means for decreasing the size of said first and second buffers if the contents of said second buffer have been completely read from said auxiliary storage before said first buffer is emptied below a threshold value.
Claim 12
Dependent Claim 92 words
A computer system having optimized first and second I/O buffers, comprising: a main storage having said first and second buffers; an auxiliary storage; means for increasing the size of said first and second buffers if said first buffer is emptied before the contents of said second buffer have been com­pletely read from said auxiliary storage; and means for decreasing the size of said first and second buffers if the contents of said second buffer have been completely read from said auxiliary storage before said first buffer is emptied below a threshold value.

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