0ade88c83d
If recent_perf contains existing content, overwrite in method load_perf_history_proto. If proto of recent_perf contains a lot of history, the content would have grown with system_server crashes. Test: setprop ro.storaged.flush_proto.interval 60 while true;do sleep 5;stop;sleep 1;start;ps -A|grep storaged;done and look at value for rss should remain about 4MB over long term. Bug: 119798824 Change-Id: I50aae7d61eb791a8fcddbbd829254baf8f708186 |
||
---|---|---|
.. | ||
binder/android/os | ||
include | ||
tests | ||
tools | ||
Android.bp | ||
EventLogTags.logtags | ||
main.cpp | ||
OWNERS | ||
README.properties | ||
storaged.cpp | ||
storaged.proto | ||
storaged.rc | ||
storaged_diskstats.cpp | ||
storaged_info.cpp | ||
storaged_service.cpp | ||
storaged_uid_monitor.cpp | ||
storaged_utils.cpp | ||
uid_info.cpp |
ro.storaged.event.interval # interval storaged scans for IO stats, in seconds ro.storaged.event.perf_check # check for time spent in event loop, in microseconds ro.storaged.disk_stats_pub # interval storaged publish disk stats, in seconds ro.storaged.uid_io.interval # interval storaged checks Per UID IO usage, in seconds ro.storaged.uid_io.threshold # Per UID IO usage limit, in bytes