A Method of Traffic Prediction for Performance Adjustable Energy-aware Routers