You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2025/02/08 18:44:06 UTC
[I] Use coarse time when calculating metrics refresh interval [datafusion-comet]
andygrove opened a new issue, #1381:
URL: https://github.com/apache/datafusion-comet/issues/1381
### What is the problem the feature request solves?
See comment at https://github.com/apache/datafusion-comet/pull/1329#discussion_r1944106936
### Describe the potential solution
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Use coarse time when calculating metrics refresh interval [datafusion-comet]
Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on issue #1381:
URL: https://github.com/apache/datafusion-comet/issues/1381#issuecomment-5872256472
Closing this, since the loop it was about is gone. The interval check's `Instant::now()` used to run on every spin of the busy-poll loop in `executePlan`. #2940 cut that to once per 100 polls, and #6219 replaced the busy loop with one that parks while it waits on native I/O. What's left is one clock read per output batch and one per pending poll. Each of those sits next to a JNI handoff, a pull from the JVM or a wake-up that costs far more than the read. Most DataFusion operators also read the clock twice per batch for their own metrics, and `coarsetime` can't reach those, so switching this one call would add a dependency without a measurable gain. Happy to reopen if a profile says otherwise.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Use coarse time when calculating metrics refresh interval [datafusion-comet]
Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove closed issue #1381: Use coarse time when calculating metrics refresh interval
URL: https://github.com/apache/datafusion-comet/issues/1381
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org