Skip to main content
QUICK REVIEW

[Paper Review] Load-Balancing for Improving User Responsiveness on Multicore Embedded Systems

Geunsik Lim, Changwoo Min|arXiv (Cornell University)|Jan 20, 2021
Parallel Computing and Optimization TechniquesComputer Science23 references9 citations
TL;DR

This paper proposes an operation zone-based load-balancer for multicore embedded systems that reduces scheduling latency by minimizing unnecessary task migrations, prioritizing high-importance tasks and optimizing per-CPU utilization. By limiting aggressive load-balancing and reducing double-locking overhead, it improves user responsiveness and cache efficiency, cutting average scheduling latency by 2.3× under heavy load.

ABSTRACT

Most commercial embedded devices have been deployed with a single processor architecture. The code size and complexity of applications running on embedded devices are rapidly increasing due to the emergence of application business models such as Google Play Store and Apple App Store. As a result, a high-performance multicore CPUs have become a major trend in the embedded market as well as in the personal computer market. Due to this trend, many device manufacturers have been able to adopt more attractive user interfaces and high-performance applications for better user experiences on the multicore systems. In this paper, we describe how to improve the real-time performance by reducing the user waiting time on multicore systems that use a partitioned per-CPU run queue scheduling technique. Rather than focusing on naive load-balancing scheme for equally balanced CPU usage, our approach tries to minimize the cost of task migration by considering the importance level of running tasks and to optimize per-CPU utilization on multicore embedded systems. Consequently, our approach improves the real-time characteristics such as cache efficiency, user responsiveness, and latency. Experimental results under heavy background stress show that our approach reduces the average scheduling latency of an urgent task by 2.3 times.

Motivation & Objective

  • Address the growing need for real-time responsiveness in multicore embedded systems due to increasing application complexity.
  • Reduce scheduling latency caused by aggressive, naive load-balancing in SMP schedulers.
  • Minimize task migration overhead, cache invalidation, and synchronization costs in multicore embedded environments.
  • Improve user responsiveness and system efficiency without modifying user-space applications.
  • Enable flexible, importance-aware load-balancing that avoids overloading individual CPU cores.

Proposed method

  • Introduces an operation zone-based load-balancing mechanism that groups CPUs into zones based on utilization levels.
  • Prioritizes task migration based on task importance and per-CPU load, rather than strict CPU usage balance.
  • Reduces double-locking overhead by limiting migration during non-preemptible intervals, especially for high-priority tasks.
  • Uses a flexible migration policy that avoids excessive migrations, even when CPU loads are slightly imbalanced.
  • Leverages existing Linux kernel facilities such as CPU affinity, CPUSETS, and scheduler domains without requiring application-level changes.
  • Employs ftrace to analyze kernel function traces and validate reduced scheduling latency and migration overhead.

Experimental results

Research questions

  • RQ1How can load-balancing in multicore embedded systems be optimized to reduce scheduling latency without increasing CPU load imbalance?
  • RQ2To what extent does task migration overhead—especially double-locking and cache invalidation—affect real-time responsiveness?
  • RQ3Can a zone-based load-balancing approach reduce scheduling latency while maintaining efficient CPU utilization?
  • RQ4How does importance-aware task migration impact user-perceived responsiveness in real-world embedded workloads?
  • RQ5What is the trade-off between load-balancing fairness and responsiveness in high-concurrency embedded systems?

Key findings

  • The proposed load-balancer reduces average scheduling latency of urgent tasks by 2.3 times under heavy background load.
  • Scheduling latency for high-priority tasks dropped from 72 microseconds to 31 microseconds on average, a reduction of over 2×.
  • The approach reduces non-preemptible intervals caused by double-locking during task migration, improving real-time characteristics.
  • Cache efficiency and system responsiveness improved due to reduced task migration and better CPU affinity retention.
  • The solution incurs no application-level changes, making it deployable in existing embedded systems with minimal integration effort.
  • The method effectively suppresses unnecessary migrations, lowering synchronization costs and power consumption in multicore embedded devices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.