CPC G06F 12/0895 (2013.01) [G06F 12/0864 (2013.01); G06F 12/121 (2013.01)] | 17 Claims |
1. A packet cache system comprising:
a memory allocator for assigning a memory address to a packet;
a cache memory allocator for receiving the memory address corresponding to a non-cache memory and allocated to the packet, and associating the memory address with a cache memory address;
a hash table for storing the memory address and the cache memory address, with the memory address as a key and the cache memory address as a value;
a cache memory for storing the packet at a location indicated by the cache memory address; and
an eviction engine for determining one or more cached packets to remove from the cache memory and place in the non-cache memory when occupancy of the cache memory is high,
wherein the memory allocator is operable to form the packet into one or more cells, the one or more cells comprising a control cell when the packet is formed into one cell, and comprising a control cell and one or more data cells when the packet is formed into more than one cell, wherein the memory allocator assigns the memory address to the control cell, and respectively assigns one or more additional memory addresses to the one or more data cells.
|