tuning upload batch size