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

[quesion]What scheduling way are used? #56

Open
wjhtinger opened this issue Apr 24, 2022 · 4 comments
Open

[quesion]What scheduling way are used? #56

wjhtinger opened this issue Apr 24, 2022 · 4 comments

Comments

@wjhtinger
Copy link

Just like two OS share a core, how to schedule them? based on time slice?

@lemin9538
Copy link
Contributor

lemin9538 commented Apr 28, 2022

For sharing mode :

1 - First based on the vcpu's priority。Currently support 8 prioritys.
2- If the priority is same, will based on time slice.

@wjhtinger
Copy link
Author

priority is same, will based on time slice.

The hypervisor don't know the guest OS how to run in details, so how to schedule the guest OS by priority? When a high priority guest OS occupy cpu, when will release them?

@lemin9538
Copy link
Contributor

Just like an RTOS, the high priority task will always run if he do not drop the cpu. Once the vcpu drop the cpu(eg WFI), the lower task will run.

@wusnga8dn
Copy link

Just like two OS share a core, how to schedule them? based on time slice?

Hello, I would like to ask, did you have this project up and running, what version of the Raspberry Pi system is used?

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

No branches or pull requests

3 participants