Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the job wall clock timeout for time limit estimation #987

Closed
wants to merge 1 commit into from

Conversation

mpiraux
Copy link
Contributor

@mpiraux mpiraux commented Dec 6, 2023

By default the CPU time is used, which is not a real time metric. Using it to provide user feedback on job completion is not appropriate in multi-core environments.

@nrybowski
Copy link
Member

Not sure of the behavior of this metric in virtualized environments. It could be worth to perform some comparisons.

@mpiraux
Copy link
Contributor Author

mpiraux commented Dec 6, 2023

image
image
Context for this PR

@anthonygego
Copy link
Member

There is no optimal solution to this issue right now. The wall time is better for multithreaded projects because it is always larger than the running time. However, for most monothreaded projects (and the most common exercise type), the value is far away from the reality.

I think you should keep track of this issue in #989 for later in order to provide a better time estimation.

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.

3 participants