Optimal voltage allocation techniques for dynamically variable voltage processors