Energy saving and network performance: a trade-off approach