System-level performance optimization of the data queueing memory management in high-speed network processors