METHOD AND APPARATUS TO AGGREGATE OBJECTS TO BE STORED IN A MEMORY TO OPTIMIZE THE MEMORY BANDWIDTH

    公开(公告)号:US20230129107A1

    公开(公告)日:2023-04-27

    申请号:US18086030

    申请日:2022-12-21

    Abstract: A network device performs packet processing operations on packets received from a network and includes a write back cache to store data (for example, counters) used to perform the packet processing operations. The data stored in the write cache in the network device are evicted from the write back cache to an external memory from time to time using a write-back operation that includes a read-modify-write of a line in the external memory. Instead of performing a separate read-modify-write for each data stored in the cache line, a single read-modify-write operation is performed for all data stored in the cache line in the write back cache. The aggregation of relatively close data for the single read-modify-write operation reduces the number of memory accesses to the external memory and improves the bandwidth to the external memory.

Patent Agency Ranking