Default to single threaded actions #3101
blackliner
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
|
This might be relevant to #3008 |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@UebelAndre @illicitonion I think there is a similar issue for tests. According to https://doc.rust-lang.org/rustc/tests/index.html#--test-threads-num_threads
So I wonder if it would make sense to set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a decently sized rust codebase (800k LOC), and we regularly suffer from the fact that rust actions spawn up to N parallel threads. It leads to CPU starvation (slow, but not ciritcal) and OOM events (very bad!!).
I think there are two approaches
I see the second approach being used in this repo, but from the surrounding comments I deduce this is done because of better optimized build results.
References:
Beta Was this translation helpful? Give feedback.
All reactions