You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sadly that is not an option for me. We are running different rt applications on our system using docker and wanted to isolate some of them. Therefore i thougt, i could measure the impact of gvisor on rt applications. Do you guys have a in-depth descritption on how gvisor works?
You can try to stub out the required syscalls and pretend they succeeded to see how far you can get. [1] has a patch making sched_setattr a noop as an example.
Activity
fvoznika commentedon May 16, 2018
gVisor doesn't implement sched_setattr. gVisor uses the Go runtime for scheduling, it doesn't support realtime scheduling nor priorities.
Your options are to change the application to not make sched_setattr(2) calls or to ignore errors from it.
Ox24 commentedon May 17, 2018
sadly that is not an option for me. We are running different rt applications on our system using docker and wanted to isolate some of them. Therefore i thougt, i could measure the impact of gvisor on rt applications. Do you guys have a in-depth descritption on how gvisor works?
fvoznika commentedon May 18, 2018
You can try to stub out the required syscalls and pretend they succeeded to see how far you can get. [1] has a patch making sched_setattr a noop as an example.
We're improving the documentation as we find time. You can find more information about scheduling in gvisor/pkg/sentry/kernel/README.md
[1]
ianlewis commentedon Jun 6, 2018
I suggest changing the bug title to "sched_setattr: Function not implemented"
[-]Function not implemented[/-][+]sched_setattr: Function not implemented[/+]fvoznika commentedon Jan 11, 2019
Closing as this is something unlikely to be supported.
ianlewis commentedon Jan 17, 2019
Just for completeness, the reason why it's not likely to be supported is because we need Go runtime support for scheduling.
Updated e2e tests on travis (gvisor#53)