Page MenuHomeFreeBSD

hwpmc: keep AMD UMC counters from saturating
Needs ReviewPublic

Authored by ojanerif_amd.com on Fri, Oct 16, 12:21 PM.
Tags
None
Referenced Files
F176578331: D60771.id.diff
Mon, Oct 19, 11:48 PM
Unknown Object (File)
Mon, Oct 19, 5:40 AM
Unknown Object (File)
Mon, Oct 19, 5:35 AM
Unknown Object (File)
Mon, Oct 19, 5:28 AM
Unknown Object (File)
Sun, Oct 18, 6:36 PM
Unknown Object (File)
Sat, Oct 17, 4:38 PM
Unknown Object (File)
Sat, Oct 17, 4:37 PM
Unknown Object (File)
Sat, Oct 17, 5:58 AM
Subscribers

Details

Summary

UMC counters saturate at 2^48 instead of wrapping, after about a day
and a half of memory clock cycles. Reset the counter on a read once
bit 47 is set and keep the count in a per-CPU base.

Sponsored by: AMD
Signed-off-by: Osvaldo Janeri Filho <ojanerif@amd.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped