A routing device and associated method for allocating the nodes of a
multi-way trie of a forwarding routing table between two or more memory
devices is disclosed. In the preferred embodiment, the routing device
comprises a routing table for storing a plurality of routes in a multiway
trie in a first memory for caching a first set of the plurality of trie
nodes and a second memory for caching a second set of the plurality of
trie nodes; and a route manager adapted to relocate one or more nodes of
the second set from the second memory to the first memory such that the a
utilization count for each of the nodes of the first memory is higher
than each of the nodes of the second memory.