USING A PLURALITY OF SUB-BUFFERS AND A FREE SEGMENT LIST TO ALLOCATE SEGMENTS TO A PLURALITY OF THREADS TO USE FOR WRITING DATA
Provided are a computer program product, system, and method for using a plurality of sub-buffers and a free segment list to allocate segments to a plurality of threads to use for writing data. Groups of threads are assigned to sub-buffers. At least one segment of data is indicated in each of the sub...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | English |
Published |
25.05.2017
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Provided are a computer program product, system, and method for using a plurality of sub-buffers and a free segment list to allocate segments to a plurality of threads to use for writing data. Groups of threads are assigned to sub-buffers. At least one segment of data is indicated in each of the sub-buffers. The threads assigned to one of the sub-buffers write to the at least one segment indicated in the sub-buffer to which the threads are assigned. A free segment list indicates segments which are not indicated in one of the sub-buffers. In response to one of the segments in a containing sub-buffer comprising one of the sub-buffers becoming a full segment having less than a threshold amount of free space, the indication of the full segment in the containing sub-buffer is replaced with one of the segments indicated in the free segment list. |
---|---|
Bibliography: | Application Number: US201615240856 |