mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-24 16:00:09 -06:00
enable nbio cache by default
This commit is contained in:
parent
82e60d3f2a
commit
79c376b687
@ -137,7 +137,7 @@ public class NBCLIOptions {
|
||||
private static final String DEFAULT_CONSOLE_PATTERN = "TERSE";
|
||||
private static final String DEFAULT_LOGFILE_PATTERN = "VERBOSE";
|
||||
private final static String ENABLE_DEDICATED_VERIFICATION_LOGGER = "--enable-dedicated-verification-logging";
|
||||
private final static String USE_NBIO_CACHE = "--use-nbio-cache";
|
||||
private final static String DISABLE_NBIO_CACHE = "--disable-nbio-cache";
|
||||
private final static String NBIO_CACHE_FORCE_UPDATE = "--nbio-cache-force-update";
|
||||
private final static String NBIO_CACHE_NO_VERIFY = "--nbio-cache-no-verify";
|
||||
private final static String NBIO_CACHE_DIR = "--nbio-cache-dir";
|
||||
@ -211,7 +211,7 @@ public class NBCLIOptions {
|
||||
private String metricsLabelSpec = "";
|
||||
private String wantsToCatResource = "";
|
||||
private long heartbeatIntervalMs = 10000;
|
||||
private boolean useNBIOCache = false;
|
||||
private boolean useNBIOCache = true;
|
||||
private boolean nbioCacheForceUpdate = false;
|
||||
private boolean nbioCacheVerify = true;
|
||||
private String nbioCacheDir;
|
||||
@ -661,9 +661,9 @@ public class NBCLIOptions {
|
||||
this.heartbeatIntervalMs =
|
||||
Long.parseLong(this.readWordOrThrow(arglist, "heartbeat interval in ms"));
|
||||
break;
|
||||
case USE_NBIO_CACHE:
|
||||
case DISABLE_NBIO_CACHE:
|
||||
arglist.removeFirst();
|
||||
this.useNBIOCache = true;
|
||||
this.useNBIOCache = false;
|
||||
break;
|
||||
case NBIO_CACHE_FORCE_UPDATE:
|
||||
arglist.removeFirst();
|
||||
|
@ -7,11 +7,11 @@ The following options are available via the command line to configure this featu
|
||||
|
||||
## Caching Options
|
||||
|
||||
Enable caching. Note that by default caching is disabled. It may be turned on with the following parameter
|
||||
Disable caching. Note that by default caching is enabled. It may be turned off with the following parameter
|
||||
|
||||
--use-nbio-cache
|
||||
--disable-nbio-cache
|
||||
|
||||
If caching is enabled by default nb will use the directory `$HOME/.nosqlbench/nbiocache` to store files.
|
||||
If caching is enabled, nb will use the directory `$HOME/.nosqlbench/nbiocache` to store files.
|
||||
This location can be user specified with the parameter
|
||||
|
||||
--nbio-cache-dir </user/specified/directory>
|
||||
|
Loading…
Reference in New Issue
Block a user