Taming the elephants: Affordable flow length prediction in the data plane