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

Dedicated sample thread for slow, blocking data sources #3

Open
tzwenn opened this issue Nov 27, 2020 · 0 comments
Open

Dedicated sample thread for slow, blocking data sources #3

tzwenn opened this issue Nov 27, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@tzwenn
Copy link
Member

tzwenn commented Nov 27, 2020

When a data source has a high latency, it stalls the entire sampling thread.
We need a separate thread, that queries the slow data source at maximum interval, where the original sampler can copy its data from.

Experimental comparison of measured data latencies

source name platform blocking time
rapl:cores macOS-x86_64 40 µs
mcp:dev0ch1 linux-ppc64le 2690 µs
opal:power1 linux-ppc64le 198844 µs
@tzwenn tzwenn added the enhancement New feature or request label Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant