Class CMD_optimize

All Implemented Interfaces:
NBComponent, NBComponentAdvisors, NBComponentEvents, NBComponentMetrics, NBComponentProps, NBComponentServices, NBComponentTimeline, NBProviderSearch, NBTokenWords, NBLabeledElement, AutoCloseable, BiFunction<NBBufferedContainer,NBCommandParams,Object>

public class CMD_optimize extends NBBaseCommand

This is the Java-native version of findmax on the NB5.21 architecture. It has been modified from the previous form in significant ways.

  • Instead of pass/fail criteria all performance factors are expressed as a value function. This will make it easy to adapt different search algorithms (in the form of non-derivative multivariate optimizers) to the same approach.
  • A set of simulation frame utilities bundles the derivation of black-box values. These will be used to refine findmax, but will be general-purposed for any other analysis and optimization method as needed.
  • The search strategy which determines the parameters for the next simulation frame has been factored out into a planner.

There is an accompanying visual narrative "findmax.png" bundled with this source code to help explain the search pattern of findmax. Additional docs and a usage guide will follow.

This can be tested as

nb5 --show-stacktraces java io.nosqlbench.scenarios.findmax.SC_findmax threads=36