1. A data processing apparatus, comprising: a processor configured to process data; a prediction unit configured to: predict a workload for processing data; and predict a result of processing data, based on the workload, according to a number of processors configured to process the data; and a determination unit configured to determine the number of processors to be allocated with the data, using the predicted processing result.