OAK

ePipe: Decomposing the WebAssembly Streaming I/O Tax Into Data-Path and Guest-Computation Costs

Metadata Downloads
Author(s)
Kim, Ho; Kim, Jongwon
Type
Article
Citation
IEEE ACCESS, v.14, pp.143952 - 143969
Issued Date
2026-09
Abstract
WebAssembly lets a host run untrusted code inside a safe sandbox, and it is increasingly used for data-heavy work on servers and at the edge. That safety comes at a speed cost, which is usually reported as a single number, a whole-program slowdown of about 1.5 & times; over native code. But one number is the wrong unit for that cost, because it blends together two costs that behave very differently. The first is the cost of moving data into and out of the sandbox. The second is the cost of the program's own computation, which has to run inside the sandbox. The identical source program is built as native code and as WebAssembly. Both builds process the same page-cache-resident 1 gibibyte (GiB; 2(30) bytes) real-world log on one engine under a common request stream and I/O execution path. Across the host-executed data-path sweep over twelve request sizes, the WebAssembly/native ratio is 0.995-1.016 & times;. In the separate path-only comparison, the WebAssembly/native ratio is 0.90-1.06 & times; for ePipe and 1.26-1.72 & times; for the ePipe-internal same-source guest-executed control. What is left is the computation cost, which depends on the work: scanning text with a regular expression costs about 1.45 & times;, while hashing the whole stream costs about 5.56 & times;. Such a design must obey H3, the page-stability invariant; a controlled page-ordering experiment distinguishes two adverse histories from two page-stability controls. The same split shows up again on a second machine, engine, compiler, and dataset. The same-code decomposition provides a bounded method for separating host-executed data-path cost from sandboxed guest-computation cost.
Publisher
IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC
ISSN
2169-3536
DOI
10.1109/ACCESS.2026.3732375
URI
https://scholar.gist.ac.kr/handle/local/34774
Appears in Collections:
Department of AI > 1. Journal Articles
공개 및 라이선스
  • 공개 구분공개
파일 목록
  • 관련 파일이 존재하지 않습니다.

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.