1)
Message boards :
Questions and problems :
Tasks max memory, temporarily freeze until swap invoked (linux)
(Message 101553)
Posted 12 Nov 2020 by Psnarf Post: I tried "<max_ncpus_pct>50</max_ncpus_pct>" in global_prefs.xml, now I have 8 tasks, but each has 3 threads. Only one task uses 4Gb ram. I can live with that. |
2)
Message boards :
Questions and problems :
Tasks max memory, temporarily freeze until swap invoked (linux)
(Message 101552)
Posted 12 Nov 2020 by Psnarf Post: I have a Ryzen 7 CPU with 8 cores, each of which can run 2 threads. Boinc probably queries /proc/cpuinfo and counts 16 cores, the 8 physical cores with 2 threads each, instead of 8 cores. That results in Boinc launching 16 simultaneous tasks, each with 2 threads possibly reaching 4Gb ram of the 16Gb physical ram. When that happens, the system starts swapping out processes using the swap partition. After a minute of freezing, I can get to a command prompt and stop the boinc processes. If I leave boincmgr open, it restarts all 32 threads and locks up the computer again. Is there a way to limit boinc to use the 8 physical cores instead of launching 32 threads at once? |
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.