You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/10/10 09:54:47 UTC
[GitHub] rhtyd opened a new pull request #2892: sysctl: don't use swap until
ram reaches 95% usage
rhtyd opened a new pull request #2892: sysctl: don't use swap until ram reaches 95% usage
URL: https://github.com/apache/cloudstack/pull/2892
This tries to provide a threshold based fix for #2873 where swappinness of VR is controlled until memory usage is hit 95%. By limiting swappiness unless actually needed, the VR system degradation can be avoided for most cases.
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
## How Has This Been Tested?
The default swapiness on VRs is 60, by reducing the value swapiness it is anticipated that swappiness will not be normally seen. I could not reproduce the swapping so could not test it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services