Software-defined networking (SDN), a new type of network architecture with the advantages of programmability and centralized management, has become a promising solution for managing and optimizing network traffic in modern data centers. However, designing efficient SDN controllers and applications requires a deep understanding of their network performance characteristics. In this work, we implement a machine learning-based method for SDN performance prediction. Our method uses supervised learning to build a training model based on a set of publicly available real network traffic datasets and then uses the model to predict future network performance metrics, such as RTT, S2C, and C2C. Our method is evaluated in two different SDN distributed deployment structures, demonstrating its effectiveness in network performance prediction. We observed that XGBoost achieves the lowest error in most of the cases in terms of MAE, RMSE and MAPE, and feature selection through PCA fails to further improve the prediction performance of XGBoost.