Skip to content

Improve performance of gvisor-tap-vsock port driver #529

@fahedouch

Description

@fahedouch

Currently, using the gvisor-tap-vsock port driver adds a userspace TCP proxy, which reduces throughput from ~6.5 Gbit/s to ~4.0 Gbit/s due to extra copies and wakeups.

It seems possible to improve performance by using tunneling via `/services/tunnel in gvisor-tap-vsock. This approach would remove the TCP proxy and allow buffer control in rootlesskit, potentially reducing latency and increasing throughput.

Proposal:

  • Investigate and implement port forwarding via tunnel in rootlesskit.
  • Document possible performance impacts and any new bottlenecks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions