€•3Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ-/translations/zh_CN/admin-guide/mm/damon/stat”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/zh_TW/admin-guide/mm/damon/stat”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/it_IT/admin-guide/mm/damon/stat”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/ja_JP/admin-guide/mm/damon/stat”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/ko_KR/admin-guide/mm/damon/stat”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/sp_SP/admin-guide/mm/damon/stat”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒG/var/lib/git/docbuild/linux/Documentation/admin-guide/mm/damon/stat.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ#Data Access Monitoring Results Stat”h]”hŒ#Data Access Monitoring Results Stat”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ paragraph”“”)”}”(hXNData Access Monitoring Results Stat (DAMON_STAT) is a static kernel module that is aimed to be used for simple access pattern monitoring. It monitors accesses on the system's entire physical memory using DAMON, and provides simplified access monitoring results statistics, namely idle time percentiles and estimated memory bandwidth.”h]”hXPData Access Monitoring Results Stat (DAMON_STAT) is a static kernel module that is aimed to be used for simple access pattern monitoring. It monitors accesses on the system’s entire physical memory using DAMON, and provides simplified access monitoring results statistics, namely idle time percentiles and estimated memory bandwidth.”…””}”(hhËhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhµ)”}”(hhh]”(hº)”}”(hŒ Monitoring Accuracy and Overhead”h]”hŒ Monitoring Accuracy and Overhead”…””}”(hhÜhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hhÙhžhhŸh³h KubhÊ)”}”(hXôDAMON_STAT uses monitoring intervals :ref:`auto-tuning ` to make its accuracy high and overhead minimum. It auto-tunes the intervals aiming 4 % of observable access events to be captured in each snapshot, while limiting the resulting sampling events to be 5 milliseconds in minimum and 10 seconds in maximum. On a few production server systems, it resulted in consuming only 0.x % single CPU time, while capturing reasonable quality of access patterns.”h]”(hŒ%DAMON_STAT uses monitoring intervals ”…””}”(hhêhžhhŸNh Nubh)”}”(hŒA:ref:`auto-tuning `”h]”hŒinline”“”)”}”(hhôh]”hŒ auto-tuning”…””}”(hhøhžhhŸNh Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1höhhòubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œadmin-guide/mm/damon/stat”Œ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œ,damon_design_monitoring_intervals_autotuning”uh1hhŸh³h KhhêubhXŽ to make its accuracy high and overhead minimum. It auto-tunes the intervals aiming 4 % of observable access events to be captured in each snapshot, while limiting the resulting sampling events to be 5 milliseconds in minimum and 10 seconds in maximum. On a few production server systems, it resulted in consuming only 0.x % single CPU time, while capturing reasonable quality of access patterns.”…””}”(hhêhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhhÙhžhubeh}”(h]”Œ monitoring-accuracy-and-overhead”ah ]”h"]”Œ monitoring accuracy and overhead”ah$]”h&]”uh1h´hh¶hžhhŸh³h Kubhµ)”}”(hhh]”(hº)”}”(hŒInterface: Module Parameters”h]”hŒInterface: Module Parameters”…””}”(hj,hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hj)hžhhŸh³h KubhÊ)”}”(hŒèTo use this feature, you should first ensure your system is running on a kernel that is built with ``CONFIG_DAMON_STAT=y``. The feature can be enabled by default at build time, by setting ``CONFIG_DAMON_STAT_ENABLED_DEFAULT`` true.”h]”(hŒcTo use this feature, you should first ensure your system is running on a kernel that is built with ”…””}”(hj:hžhhŸNh NubhŒliteral”“”)”}”(hŒ``CONFIG_DAMON_STAT=y``”h]”hŒCONFIG_DAMON_STAT=y”…””}”(hjDhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jBhj:ubhŒC. The feature can be enabled by default at build time, by setting ”…””}”(hj:hžhhŸNh NubjC)”}”(hŒ%``CONFIG_DAMON_STAT_ENABLED_DEFAULT``”h]”hŒ!CONFIG_DAMON_STAT_ENABLED_DEFAULT”…””}”(hjVhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jBhj:ubhŒ true.”…””}”(hj:hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj)hžhubhÊ)”}”(hŒ½To let sysadmins enable or disable it at boot and/or runtime, and read the monitoring results, DAMON_STAT provides module parameters. Following sections are descriptions of the parameters.”h]”hŒ½To let sysadmins enable or disable it at boot and/or runtime, and read the monitoring results, DAMON_STAT provides module parameters. Following sections are descriptions of the parameters.”…””}”(hjnhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj)hžhubhµ)”}”(hhh]”(hº)”}”(hŒenabled”h]”hŒenabled”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hj|hžhhŸh³h K$ubhÊ)”}”(hŒEnable or disable DAMON_STAT.”h]”hŒEnable or disable DAMON_STAT.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K&hj|hžhubhÊ)”}”(hŒËYou can enable DAMON_STAT by setting the value of this parameter as ``Y``. Setting it as ``N`` disables DAMON_STAT. The default value is set by ``CONFIG_DAMON_STAT_ENABLED_DEFAULT`` build config option.”h]”(hŒDYou can enable DAMON_STAT by setting the value of this parameter as ”…””}”(hj›hžhhŸNh NubjC)”}”(hŒ``Y``”h]”hŒY”…””}”(hj£hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jBhj›ubhŒ. Setting it as ”…””}”(hj›hžhhŸNh NubjC)”}”(hŒ``N``”h]”hŒN”…””}”(hjµhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jBhj›ubhŒ3 disables DAMON_STAT. The default value is set by ”…””}”(hj›hžhhŸNh NubjC)”}”(hŒ%``CONFIG_DAMON_STAT_ENABLED_DEFAULT``”h]”hŒ!CONFIG_DAMON_STAT_ENABLED_DEFAULT”…””}”(hjÇhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jBhj›ubhŒ build config option.”…””}”(hj›hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K(hj|hžhubeh}”(h]”Œenabled”ah ]”h"]”Œenabled”ah$]”h&]”uh1h´hj)hžhhŸh³h K$ubhµ)”}”(hhh]”(hº)”}”(hŒestimated_memory_bandwidth”h]”hŒestimated_memory_bandwidth”…””}”(hjêhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjçhžhhŸh³h K-ubhÊ)”}”(hŒHEstimated memory bandwidth consumption (bytes per second) of the system.”h]”hŒHEstimated memory bandwidth consumption (bytes per second) of the system.”…””}”(hjøhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K/hjçhžhubhÊ)”}”(hX[DAMON_STAT reads observed access events on the current DAMON results snapshot and converts it to memory bandwidth consumption estimation in bytes per second. The resulting metric is exposed to user via this read-only parameter. Because DAMON uses sampling, this is only an estimation of the access intensity rather than accurate memory bandwidth.”h]”hX[DAMON_STAT reads observed access events on the current DAMON results snapshot and converts it to memory bandwidth consumption estimation in bytes per second. The resulting metric is exposed to user via this read-only parameter. Because DAMON uses sampling, this is only an estimation of the access intensity rather than accurate memory bandwidth.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K1hjçhžhubeh}”(h]”Œestimated-memory-bandwidth”ah ]”h"]”Œestimated_memory_bandwidth”ah$]”h&]”uh1h´hj)hžhhŸh³h K-ubhµ)”}”(hhh]”(hº)”}”(hŒmemory_idle_ms_percentiles”h]”hŒmemory_idle_ms_percentiles”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjhžhhŸh³h K8ubhÊ)”}”(hŒ