Hi Gary,
The following clusters have large inter-arrival gap, cluster4, cluster11, cluster19, cluster34, cluster48, cluster50, cluster54. I have attached the inter-arrival gap distribution.
In terms of scripts to generate a L2 trace, sorry, I just realize that my scripts are for a different format and have some dependencies. But I have attached a code snippet of L1 (FIFO) for you to get start. You can develop a more complete solution using PyMimircache or libCacheSim.
fifo_list = deque()
fifo_set = set()
for req in trace:
if req in fifo_dict:
continue
fifo_set.add(req)
fifo_list.append(req)
if len(fifo_list) > L1_size:
evict = fifo_list.popleft()
fifo_set.remove(evict)
![]()
![]()
![]()
![]()
![]()
![]()
![]()