eWAPA: An eBPF-based WASI Performance Analysis Framework for WebAssembly Runtimes

被引:0
|
作者
Mao, Chenxi [1 ]
Su, Yuxin [1 ]
Shan, Shiwen [1 ]
Li, Dan [1 ]
机构
[1] Sun Yat Sen Univ, Sch Software Engn, Zhuhai, Peoples R China
基金
中国国家自然科学基金;
关键词
WebAssembly; Runtime; WebAssembly System Interface; I/O Performance Testing; eBPF;
D O I
10.1109/SSE62657.2024.00054
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
WebAssembly (Wasm) is a low-level bytecode format that can run in modern browsers. With the development of standalone runtimes and the improvement of the WebAssembly System Interface (WASI), Wasm has further provided a more complete sandboxed runtime experience for server-side applications, effectively expanding its application scenarios. However, the implementation of WASI varies across different runtimes, and suboptimal interface implementations can lead to performance degradation during interactions between the runtime and the operating system. Existing research mainly focuses on overall performance evaluation of runtimes, while studies on WASI implementations are relatively scarce. To tackle this problem, we propose an eBPF-based WASI performance analysis framework. It collects key performance metrics of the runtime under different I/O load conditions, such as total execution time, startup time, WASI execution time, and syscall time. We can comprehensively analyze the performance of the runtime's I/O interactions with the operating system. Additionally, we provide a detailed analysis of the causes behind two specific WASI performance anomalies. These analytical results will guide the optimization of standalone runtimes and WASI implementations, enhancing their efficiency.
引用
收藏
页码:323 / 333
页数:11
相关论文
共 50 条
  • [1] A Framework for eBPF-Based Network Functions in an Era of Microservices
    Miano, Sebastiano
    Risso, Fulvio
    Bernal, Mauricio Vasquez
    Bertrone, Matteo
    Lu, Yunsong
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2021, 18 (01): : 133 - 151
  • [2] SPRIGHT: High-Performance eBPF-Based Event-Driven, Shared-Memory Processing for Serverless Computing
    Qi, Shixiong
    Monis, Leslie
    Zeng, Ziteng
    Wang, Ian-Chin
    Ramakrishnan, K. K.
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2024, 32 (03) : 2539 - 2554
  • [3] SPRIGHT: Extracting the Server from Serverless Computing! High-performance eBPF-based Event-driven, Shared-memory Processing
    Qi, Shixiong
    Monis, Leslie
    Zeng, Ziteng
    Wang, Ian-chin
    Ramakrishnan, K. K.
    SIGCOMM '22: PROCEEDINGS OF THE 2022 ACM SIGCOMM 2022 CONFERENCE, 2022, : 780 - 794
  • [4] Performance Analysis of Agent Based Framework
    Sindhuja, K.
    Monisha, A., V
    Padmavathi, S.
    GRAPH ALGORITHMS, HIGH PERFORMANCE IMPLEMENTATIONS AND ITS APPLICATIONS (ICGHIA 2014), 2015, 47 : 37 - 44
  • [5] A Framework For The Performance Analysis Of Component Based Systems
    Bharathi, B.
    2015 INTERNATIONAL CONFERENCED ON CIRCUITS, POWER AND COMPUTING TECHNOLOGIES (ICCPCT-2015), 2015,
  • [6] An analysis framework for event-based sensor performance
    Cox, Joseph
    Ashok, Amit
    Morley, Nicholas
    UNCONVENTIONAL IMAGING AND ADAPTIVE OPTICS 2020, 2020, 11508
  • [7] Camouflage performance analysis and evaluation framework based on features fusion
    Xue, Feng
    Yong, Chengxi
    Xu, Shan
    Dong, Hao
    Luo, Yuetong
    Jia, Wei
    MULTIMEDIA TOOLS AND APPLICATIONS, 2016, 75 (07) : 4065 - 4082
  • [8] Camouflage performance analysis and evaluation framework based on features fusion
    Feng Xue
    Chengxi Yong
    Shan Xu
    Hao Dong
    Yuetong Luo
    Wei Jia
    Multimedia Tools and Applications, 2016, 75 : 4065 - 4082
  • [9] Framework for a performance-based analysis of fires following earthquakes
    Memari, Mehrdad
    Mahmoud, Hussam
    ENGINEERING STRUCTURES, 2018, 171 : 794 - 805
  • [10] Performance Analysis of Graph Based Iterative Algorithms on MapReduce Framework
    Debbarma, Akashdeep
    Annappa, B.
    Mude, Ravi G.
    2014 INTERNATIONAL CONFERENCE FOR CONVERGENCE OF TECHNOLOGY (I2CT), 2014,