-
Notifications
You must be signed in to change notification settings - Fork 81
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
Demo sometimes hangs on Laplace test with qemu and SMP #12
Comments
Under Ubuntu with a 4 core CPU I've also made the following Observations. The execution hangs at the matrix calculations stage and only uses one core of my Host CPU cores, but that is utilized to 100%. This only for compilation with the debug profile.
|
Compiling with libhermit-rs
debug_log_2C_64M.txt Edit: Tested on windows with rusty-hermit at commit: 2bee7b3 |
Can you check the current version in the branch |
I tested locally on windows with 4 cores and this seems to have solved the problem. The pipeline hermit-os/kernel#40 which tested the commit on ubuntu, windows and macos with 1 and 2 cores on qemu also completed without problems. Before the pipeline would get stuck when using SMP. |
When running rusty-hermit demo on windows or macOS with 2 cores on QEMU the demo gets stuck in the laplace loop. On windows adding a println inside the loop fixes this behaviour for me and the demo runs fine. Can someone explain what is happening here?
The problem only occurs on qemu when
ubuntu always works). It appears all platforms are affected, but not always.The following is only tested on windows:
With SMP=3 we have the following behaviour:
With SMP=4
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ()', src\arch\x86_64\kernel\scheduler.rs:92:25
Because of this issue hermit-os/kernel#40 is stuck, since the pipeline doesn't complete on windows and mac due to this error.
This Patch fixed the demo for me on windows with SMP=2.
The text was updated successfully, but these errors were encountered: