- Patent Title: Synchronizing a cursor based on consumer and producer throughputs
-
Application No.: US15052994Application Date: 2016-02-25
-
Publication No.: US09965219B2Publication Date: 2018-05-08
- Inventor: Anthony T. Sofia
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent William A. Kinnaman, Jr.
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F3/06

Abstract:
A computer-implemented method includes writing, by a producer, data to one or more buffers. The one or more buffers include a plurality of cells and together form a circular buffer, and an input cursor indicates which cell of the plurality of cells the producer writes to. The method further includes reading, by a consumer, data from the one or more buffers, where an output cursor indicates which cell of the plurality of cells the consumer reads from. It is detected that the consumer is overrun by the producer. A throughput of the consumer is compared to a throughput of the producer, responsive to detecting that the consumer is overrun by the producer. The output cursor is synchronized to a new position, by a computer processor, where the new position is selected based on comparing the throughput of the consumer to the throughput of the producer.
Public/Granted literature
- US20170249101A1 SYNCHRONIZING A CURSOR BASED ON CONSUMER AND PRODUCER THROUGHPUTS Public/Granted day:2017-08-31
Information query