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

scripts: Add dsq latency script #466

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

hodgesds
Copy link
Contributor

@hodgesds hodgesds commented Aug 2, 2024

This change adds a bpftrace script to monitor runq latency as well as dsq latency.

scheduler: layered
@avg_lat: 396

@usec_hist: 
[0]                16807 |@@@@@@@@                                            |
[1]                69339 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                   |
[2, 4)            106525 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8)             82849 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@            |
[8, 16)            76488 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@               |
[16, 32)           63287 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                      |
[32, 64)           49775 |@@@@@@@@@@@@@@@@@@@@@@@@                            |
[64, 128)          14701 |@@@@@@@                                             |
[128, 256)          2163 |@                                                   |
[256, 512)           968 |                                                    |
[512, 1K)            827 |                                                    |
[1K, 2K)             786 |                                                    |
[2K, 4K)             812 |                                                    |
[4K, 8K)            1044 |                                                    |
[8K, 16K)           1198 |                                                    |
[16K, 32K)          1037 |                                                    |
[32K, 64K)           717 |                                                    |
[64K, 128K)          565 |                                                    |
[128K, 256K)         257 |                                                    |
[256K, 512K)          20 |                                                    |

@dsq_avg_lat[0]: 396
@dsq_avg_lat[7]: 1651
@dsq_avg_lat[6]: 1925
@dsq_avg_lat[3]: 3557
image

This change adds a bpftrace script to monitor runq latency as well as
dsq latency.

Signed-off-by: Daniel Hodges <[email protected]>
@hodgesds hodgesds merged commit d0355c4 into sched-ext:main Aug 2, 2024
1 check passed
@hodgesds hodgesds deleted the dsq-lat branch August 2, 2024 20:45
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