Skip to main content

Crate sof_gossip_tuning

Crate sof_gossip_tuning 

Source
Expand description

Typed control surface for SOF gossip and ingest tuning.

This crate is intentionally narrow:

  • it models the tuning knobs SOF can already apply directly,
  • it keeps upstream gossip queue ambitions explicit without pretending they are live,
  • it gives service builders one typed place to define host-specific tuning presets.

Re-exports§

pub use application::ports::RuntimeTuningPort;
pub use application::service::GossipTuningService;
pub use domain::constants::DEFAULT_INGEST_QUEUE_CAPACITY;
pub use domain::constants::DEFAULT_RECEIVER_COALESCE_WAIT_MS;
pub use domain::constants::DEFAULT_UDP_BATCH_SIZE;
pub use domain::constants::LEGACY_GOSSIP_CHANNEL_CAPACITY;
pub use domain::constants::VPS_GOSSIP_CHANNEL_CAPACITY;
pub use domain::error::TuningValueError;
pub use domain::model::GossipChannelTuning;
pub use domain::model::GossipTuningProfile;
pub use domain::model::HostProfilePreset;
pub use domain::model::IngestQueueMode;
pub use domain::model::PendingGossipQueuePlan;
pub use domain::model::ReceiverFanoutProfile;
pub use domain::model::ReceiverPinningPolicy;
pub use domain::model::SofRuntimeTuning;
pub use domain::value_objects::CpuCoreIndex;
pub use domain::value_objects::QueueCapacity;
pub use domain::value_objects::ReceiverCoalesceWindow;
pub use domain::value_objects::TvuReceiveSocketCount;

Modules§

application
Application services and ports for applying gossip tuning profiles.
domain
Domain model for SOF gossip and ingest tuning.