Prefill planner: refit the miss share to two rigs (#2824 SATA 2x3060, P2003 NVMe cgroup sweep); read the drive class from the GGUF path

This commit is contained in:
Niko1221 committed 2026-10-18 05:09:14 +02:00
1 parent e77f1dfc3f
commit d8471050bd
3 files changed
+31 -12

No files matched your search

+1 -1
View File
@@ -7437,7 +7437,7 @@ int main(int argc, char** argv) {
host.page_cache = src.unbuffered() ? 0 : (hm->available > slack ? hm->available - slack : 0);
host.h2d_gbps = g_last_h2d_gbps > 0.0 ? g_last_h2d_gbps : 12.0;
std::string why;
host.ssd_gbps = drive_read_gbps(o.pack, why);
host.ssd_gbps = drive_read_gbps(o.native_preset.empty() ? o.pack : o.native_preset, why); // where the experts live
if (const char* e = std::getenv("STRATA_PREFILL_PLAN_TOKS"); e != nullptr && std::atof(e) > 0.0)
host.compute_tok_s = std::atof(e);
const uint64_t ram_copy = src.complement_ready() ? src.resident_bytes() : 0;