A Markov model to control heat dissipation in open multi-frequency green routers