diff --git a/src/program/generate.cpp b/src/program/generate.cpp index 0d3be8b3..893cd090 100644 --- a/src/program/generate.cpp +++ b/src/program/generate.cpp @@ -8152,6 +8152,11 @@ int main(int argc, char** argv) { : pin_blobs_on() ? "not with page-locked swap sources" : strata::core::dma_batch_mode() != 0 ? "not with STRATA_DMA_BATCH" : adapt_lag() != 1 || adapt_nowait() ? "not with STRATA_ADAPT_LAG / STRATA_ADAPT_NOWAIT" + // the resident RAM mode is exact too (soft_commit_exchanges) but not a win everywhere: RTX A4000 +7.0% + // (5/5 pairs), RTX 3060 on a 46 GB box -2.6% (0/5; the CPU experts and the copies share the RAM bandwidth) + : src.complement_ready() && !(std::getenv("STRATA_ADAPT_OVERLAP_RESIDENT") && + std::getenv("STRATA_ADAPT_OVERLAP_RESIDENT")[0] == '1') + ? "not in the resident RAM mode unless STRATA_ADAPT_OVERLAP_RESIDENT=1" : drive.d.usage.empty() ? "the adaptive tier is off" : nullptr; if (why == nullptr) {