image/svg+xml
0
16384
32768
49152
65536
0
0
16384
16384
32768
49152
65536
ring
chct
phpt
value forindexes(prod_head,prod_tail, ...)
used entries in ring
size = 16384mask = 16383ph = pt = 14000ct = ch = 3000used_entries = (pt - ch) % 65536 = 11000free_entries = (mask + ct - ph) % 65536 = 5383
used_entries