Use more threads than available?

Message boards : Questions and problems : Use more threads than available?
Message board moderation

To post messages, you must log in.

AuthorMessage
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5081
United Kingdom
Message 108159 - Posted: 20 May 2022, 7:03:46 UTC - in response to Message 108123.  

avg_ncpus will have an effect on how many other BOINC tasks (not threads) are allowed to run alongside this (multi-threaded) application.

nthreads will actually control the number of threads spawned by this application (if the application is written to use the calling specification used by BOINC - not all do).

They should be used together - the first to clear the right amount of space, the second to use it efficiently.
ID: 108159 · Report as offensive

Message boards : Questions and problems : Use more threads than available?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.