Variable Rate
Lookup latency is not constant for variable rate STCAM. The latency value shown in the GUI represents the minimum lookup latency.
Latency varies depending on how many entries match the lookup key. If more than MAX(2, TDM_FACTOR) rules match, the lookup request cannot finish at the defined lookup rate, and the latency increases. The latency further increases if there are consecutive lookup requests with more than MAX(2, TDM_FACTOR) matches. The latency decreases if there are lookup requests with less than MAX(2, TDM_FACTOR) matches.
LPM Mode
Lookup latency varies in LPM mode.
Fixed Rate
The STCAM lookup latency depends on the size of the STCAM, the TDM factor and memory type. The lookup latency is constant for fixed rate STCAM, and some examples are shown in the following table.
| Entries | TDM Factor = 1 | TDM Factor = 4 | TDM Factor = 16 | TDM Factor = 32 |
|---|---|---|---|---|
| 256 | 16 | 16 | 11 | 10 |
| 1K | 18 | 16 | 11 | 10 |
| 4K | 18 | 16 | 11 | 10 |
| 16K | 18 | 16 | 11 | 10 |
KEY_WIDTH = 32, RESPONSE_WIDTH = 16, NUM_MASKS = 32, LOOKUP_RATE = LOOKUP_INTERFACE_FREQ = 15M.