Skip to content

Conversation

tck16066
Copy link
Owner

@tck16066 tck16066 commented Jun 21, 2025

Tested on June 15. There were 2 kernel modules, one for each of 2 hosts, and it showed a massive improvement in RTT between two QEMU instances connected on the same host through tap interfaces over a bridge. Userspace ping was ~3ms. Kernelspace raw frame "ping" was 800us.

Additional experiments performed with kernel modules registering a handler for the custom protocol. This removes the need for kernel patching, but adds about 30us in this setup. So we use the simple kernel patch.

@tck16066 tck16066 force-pushed the kernel_stack_bypass branch 2 times, most recently from f8fb544 to 3ea2084 Compare June 21, 2025 23:29
@tck16066 tck16066 force-pushed the kernel_stack_bypass branch from 3ea2084 to 62be3a8 Compare June 24, 2025 18:59
@tck16066 tck16066 changed the title Kernel network stack bypass, with probably unnecessary changes in net… Kernel network stack bypass Jun 24, 2025
@tck16066 tck16066 merged commit 1900c46 into my_v6.12.33 Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant