Skip to main content

Crate trueno_zram_adaptive

Crate trueno_zram_adaptive 

Source
Expand description

ML-driven compression algorithm selection for trueno-zram.

This crate provides entropy-based analysis and machine learning models to select the optimal compression algorithm for each memory page.

§GPU Routing

The BatchClassifier implements intelligent routing of compression workloads to scalar, SIMD, or GPU backends based on the 5x PCIe rule.

Re-exports§

pub use classifier::BatchClassifier;
pub use classifier::ComputeBackend;
pub use classifier::PageClassifier;
pub use classifier::GPU_BATCH_THRESHOLD;
pub use classifier::SIMD_BATCH_THRESHOLD;
pub use entropy::EntropyCalculator;
pub use entropy::EntropyLevel;

Modules§

classifier
Page classification for algorithm selection.
entropy
Shannon entropy calculation for memory pages.
model
ML model for compression algorithm selection.