andrijapanicsb commented on a change in pull request #3127: Improve System VM startup and memory usage [4.11] URL: https://github.com/apache/cloudstack/pull/3127#discussion_r270941163
########## File path: systemvm/debian/etc/cron.daily/clear_cache ########## @@ -0,0 +1,5 @@ +#!/bin/bash + +# clear memory cache to ultimately reduce swapping + +sync && echo 1 > /proc/sys/vm/drop_caches Review comment: This is safe in general, AND we are should not be concerned with disk latency, since we are doing network IO 99% of time. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services