Optimisation of power consumption in wired packet networks