The Internet of Vehicles (IoV) may face challenging cybersecurity attacks
that may require sophisticated intrusion detection systems, necessitating a
rapid development and response system. This research investigates the
performance advantages of GPU-accelerated libraries (cuML) compared to
traditional CPU-based implementations (scikit-learn), focusing on the speed and
efficiency required for machine learning models used in IoV threat detection
environments. The comprehensive evaluations conducted employ four machine
learning approaches (Random Forest, KNN, Logistic Regression, XGBoost) across
three distinct IoV security datasets (OTIDS, GIDS, CICIoV2024). Our findings
demonstrate that GPU-accelerated implementations dramatically improved
computational efficiency, with training times reduced by a factor of up to 159
and prediction speeds accelerated by up to 95 times compared to traditional CPU
processing, all while preserving detection accuracy. This remarkable
performance breakthrough empowers researchers and security specialists to
harness GPU acceleration for creating faster, more effective threat detection
systems that meet the urgent real-time security demands of today's connected
vehicle networks.