Optimizing power delay product in energy-aware packet forwarding engines