Analyze the profiling information and give function to generate the optimal configuration for VM type.