An image forming apparatus including a reading unit configured to execute a reading job for reading an image on an original, and an image processing unit configured to perform image processing to the image read by said reading unit, the image forming apparatus comprising:
- a first acquisition unit configured to acquire identification information about the image forming apparatus;
- a determination unit configured to determine whether or not the acquired identification information is included in a first table in which clock frequencies for respectively controlling hardware of a plurality of reading units are set for each of a plurality of pieces of identification information;
- and
- a setting unit configured to set a clock frequency for controlling hardware of the reading unit in accordance with the first table when it is determined that the acquired identification information is included in the first table, while setting the clock frequency for controlling the hardware of the reading unit to a default setting of the first table when it is determined that the acquired identification information is not included in the first table,
- wherein a minimum value of the clock frequencies in the first table is set as the default setting of the first table.