在 2/23/2022 3:51 PM, Huang, Ying 写道:
Baolin Wang <baolin.wang(a)linux.alibaba.com>
writes:
ANBZ: #80
Add page promotion throttle statistic, which can be used to check
how many cold pages were trying to be prmoted to DRAM, and help
to tuning the latency threhold.
Can this be calculated via the following formula?
numa_hint_faults - pgpromote_candidate
They are not same. Since numa_hint_faults will not contain file page
promotion statistics, while the should_numa_migrate_memory() will check
the file pages latency before promotion. Here some statistics I observed:
pgpromote_candidate 3890100
pgpromote_cold_throttle 50342001
numa_hint_faults 35341839