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
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: