read batchsize from config, up default to 10k, record time and number of processed in state.