I never thought that software routing would be so slow, I lowered the latency by 1ms (which represents 25%) by migrating to an hardware router.