IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v14y2022i8p220-d870962.html
   My bibliography  Save this article

Exploring Distributed Deep Learning Inference Using Raspberry Pi Spark Cluster

Author

Listed:
  • Nicholas James

    (Faculty of Information Science and Technology, Multimedia University, Melaka 75450, Malaysia)

  • Lee-Yeng Ong

    (Faculty of Information Science and Technology, Multimedia University, Melaka 75450, Malaysia)

  • Meng-Chew Leow

    (Faculty of Information Science and Technology, Multimedia University, Melaka 75450, Malaysia)

Abstract

Raspberry Pi (Pi) is a versatile general-purpose embedded computing device that can be used for both machine learning (ML) and deep learning (DL) inference applications such as face detection. This study trials the use of a Pi Spark cluster for distributed inference in TensorFlow. Specifically, it investigates the performance difference between a 2-node Pi 4B Spark cluster and other systems, including a single Pi 4B and a mid-end desktop computer. Enhancements for the Pi 4B were studied and compared against the Spark cluster to identify the more effective method in increasing the Pi 4B’s DL performance. Three experiments involving DL inference, which in turn involve image classification and face detection tasks, were carried out. Results showed that enhancing the Pi 4B was faster than using a cluster as there was no significant performance difference between using the cluster and a single Pi 4B. The difference between the mid-end computer and a single Pi 4B was between 6 and 15 times in the experiments. In the meantime, enhancing the Pi 4B is the more effective approach for increasing the DL performance, and more work needs to be done for scalable distributed DL inference to eventuate.

Suggested Citation

  • Nicholas James & Lee-Yeng Ong & Meng-Chew Leow, 2022. "Exploring Distributed Deep Learning Inference Using Raspberry Pi Spark Cluster," Future Internet, MDPI, vol. 14(8), pages 1-26, July.
  • Handle: RePEc:gam:jftint:v:14:y:2022:i:8:p:220-:d:870962
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/14/8/220/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/14/8/220/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:14:y:2022:i:8:p:220-:d:870962. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.