PlatformLab / HomaModule

A Linux kernel module that implements the Homa transport protocol.
175 stars 43 forks source link

New api2 #13

Closed danmanj closed 2 years ago

danmanj commented 2 years ago

Addressing incorrect usage and benchmarking API concerns.

Strictly check that user code is not filing in pad or flag fields with unknown values.

Modulate the size of the ioctl structs from 80/88 to 128 bytes, and benchmark.

This on my machines shows 128 byte ioctl structs are 1.8% faster than 80/88 byte structs, probably due to optimized memcpy.

danmanj commented 2 years ago

The last 3 commits here are for performance testing only, but the rest of this pull request is serious.