This is for benchmarking purposes. It uses range requests but does not
delay submitting the reads (to wait for batching opportunities).
/* Disable cryptography. This is for benchmarking purposes. */
int disable_crypto;
+
+ /* Disable aggregation of read requests. Fetch items individually. */
+ int disable_read_aggregation;
} BlueSkyOptions;
extern BlueSkyOptions bluesky_options;
/* When operating in a non log-structured mode, simply start a background
* fetch immediately when asked to prefetch. */
- if (bluesky_options.disable_aggregation) {
+ if (bluesky_options.disable_aggregation
+ || bluesky_options.disable_read_aggregation) {
bluesky_cloudlog_background_fetch(item);
return;
}
{"BLUESKY_OPT_FULL_SEGMENTS", &bluesky_options.full_segment_fetches},
{"BLUESKY_OPT_NO_AGGREGATION", &bluesky_options.disable_aggregation},
{"BLUESKY_OPT_NO_CRYPTO", &bluesky_options.disable_crypto},
+ {"BLUESKY_OPT_NO_GROUP_READS", &bluesky_options.disable_read_aggregation},
{NULL, NULL}
};