platform_system_core/storaged
Mark Salyzyn 0ade88c83d storaged: emplace recent_perf in load_perf_history_proto
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
2018-11-20 09:00:05 -08:00
..
binder/android/os Provide Recent Disk Perf via IStoraged 2018-01-08 19:06:22 -08:00
include storaged: Cap io_history when loading stats from disk. 2018-08-21 09:20:40 -07:00
tests storaged: Cap io_history when loading stats from disk. 2018-08-21 09:20:40 -07:00
tools storaged: add parser for dumpsys storaged output 2017-08-09 15:25:19 -07:00
Android.bp Match src paths with aidl package name 2018-09-14 21:27:31 -07:00
EventLogTags.logtags storaged: change uid_io reporting 2017-01-30 14:22:49 -08:00
main.cpp Merge "storaged: remove unused includes" am: 0289f35b83 2018-04-06 13:30:11 -07:00
OWNERS storaged: update OWNERS 2018-04-11 18:50:14 -07:00
README.properties storaged: read emmc health data from sysfs 2017-04-03 16:48:14 +00:00
storaged.cpp storaged: Don't duplicate uid_records from proto files. 2018-08-21 09:20:33 -07:00
storaged.proto storaged: align buffer address and size for direct_io 2017-12-13 15:54:55 -08:00
storaged.rc Merge "storaged: lower capabilities in init" am: 183b575e78 2018-04-12 09:41:00 -07:00
storaged_diskstats.cpp storaged: change log level for health HAL calls 2018-09-13 09:41:46 -07:00
storaged_info.cpp storaged: emplace recent_perf in load_perf_history_proto 2018-11-20 09:00:05 -08:00
storaged_service.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
storaged_uid_monitor.cpp storaged: Cap io_history when loading stats from disk. 2018-08-21 09:20:40 -07:00
storaged_utils.cpp storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
uid_info.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00

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