A voltage identifier (VID) sorting system is provided that optimizes
processor power and operating voltage guardband at a constant processor
frequency. The VID sorting system determines a voltage versus current
curve for the processor. The VID sorting system then uses the voltage
versus current characteristics to calculate the power for each VID to
determine an acceptable range of VIDs within the maximum power criteria.
The VID sorting system then tests VIDs in the range and selects a VID
from the range to optimize for minimum power and/or maximum voltage
guardband at a constant processor frequency.