03d00293ca
The old code was doing a floating point divide for each rte_dequeue() which is very expensive. Change to using fixed point scaled inverse multiply. To maintain equivalent precision, scaled math is used. The application ABI is the same. This improved performance from 5Gbit/sec to 10 Gbit/sec when configured for 10 Gbit/sec rate. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> |
||
---|---|---|
.. | ||
Makefile | ||
rte_approx.c | ||
rte_approx.h | ||
rte_bitmap.h | ||
rte_reciprocal.c | ||
rte_reciprocal.h | ||
rte_red.c | ||
rte_red.h | ||
rte_sched_common.h | ||
rte_sched_version.map | ||
rte_sched.c | ||
rte_sched.h |