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

Add O_DIRECT to CTDS #882

Closed
gervandiepen opened this issue Mar 8, 2019 · 0 comments · Fixed by #885
Closed

Add O_DIRECT to CTDS #882

gervandiepen opened this issue Mar 8, 2019 · 0 comments · Fixed by #885

Comments

@gervandiepen
Copy link
Contributor

It should be possible to use O_DIRECT (where available) to avoid that the kernel suddenly decides to flush its file cache. That behaviour make real-time systems unpredictable. The APERTIF datawriter starts to loose data packets as soon as the kernel flushes the file cache. Apparently the kernel has less time available to handle the interrupts on the receive side of the data packets, even if doing that on another core.

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 a pull request may close this issue.

1 participant