It seems to be, that hwpmc counters overflow is not properly handled.

I want to count TLB misses and run:

pmcstat -C -w1 -d -p
INSTR_RETIRED_ANY -p DTLB_MISSES.ANY -p MEM_LOAD_RETIRED.DTLB_MISS -p
ITLB_MISSES.ANY -p MEM_LOAD_RETIRED.L3_MISS

With -C values should monotonous increase, but in output I see
overflous.

Example output:
http://pastebin.com/JiEF9AcU

2120463169
2139646836
281472837488169
281472855479093

2139646836 is near to 2^31 - max value for signed int (int32_t)

-- 
 Anton Yuzhaninov

_______________________________________________
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscr...@freebsd.org"

Reply via email to