[Paper Review] Connecting the World of Embedded Mobiles: The RIOT Approach to Ubiquitous Networking for the Internet of Things
This paper presents RIOT's modular, layered networking architecture with GNRC as its default stack, enabling full-featured, multi-interface networking on low-power IoT devices. Despite using a clean, modular design, GNRC achieves performance comparable to monolithic systems like Contiki and TinyOS, while offering superior configurability and extensibility for heterogeneous networks.
The Internet of Things (IoT) is rapidly evolving based on low-power compliant protocol standards that extend the Internet into the embedded world. Pioneering implementations have proven it is feasible to inter-network very constrained devices, but had to rely on peculiar cross-layered designs and offer a minimalistic set of features. In the long run, however, professional use and massive deployment of IoT devices require full-featured, cleanly composed, and flexible network stacks. This paper introduces the networking architecture that turns RIOT into a powerful IoT system, to enable low-power wireless scenarios. RIOT networking offers (i) a modular architecture with generic interfaces for plugging in drivers, protocols, or entire stacks, (ii) support for multiple heterogeneous interfaces and stacks that can concurrently operate, and (iii) GNRC, its cleanly layered, recursively composed default network stack. We contribute an in-depth analysis of the communication performance and resource efficiency of RIOT, both on a micro-benchmarking level as well as by comparing IoT communication across different platforms. Our findings show that, though it is based on significantly different design trade-offs, the networking subsystem of RIOT achieves a performance equivalent to that of Contiki and TinyOS, the two operating systems which pioneered IoT software platforms.
Motivation & Objective
- To design a full-featured, modular networking subsystem for ultra-constrained IoT devices that supports multiple heterogeneous interfaces and protocols.
- To enable seamless integration of new networking functions—such as ICN or SDN—through clean, abstracted APIs.
- To evaluate the performance and resource efficiency of RIOT's networking stack against established IoT stacks like lwIP and emb6.
- To demonstrate that a layered, modular network stack can achieve performance comparable to monolithic, optimized systems in low-resource environments.
- To enable future extensibility through support for emerging standards like IP over lpWAN and adaptive multi-path forwarding.
Proposed method
- Designing a modular networking subsystem with generic interfaces for drivers, protocols, and entire stacks, enabling pluggable components.
- Implementing GNRC as a recursively composed, layered network stack that leverages RIOT’s multi-threading and IPC for clean protocol separation.
- Supporting concurrent operation of multiple heterogeneous interfaces (e.g., IEEE 802.15.4, Ethernet, LoRa, CAN) for multi-path and technology handover capabilities.
- Benchmarking communication performance using micro-benchmarks across different hardware platforms and comparing GNRC with lwIP and emb6.
- Evaluating ICN-based CCN-lite as a future Internet protocol stack within the same subsystem to assess name-based processing overheads.
- Using asynchronous IPC to efficiently manage inter-layer communication, especially beneficial for ICN’s request-response model.
Experimental results
Research questions
- RQ1Can a clean, layered, modular networking architecture achieve performance comparable to monolithic, optimized IoT network stacks like Contiki and TinyOS?
- RQ2How does the performance of RIOT’s GNRC stack compare to lwIP and emb6 in real-world micro-benchmarks across diverse IoT hardware platforms?
- RQ3To what extent does the modular design of RIOT’s networking subsystem support extensibility for emerging protocols like ICN or SDN?
- RQ4What are the performance trade-offs of implementing an information-centric networking (ICN) stack such as CCN-lite in a constrained embedded environment?
- RQ5How do hardware-level optimizations (e.g., SPI and radio buffer usage) impact transmission performance and introduce variability in benchmark results?
Key findings
- GNRC achieves performance equivalent to Contiki and TinyOS despite using a modular, layered design, with RIOT outperforming Contiki by approximately 20% in device-to-device packet transmission times.
- The performance difference between RIOT and Contiki is primarily due to hardware transmission inefficiencies, not protocol or driver processing overheads.
- GNRC consumes only 4 kB of RAM for a full-featured ICN stack (CCN-lite), demonstrating high memory efficiency for future Internet protocols.
- CCN-lite processing times are over twice as high as GNRC’s IP stack due to name parsing and comparison overhead, especially for longer content names.
- The asynchronous IPC model in RIOT’s networking subsystem is particularly advantageous for ICN’s request-response paradigm, enabling efficient strategy layering per name prefix.
- The modular architecture allows for easy integration and configuration of new protocols, with minimal runtime and memory overhead, enhancing long-term maintainability and extensibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.