Skip to content

Conversation

@N3ro47
Copy link

@N3ro47 N3ro47 commented Feb 7, 2026

Fixes Issue #6848

Changed tile_heartbeat to report UNIX nanoseconds using fd_log_wallclock() instead of raw ticks.

I'm still learning the tribal knowledge of the project, but my assessment is that fd_log_wallclock is performant enough for the housekeeping path. It maps to clock_gettime(CLOCK_REALTIME), which typically utilizes the vDSO path.

Copy link
Contributor

@ripatel-fd ripatel-fd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution. Could you also update monitor.c to remove the tickcount to nanosecond conversion?

Switch tile_heartbeat to report UNIX nanoseconds instead of raw ticks.

Update monitor.c and fd_action.h to remove the ns_per_tic logic
and transition the monitoring loop to use wallclock time.
@N3ro47
Copy link
Author

N3ro47 commented Feb 11, 2026

Done. Also removed obsolete ns_per_tic and tic/toc logic. The monitor loop now uses fd_log_wallclock() directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid tile_heardbeat in metrics

2 participants