WIP: udp io-uring experiments

This commit is contained in:
Joakim Frostegård 2021-11-12 13:30:50 +01:00
parent f93db6a9f2
commit c949bde532
4 changed files with 548 additions and 2 deletions

20
Cargo.lock generated
View file

@ -179,12 +179,15 @@ dependencies = [
"aquatic_cli_helpers",
"aquatic_common",
"aquatic_udp_protocol",
"bytemuck",
"cfg-if",
"crossbeam-channel",
"futures-lite",
"glommio",
"hex",
"histogram",
"io-uring",
"libc",
"log",
"mimalloc",
"mio",
@ -194,6 +197,7 @@ dependencies = [
"rand",
"serde",
"signal-hook",
"slab",
"socket2 0.4.2",
]
@ -446,6 +450,12 @@ version = "3.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9df67f7bf9ef8498769f994239c45613ef0c5899415fb58e9add412d2c1a538"
[[package]]
name = "bytemuck"
version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72957246c41db82b8ef88a5486143830adeb8227ef9837740bdec67724cf2c5b"
[[package]]
name = "byteorder"
version = "1.4.3"
@ -1130,6 +1140,16 @@ dependencies = [
"memoffset 0.5.6",
]
[[package]]
name = "io-uring"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d75829ed9377bab6c90039fe47b9d84caceb4b5063266142e21bcce6550cda8"
dependencies = [
"bitflags",
"libc",
]
[[package]]
name = "itertools"
version = "0.10.1"