Files
geramyloveless 127dbf1547 Skip a sample when the driver's bounded read overruns
MacLinuxGPU 243 bounds SysfsRead (80) and DrmInfo (81): the read runs on
a driver thread and the call returns kIOReturnTimeout after 250 ms, or
kIOReturnBusy while an earlier read is still overrunning. The monitor
counted either as a transport error and showed EIO for the attribute or
"GRBM_STATUS read failed".

Both now skip the sample. A skip in the once-a-second tier ends that
tier (the rest would only wait behind the overrun) and keeps every value
of the last sample; a skip during discovery leaves discovery for the
next tier; a skipped gpu_metrics read keeps the last metrics. A skipped
GRBM read ends that refresh's sampling and keeps the GRBM window, and so
the core value shown, until reads resume.

The monitor's other calls (RuntimeBuild and the cached QueryInfo tags
LPRO and LSES on the observer client) never sleep in the driver and stay
synchronous under 243's rules. The model check covers the skipped GRBM
read.
2026-10-04 21:29:16 -07:00
..