"On multiprocessors, use at most n processors"

Message boards : Number crunching : "On multiprocessors, use at most n processors"

To post messages, you must log in.

AuthorMessage
tomba

Send message
Joined: 29 May 06
Posts: 43
Credit: 1,558,972
RAC: 0
Message 70806 - Posted: 29 Jul 2011, 17:02:37 UTC
Last modified: 29 Jul 2011, 17:12:22 UTC

I have eight processors. If I don't control them, the cooling fan noise is unacceptable since my PC is in our living space.

I control them with Tthrottle. It works, but I would rather not have Tthrottle running when I can control the fan noise by limiting the number of processors running Rosetta.

For the past five days I've been running with the preference set for five processors active. No difference. All eight processors continue active.

How do I activate this processor limit option?

Thanks, Tom
ID: 70806 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chris Holvenstot
Avatar

Send message
Joined: 2 May 10
Posts: 220
Credit: 9,106,918
RAC: 0
Message 70807 - Posted: 29 Jul 2011, 19:13:42 UTC

Just speculation but your CPU actually only has 4 cores - acting as eight - via the magic of Hiper-threading.

It would appear that maybe when you allow BOINC to use five cores, he takes it as five real cores - thus you are still running on all four real cores.

Try dropping it down to three cores - if my guess is correct then you should see six tasks running.

Just a shot in the dark

ID: 70807 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chilean
Avatar

Send message
Joined: 16 Oct 05
Posts: 711
Credit: 26,694,507
RAC: 0
Message 70808 - Posted: 29 Jul 2011, 19:33:50 UTC
Last modified: 29 Jul 2011, 19:34:33 UTC

What Chris said. If you have 8 processors, try setting it on 25-50%:

"On multiprocessors systems, use at most 25 (or 50) % of the processors."

And work from there.

My 2 cents.

Also, if you do have HT'ing, try disabling it. HT does increase the operating temperature specially under full load.


BTW, Chris, long time no see.
ID: 70808 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
tomba

Send message
Joined: 29 May 06
Posts: 43
Credit: 1,558,972
RAC: 0
Message 70816 - Posted: 30 Jul 2011, 10:02:06 UTC - in response to Message 70808.  

Thanks Chris & Chilean for answering. I had no idea that an i7 only had four real cores!!

I played with preferences and they are currently set a "use at most 1 processor" and "use at most 0.01% of CPU time". All eight threads are churning away, oblivious of my settings!!

Now I'll see if I can turn off hyper-threading in the BIOS...

Tom
ID: 70816 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chris Holvenstot
Avatar

Send message
Joined: 2 May 10
Posts: 220
Credit: 9,106,918
RAC: 0
Message 70817 - Posted: 30 Jul 2011, 10:18:50 UTC

I am curious - where are you specifying the number of CPUs to utilize - on the computing preferences web page on the Rosetta site or on the "preferences -> processor usage" frame which is a part of the BOINC manager running locally on your system?

If you are specifying it on the web page try going to the BOINC manager preferences panel and set it there - it is my understanding that the local preferences set on the BOINC manager itself override the global preferences set via the web site.

With my account I tried setting the number if processors to 1 on the web page and 100% on the BOINC manager, and it is using all cores.

This may be your issue.
ID: 70817 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
tomba

Send message
Joined: 29 May 06
Posts: 43
Credit: 1,558,972
RAC: 0
Message 70818 - Posted: 30 Jul 2011, 11:07:35 UTC - in response to Message 70817.  

I am curious - where are you specifying the number of CPUs to utilize - on the computing preferences web page on the Rosetta site or on the "preferences -> processor usage" frame which is a part of the BOINC manager running locally on your system?


Ah! Bingo!! I did not know about preferences in the local BOINC manager. I played there and it obeyed my settings. Thank you.

I also went looking for hyper-threading in the BIOS. No mention, but I found I could specify how many cores to use: All, 1 or 2. I tried 2. Sure enough, Rosetta came up using only four threads.

So - I have a choice: Run only 2 of the 4 cores, or restrict BOINC to 4 threads via preferences. I chose the 1st option only because the cooling fan noise was acceptable. With the 2nd option the fan noise was unacceptable without Tthrottling.

Many thanks for your help.

Tom

ID: 70818 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Link
Avatar

Send message
Joined: 4 May 07
Posts: 356
Credit: 382,349
RAC: 0
Message 70820 - Posted: 30 Jul 2011, 12:57:10 UTC - in response to Message 70818.  
Last modified: 30 Jul 2011, 12:59:52 UTC

I also went looking for hyper-threading in the BIOS. No mention, but I found I could specify how many cores to use: All, 1 or 2. I tried 2. Sure enough, Rosetta came up using only four threads.

Yeah, but that disables the cores for all programs and not only for BOINC, i.e. you make out of your 4 core i7 some low end dual core CPU.


So - I have a choice: Run only 2 of the 4 cores, or restrict BOINC to 4 threads via preferences. I chose the 1st option only because the cooling fan noise was acceptable. With the 2nd option the fan noise was unacceptable without Tthrottling.

You can restrict BOINC to 2 cores while still having all 8 virtual cores available for other programs, use at most 25% of the prosessors should do that, i.e. restrict BOINC to 2 threads. 38% would restrict it to 3 threads, if you want to try that.

Another thought would be to replace the CPU cooler with something more quiet, specially if you are using intel's stock cooler, and eventually improve the case cooling if it gets too hot in there.
.
ID: 70820 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chilean
Avatar

Send message
Joined: 16 Oct 05
Posts: 711
Credit: 26,694,507
RAC: 0
Message 70826 - Posted: 30 Jul 2011, 19:35:33 UTC - in response to Message 70818.  

I am curious - where are you specifying the number of CPUs to utilize - on the computing preferences web page on the Rosetta site or on the "preferences -> processor usage" frame which is a part of the BOINC manager running locally on your system?


Ah! Bingo!! I did not know about preferences in the local BOINC manager. I played there and it obeyed my settings. Thank you.

I also went looking for hyper-threading in the BIOS. No mention, but I found I could specify how many cores to use: All, 1 or 2. I tried 2. Sure enough, Rosetta came up using only four threads.

So - I have a choice: Run only 2 of the 4 cores, or restrict BOINC to 4 threads via preferences. I chose the 1st option only because the cooling fan noise was acceptable. With the 2nd option the fan noise was unacceptable without Tthrottling.

Many thanks for your help.

Tom


The settings in the BOINC manager should be enough...



Set the number I highlighted to 50 or 25 %, this will leave 50 or 75 % of your cores alone, thus reducing heat. Disabling your cores in the BIOS is not something I'd do, you are literally crippling your CPU's global performance. You could also clean up your PC from the dust... just a little layer of dust hinders heat dissipation significantly (thus forces the fans to spin faster). AND/OR get an after market heatsink, they are relatively cheap and pretty effective at cooling whilst being quiet.

ID: 70826 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
tomba

Send message
Joined: 29 May 06
Posts: 43
Credit: 1,558,972
RAC: 0
Message 70831 - Posted: 31 Jul 2011, 6:25:42 UTC - in response to Message 70826.  

The settings in the BOINC manager should be enough...


You're right. I'm now running with all cores active, and in BOINC I've set 75% of the processors and 70% of CPU time. So I have six Rosetta threads running and the fan noise is acceptable.

I also run GPUGRID, which seems to need pretty much constant access to a CPU thread. He now has two all to himself!

Many thanks everybody!

Tom

ID: 70831 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : "On multiprocessors, use at most n processors"



©2024 University of Washington
https://www.bakerlab.org