Improve CPU pinning

This commit is contained in:
Joakim Frostegård 2022-03-30 22:33:23 +02:00
parent 5057ba73bd
commit fb607ac0c2
20 changed files with 219 additions and 143 deletions

View file

@ -12,7 +12,8 @@ readme = "../README.md"
name = "aquatic_common"
[features]
cpu-pinning = ["hwloc", "libc"]
with-glommio = ["glommio"]
with-hwloc = ["hwloc"]
[dependencies]
aquatic_toml_config = "0.2.0"
@ -23,11 +24,12 @@ arc-swap = "1"
hashbrown = "0.12"
hex = "0.4"
indexmap-amortized = "1"
libc = "0.2"
log = "0.4"
privdrop = "0.5"
rand = { version = "0.8", features = ["small_rng"] }
serde = { version = "1", features = ["derive"] }
# cpu-pinning
# Optional
glommio = { version = "0.7", optional = true }
hwloc = { version = "0.5", optional = true }
libc = { version = "0.2", optional = true }