commit | fb49e09a8bb803c0fb6c7bd51ffa35eb68365bc3 | [log] [tgz] |
---|---|---|
author | Russell Branca <chewbranca@apache.org> | Fri Jul 15 14:18:01 2022 -0700 |
committer | Russell Branca <chewbranca@apache.org> | Wed Jul 27 15:00:35 2022 -0700 |
tree | 41cc434b566b1f656a8d82a3efc7e7018777f023 | |
parent | 3c379fef2ba895811ee637d11f2b1894af1f0b2a [diff] |
Add IOQ2 pid for search traffic This adds a dedicated IOQ2 pid for search traffic. It also reworks some of the dispatch logic.
The following are the list of IOQ classes:
One can configure an ioq bypass, which removes an IO class from prioritization, as below:
config:set("ioq.bypass", "view_update", "true")
Note that setting an IOQ bypass can effectively trump all other classes, especially in the case of an interactive bypass v. compaction. This can lead to high disk usage.
The priority for a class can also be set ala:
config:set("ioq", "compaction", "0.3")
Or globally, using snippet/rpc:
s:set_config("ioq", "compaction", "0.314", global) rpc:multicall(config, set, ["ioq", "compaction", "0.217"])
As the interactive class is ‘everything else’ its priority cannot be directly set.