-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Bad multithreading? #175
Comments
I am also interested in this. Having access to a computer with a 48 core cpu I noticed that Meshroom is not faster compared to my i7. Since Meshroom can be run on a renderfarm where multiple node threads are computed in parallel, it would be a huge speed up to allow multi-thread processing on a desktop computer. At the moment the node threads are computed one at a time on all cores with low cpu usage. |
Which node are you talking about? |
Each node has internal multi-threading and checks the amount of RAM available to estimate how many threads can be used within the RAM limits. If you run multiple chunks in parallel, it will start to swap and then probably crash. |
Is there a way to check how many threads are used? I can run a test on the 48 core machine with and 512GB ram tomorrow. Last time computation was not faster compared to my i7 machine with 32ram. |
Oh yes, on very large computers like that, the chunks are probably too small and it could make sense to change them or compute multiple ones in parallel. |
Would it be possible to add an option to manually enable parallel computation in the future? |
yes but how to estimate how many of them can be computed in parallel... as the memory requirements are very specific to each node. |
The memory requirements can be guessed by trial and error. Once we have this option we could collect test data from demo datasets to estimate the memory requirements for different dataset sizes. Similar to this. |
Here are the results for a test with 2000 images:
|
Option to make chunks optional #778 |
Hi there.
I just downloaded the binaries and I´m trying them with a small project I did recently with RC.
The first thing I noticed was that it was slower than RC; but then I checked out the CPU usage and it was between 2% and 10%, I have 16 threads with 8 cores (i7-5960x).
Is this a bug or is it normal because it depends on the complexity of the reconstruction?
Cheers!
The text was updated successfully, but these errors were encountered: