Option to make a project only use 1 cpu core?

Message boards : Questions and problems : Option to make a project only use 1 cpu core?
Message board moderation

To post messages, you must log in.

AuthorMessage
Devlin85
Avatar

Send message
Joined: 11 Sep 14
Posts: 7
United States
Message 55994 - Posted: 11 Sep 2014, 19:16:14 UTC

It's driving me crazy, i set all the computing preferences on the projects page to only be 1 core, tried editing the default and making new profile (home) doesn't make a difference. I want to run long projects for climate prediction but I don't want it using up all of my cores and there doesn't seem to be a way to do this with config options.. anybody got any suggestions?
ID: 55994 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 55996 - Posted: 11 Sep 2014, 19:39:51 UTC - in response to Message 55994.  
Last modified: 11 Sep 2014, 19:41:52 UTC

Try the 'On multiprocessors, use at most 100% of the processors' setting instead, set to 50% for a dual core, 25% for a quad, 12.5% for a hex core, etc,
the 'On multiprocessors, use at most 4 processor' is only used if the other setting has been set to Zero.

Or use a app_config.xml with the following in it:

<app_config>
<project_max_concurrent>1</project_max_concurrent>
</app_config>


Application configuration

Claggy
ID: 55996 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 56003 - Posted: 12 Sep 2014, 8:41:23 UTC - in response to Message 55996.  

As been pointed out else where, the Wiki says you need Boinc 7.5.1, althrough the <project_max_concurrent> option has been added to the Boinc 7.4 head, so will actually be in Boinc 7.4.9 and later.

Claggy
ID: 56003 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 56004 - Posted: 12 Sep 2014, 10:32:36 UTC - in response to Message 56003.  

the Wiki says you need Boinc 7.5.1, althrough the <project_max_concurrent> option has been added to the Boinc 7.4 head, so will actually be in Boinc 7.4.9 and later.

Wiki adjusted.
ID: 56004 · Report as offensive
Devlin85
Avatar

Send message
Joined: 11 Sep 14
Posts: 7
United States
Message 56035 - Posted: 15 Sep 2014, 4:54:33 UTC - in response to Message 55994.  

Thanks for all the help everyone! for some reason setting the options in app_config caused instant failure in climateprediction for me, and was just plain ignored on primegrid.

But anyway, changing multiprocessor to 0% and adjusting the cores to a specific number was the key for me. I use BAM and I was able to set up a few profiles that did the trick.

I later decided to just have one computer do one project and so on, since some just seem to run better on one system than the other, but it was worth the effort.
ID: 56035 · Report as offensive
Devlin85
Avatar

Send message
Joined: 11 Sep 14
Posts: 7
United States
Message 56050 - Posted: 15 Sep 2014, 19:34:51 UTC

Antivirus was causing the error in climateprediction. It get's annoyed at the most random projects at the most random times (Bitdefender by the way). Had it ignore the app and were good to go. AVG seems to be the most compatible with BOINC.

Anyway I did get the app config options to work and am having much success maxing out my gpu's as well.. :)
ID: 56050 · Report as offensive

Message boards : Questions and problems : Option to make a project only use 1 cpu core?

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.