Performance Evaluation of CPU and GPU Architectures in Google Colab-Based Parallel Computing Using Execution Time and Speedup
(1) * Didik Haryanto  
(Universitas Teknokrat Lampung)          Indonesia
(2)  Muhamad Nur Hoiri   (Universitas Teknokrat Lampung)  
        Indonesia
(3)  Ahmad Sidiq   (Universitas Teknokrat Lampung)  
        Indonesia
(4)  Amelia Azzahrah   (Universitas Teknokrat Lampung)  
        Indonesia
(5)  Amarudin Amarudin   (Universitas Teknokrat Lampung)  
        Indonesia
(*) Corresponding Author
AbstractModern computing demands have driven the use of processing devices capable of handling large workloads quickly and efficiently. The CPU plays an important role as the central controller for general-purpose instructions, whereas the GPU provides parallel-processing capabilities that are better suited to large-scale numerical operations. This study aims to evaluate performance differences between CPU and GPU architectures in Google Colab-based parallel computing. A quantitative experimental method was employed using a matrix multiplication test scenario implemented with the PyTorch library. Tests were performed on five matrix sizes: 500 x 500, 1000 x 1000, 2000 x 2000, 3000 x 3000, and 4000 x 4000. The measured parameters included CPU execution time, GPU execution time, and speedup. The results show that the GPU was not optimal for the small 500 x 500 matrix, with a speedup of 0.47 times. However, for larger matrices, the GPU delivered substantial performance gains, achieving speedups of 23.25 to 27.30 times over the CPU. These findings indicate that GPUs are more effective for large-scale parallel processing.
|
Keywords
CPU; GPU; Google Colab; komputasi paralel;
Full Text: VIEW PDF
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Didik Haryanto, Muhamad Nur Hoiri, Ahmad Sidiq, Amelia Azzahrah, Amarudin Amarudin

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
COREAI: Jurnal Kecerdasan Buatan, Komputasi dan Teknologi Informasi
Published by Technic Faculty of Nurul Jadid University, Probolinggo, East Java, Indonesia.





