arXiv

E2LLM: Towards Efficient LLM Serving in Heterogeneous Edge/Fog Environments

Title: E2LLM: Advancing Efficient LLM Serving in Heterogeneous Edge and Fog Networks

Abstract:

While Large Language Models (LLMs) are now central to contemporary applications, their practical implementation faces significant hurdles. Effective deployment requires not only model execution but also careful management of cost efficiency, latency reduction, and resource optimization. Standard methodologies often presuppose that a complete model can reside on a single device, an assumption that frequently fails in real-world contexts, especially within Edge and Fog ecosystems where hardware capabilities are limited.

To address these constraints, this study presents E2LLM, a novel framework engineered for efficient LLM deployment in resource-scarce environments. Instead of merely splitting one model across all available nodes, E2LLM employs a strategy of replicating the entire model across several device groups, known as replicas. Within each replica, model parallelism is applied. Furthermore, each replica is designated a specific function—either PREFILL or DECODER—determined by its proficiency in processing input versus output tokens. This division capitalizes on the distinct characteristics inherent to the two phases of LLM inference.

To optimize device organization, the framework employs a Genetic Algorithm to create clusters that maximize overall system performance. Subsequently, Dynamic Programming is utilized within each cluster to identify the optimal partitioning strategy, thereby minimizing execution bottlenecks during model-parallel operations. Our experimental findings indicate that E2LLM demonstrates strong adaptability to fluctuating workloads, including cases with substantial disparities in input and output token lengths. Notably, under high-demand scenarios, E2LLM achieves a reduction in average waiting time of more than 50% when compared to the Splitwise baseline.


Source: arXiv Generated at: 2026-06-03 00:00:00 UTC

Related Articles

TikTok Billionaire Tops Ambani as Asia’s Second-Richest
Bloomberg

TikTok Billionaire Tops Ambani as Asia’s Second-Richest

TikTok founder surpasses Mukesh Ambani to become Asia’s second-richest person, marking a significant shift in the region...

Publishers in UK can opt out of Google AI search results
BBC News

Publishers in UK can opt out of Google AI search results

UK publishers can now opt out of Google’s AI search summaries, a CMA ruling designed to boost their bargaining power and...

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.
Bloomberg

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.

Kioxia’s market cap nears Toyota’s, signaling a major shift in Japan’s corporate hierarchy. This narrowing gap highlight...

Reuters

Morning Bid: Marvell, a fitting name for the latest AI darling

Reuters highlights Marvell as a top AI stock, noting its name perfectly suits its status as the newest market darling.

Financial Times

Tim Hayward: I built the Jaguar E-Type of computer keyboards

Tim Hayward compares his bespoke keyboard designs to the Jaguar E-Type. He explores high-end customization for personal ...

Financial Times

AI Labs: Zuckerberg’s $100bn gamble

Meta’s $100 billion AI investment aims to secure AI dominance, but questions remain whether sheer spending can outpace c...