Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cmd/xtcp2/xtcp2.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ func main() {

d := flag.Uint("d", debugLevelCst, "debug level")

ioUring := flag.Bool("ioUring", false, "Opt in to io_uring for netlink reads and raw-socket destination writes (Linux 6.1+)")
ioUringRecvBatch := flag.Uint("ioUringRecvBatch", 64, "io_uring recvmsg SQEs kept in flight per Netlinker (1-4096). Higher reduces syscalls on high-fanout hosts.")
ioUringCqeBatch := flag.Uint("ioUringCqeBatch", 128, "io_uring max CQEs reaped per PeekBatchCQE call (1-4096)")

flag.Parse()

// Print version information passed in via ldflags in the Makefile
Expand Down Expand Up @@ -240,6 +244,10 @@ func main() {
Tag: *tag,
GrpcPort: uint32(*grpcPort),
EnabledDeserializers: des,

IoUring: *ioUring,
IoUringRecvBatchSize: uint32(*ioUringRecvBatch),
IoUringCqeBatchSize: uint32(*ioUringCqeBatch),
}

if debugLevel > 100 {
Expand Down
53 changes: 53 additions & 0 deletions dart/xtcp_config/v1/xtcp_config.pb.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions dart/xtcp_config/v1/xtcp_config.pbjson.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading