Journal of King Saud University: Computer and Information Sciences (Mar 2022)

Unleashing the hidden powers of low-cost IoT boards: GPU-based edutainment case study

  • Marwa K. Elteir,
  • Shaimaa Lazem,
  • Mohamed Azab

Journal volume & issue
Vol. 34, no. 3
pp. 747 – 756

Abstract

Read online

The Ubiquitous interconnected smart devices enabled by the recent evolution of low-cost, generic, small-size, powerful computing platforms devised the term Internet of Things (IoT), which cross-cuts many areas of our modern day living. IoT applications go way beyond simple sensing and actuation to sophisticated localized processing and decision-making. The recent advances in embedded systems produced a long list of IoT boards equipped with powerful central processing units (CPUs), and graphics processing units (GPUs). Unfortunately, even with the limited energy consumption and high processing power of such GPUs, CPUs are usually the only computational element utilized by the hosted applications, thus hindering the capabilities of the entire board. This is mainly due to the complicated nature of GPU-based programming. In this paper, we are presenting a case study showing the effect of offloading the computationally intensive part of a latency-sensitive educational game to a low-cost Raspberry Pi’s GPU, thus enabling the board to seamlessly host the entire game operations. Relying mainly on the boards CPU shows very long interaction latency i.e., 4.82 s. By efficiently leveraging the powerful coprocessor, VideoCore GPU, we are able to significantly improve the interaction latency to a fraction of a second, making the game conveniently playable.

Keywords