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

measure the pre-reactor IO latency #496

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

HippoBaro
Copy link
Member

We now record three kinds of source latencies:

  • pre-reactor: the time the source spent queued (this commit);
  • io: the time the source spent in the kernel;
  • post-reactor: the time the scheduler took to get back at the consuming
    task.

Previously, the time the source was queued counted towards IO
latency (second item in the list).

@HippoBaro HippoBaro requested a review from glommer January 7, 2022 22:00
glommio/src/sys/mod.rs Outdated Show resolved Hide resolved
We now record three kinds of source latencies:
* pre-reactor: the time the source spent queued (this commit);
* io: the time the source spent in the kernel;
* post-reactor: the time the scheduler took to get back at the consuming
  task.

Previously, the time the source was queued counted towards IO
latency (second item in the list).
@HippoBaro HippoBaro merged commit d258184 into DataDog:master Jan 11, 2022
@HippoBaro HippoBaro deleted the io_queue_latency branch January 11, 2022 00:42
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.

2 participants