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

Aperiodic process is never unfrozen, if partition has no periodic process #49

Closed
dadada opened this issue Mar 4, 2023 · 0 comments · Fixed by #50
Closed

Aperiodic process is never unfrozen, if partition has no periodic process #49

dadada opened this issue Mar 4, 2023 · 0 comments · Fixed by #50

Comments

@dadada
Copy link
Collaborator

dadada commented Mar 4, 2023

I can also reproduce this with a private project, but also with this example. The same partition code (with one aperiodic process, and no periodic process) works perfectly fine on XNG. In the following I would expect the aperiodic process of Bar/aperiodic to be unfrozen after Bar is unfrozen.

 TRACE Partition: Foo                               > Freeze /sys/fs/cgroup/periodic
 INFO  Partition: Foo                               > "23s 6ms": AP MSG 185
 INFO  Partition: Foo                               > "23s 7ms": AP MSG 186
 INFO  Partition: Foo                               > "23s 8ms": AP MSG 187
 INFO  Partition: Foo                               > "23s 9ms": AP MSG 188
 TRACE linux_apex_core::cgroup                      > Freeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Foo/aperiodic
 DEBUG linux_apex_hypervisor::hypervisor::scheduler > Partition "Foo" received err: Ok(())
 TRACE linux_apex_core::cgroup                      > Freeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Foo
 TRACE linux_apex_core::cgroup                      > Unfreeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Bar
 DEBUG linux_apex_hypervisor::hypervisor::scheduler > Partition "Bar" received err: Ok(())
 TRACE linux_apex_core::cgroup                      > Freeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Bar
 TRACE linux_apex_core::cgroup                      > Unfreeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Foo/periodic
 TRACE linux_apex_core::cgroup                      > Unfreeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Foo
 INFO  Partition: Foo                               > "23s 500ms": P MSG 226
 INFO  Partition: Foo                               > "23s 501ms": P MSG 227
 INFO  Partition: Foo                               > "23s 502ms": P MSG 228
 INFO  Partition: Foo                               > "23s 503ms": P MSG 229
 INFO  Partition: Foo                               > "23s 504ms": P MSG 230
 TRACE Partition: Foo                               > Import cgroup /sys/fs/cgroup/periodic
 TRACE linux_apex_core::cgroup                      > Unfreeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Foo/aperiodic
 DEBUG linux_apex_hypervisor::hypervisor::scheduler > Partition "Foo" received err: Ok(())
 TRACE linux_apex_core::cgroup                      > Unfreeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Foo
 TRACE Partition: Foo                               > Freeze /sys/fs/cgroup/periodic
 INFO  Partition: Foo                               > "23s 506ms": AP MSG 189
 INFO  Partition: Foo                               > "23s 507ms": AP MSG 190
 INFO  Partition: Foo                               > "23s 508ms": AP MSG 191
 INFO  Partition: Foo                               > "23s 509ms": AP MSG 192
 TRACE linux_apex_core::cgroup                      > Freeze /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-Alacritty-58861.scope/linux-hypervisor-149206/Foo/aperiodic
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