STRATA_ROUTE_TAIL_SKIP=R: missed experts routed only at rank >= R are neither copied nor computed
A missed expert that every token of the verify window routes at rank R or lower in weight contributes zero (no renormalisation): less PCIe traffic and CPU expert work. Counted in the request log. Opt-in, changes the output.
This commit is contained in:
1 parent
2de9ae061f
commit
65268d9961
3 files changed
+46
-2
No files matched your search
@@ -11579,6 +11579,9 @@ int main(int argc, char** argv) {
|
||||
100.0 * (double) req_hits / (double) req_look,
|
||||
(long long) req_hits, (long long) req_look, off);
|
||||
}
|
||||
if (drive.d.tail_experts > 0) // STRATA_ROUTE_TAIL_SKIP, cumulative
|
||||
std::fprintf(stderr, "strata serve: route tail skip: %lld missed experts skipped (%lld entries) since the "
|
||||
"start\n", (long long) drive.d.tail_experts, (long long) drive.d.tail_skipped);
|
||||
// the resident RAM mode, cumulative: experts read from experts.bin since the copy was made (what the plain
|
||||
// mmap mode reads through the OS file cache, from the SSD when the RAM could not keep it)
|
||||
if (src.complement_ready())
|
||||
|
||||
Reference in new issue
Block a user