-
Notifications
You must be signed in to change notification settings - Fork 8
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
Create checker for resctrl
support in a system
#9
Comments
Can we use? |
I see the Yes we can check the kernel config, but if there isn't existing functionality let's get something working and then add it later. |
I can work on this in this week if no one else is working on this. |
You got it! I'll tackle some other topics. I'd be very interested to read what you find as you go through this (to learn about goresctrl), so if there are any interesting tidbits you care to share please consider posting them on the issue. |
sure I will. |
This repository has code for mounting and unmounting goresctrl. Since this repository is archived, I will copy required code in try mounting resctrl inside pkb/checker. |
We would like to write a program that checks whether a system has Operating System and hardware support for memory bandwidth and cache allocation.
goresctrl is a go library that works with the Resource Control network subsystem. It has helper methods for finding and querying resctrl. For example,
getRdtInfo()
appears to check for support for different features (CAT, MON, MBA).The result of this ticket is either:
goresctrl
that exists with 0 ifresctrl
exists and is operational, 1 otherwise (and can print useful information about the state of the system), orresctrl
exists and is operationalWe can put the code in
pkg/checker
.Note that
getRdtInfo()
does not mount theresctrl
filesystem. Rather, it assumes it was previously mounted and finds its location, so we need to check howgoresctrl
mounts the filesystem.The text was updated successfully, but these errors were encountered: