nvazquez opened a new pull request #6175:
URL: https://github.com/apache/cloudstack/pull/6175


   ### Description
   
   This PR does two things:
   
   1. In a recent commit the way host CPU speed is detected was changed to use 
`lscpu`. This is a great enhancement, but it changed the detected speed from 
being the host's max turbo frequency to being the base clock. I agree this is 
the ideal speed to use since the max turbo frequency usually is not achieved by 
all cores at once. To ensure the fallback of using `cpufreq` files matches this 
behavior, we change the fallback to look at the `base_frequency` file rather 
than `cpuinfo_max_freq`.
   
   2. Introduce agent.properties setting `host.cpu.manual.speed.mhz` to allow 
the admin to set the frequency in case all else fails.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [x] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to