public static void main ( String [ ] args ) throws Exception { SyncOptimizeDriver syncOptDriver = new SyncOptimizeDriver ( true ) ; SyncOptimizeConfig syncOptConfig = syncOptDriver . processCommandLineArgs ( args ) ; System . out . println ( "### Running Sync Thread Optimizer with configuration: " + syncOptConfig . getPrintableConfig ( ) ) ; int optimalThreads = syncOptDriver . getOptimalThreads ( syncOptConfig ) ; System . out . println ( "### Sync Thread Optimizer complete. Optimal thread " + "count for running the DuraCloud SyncTool on " + "this machine is: " + optimalThreads ) ; }
Picks up the command line parameters and kicks off the optimization tests