Skip to content

Can pw_kernel Avoid IPC Copy Overhead for Large-Buffer Firmware Workflows? #232

Description

@rusty1968

IPC Copy Overhead in Large-Buffer Firmware Workflows

Firmware measurement and verification workflows require transferring large data buffers (e.g., 4KB firmware pages) between protection domains for hashing and integrity checking. Currently, pw_kernel uses message-based IPC copying, which introduces unnecessary overhead:

  • Throughput bottleneck: Page data must be copied from the caller's buffer into the IPC message for each transfer, with overhead proportional to page size
  • Latency: Per-message copying overhead accumulates over many pages
  • Not suitable for streaming: Hashing large firmware images page-by-page for measurement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions