Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
I found the problem. It consisted in the fact that the project uses files hosted in Windows, so the delays were due to the file system driver in WSL. I think the following steps need to be added for this project:
For example, here is the CPU load with the command "cross build --target x86_64-unknown-linux-gnu" or "cargo build" from under the mounted disk: >20 minutes |
Beta Was this translation helpful? Give feedback.
-
Hello everyone.
I run the compilation "cross build --target x86_64-unknown-linux-gnu" and wait about 7.30 minutes for it to finish. If you compile everything together, it takes about 30 minutes. I opened the task manager and saw that several cores were being used, the rest were idle.
I use Docker with WSL2 on core i7-12700 12 cores 20 threads 4.9Ghz. When I run the build on WSL, all resources are used.
What needs to be done so that all cores are involved?
Beta Was this translation helpful? Give feedback.
All reactions