Patent ID: 8291136
Filing Date: 2012-10-16
Classification: G06F

Abstract:
1. A computer implemented method for reading data from a hardware bound ring buffer, the method comprising: determining that a read index is not equal to a write index having an inverted epoch bit, wherein the read index is in a device register; responsive to a determination that the read index is not equal to the write index having the inverted epoch bit, reading from a buffer location addressed by the read index; incrementing the read index; determining that the hardware has additional read capacity; receiving a change to a write index in the device register; determining that a read index is equal to a write index having an inverted epoch bit; and writing a copy of the read index to a read index in shared memory; determining that a threshold number of writes to the hardware bound ring buffer have occurred without intervening writes of a copy of hardware read index to the shared memo read index; responsive to determining that the threshold number of writes to the hardware bound ring buffer have occurred without intervening writes of the copy of hardware read index to the read index in shared memory, writing the copy of the hardware read index to the shared memory read index; receiving a preference for the threshold from a computer operator; and setting the threshold number according to the preference.