mirror of
https://github.com/Niko1221/Strata.git
synced 2026-11-07 14:21:06 -10:00
dsv41 win: store off the lookahead by default
This commit is contained in:
1 parent
0b48e23fa5
commit
fd19f9d6bf
1 file changed
+3
@@ -4283,6 +4283,9 @@ struct Model::Impl {
|
||||
return;
|
||||
}
|
||||
store = std::move(st);
|
||||
// (the router lookahead's guesses are not read ahead with the store: measured 4.5 against 4.7 tok/s, 62% of the guesses are right and
|
||||
// the SSD is the narrow part; DS4_AHEAD=1 turns them on)
|
||||
if (std::getenv("DS4_AHEAD") == nullptr) ahead_mode = 0;
|
||||
for (Layer& l : L)
|
||||
if (l.il < g.nl && want_zc) l.zc.assign((size_t) l.n_exp, 0);
|
||||
std::fprintf(stderr, "ds4: RAM store: up to %zu slots of %.1f MB (%.1f GB), policy %d, %d reader threads, %s reads\n",
|
||||
|
||||
Reference in new issue
Block a user