CPU utilization

Questions and Answers : Windows : CPU utilization
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Al

Send message
Joined: 24 Feb 08
Posts: 20
Credit: 22,696
RAC: 0
United Kingdom
Message 720624 - Posted: 2 Mar 2008, 3:16:07 UTC - in response to Message 720548.  
Last modified: 2 Mar 2008, 3:16:28 UTC

Download SpeedFan 3.33 (Freeware) for real time monitoring. Supports almost every PC I've used (Windoze).
ID: 720624 · Report as offensive
Profile Mark Peters
Volunteer tester
Avatar

Send message
Joined: 5 Jul 02
Posts: 80
Credit: 588,422
RAC: 0
Belgium
Message 720548 - Posted: 2 Mar 2008, 0:08:56 UTC - in response to Message 720539.  

Sure, maximum CPU temps can be inferred from the manufacturer documents, but how does one go about getting the current CPU temp on a given system?

The only way to do that is to find out if the motherboard supports thermal monitoring. Most motherboards these days do, but so many manufacturers use different thermal monitoring chips, each with their own specific set of instructions to use that there are literally hundreds of different types to program for. The same motherboard manufacturer alone could use two dozen different thermal monitoring chips, depending on which third party they got a deal from or if one is simply newer/more advanced than another.

Thermal monitoring chips don't necessarily use the same instruction sets across all brands/types/models as they are not standardized in the industry.

Getting the temp would require getting the programming access codes for each and every thermal monitoring chip used on every motherboard to ensure maximum compatibility (otherwise I guarantee you there'll be complaints here! LOL) It's just too complex and too much for a project like BOINC to handle.
Now, if there were a standardized API for getting the temperature. Then BOINC could assume a standard max temp with the option for the user to override that. Keeping up with the max temp for the literally hundreds of different CPUs is not something that the very small number of programmers can do.


Doesn't the P3 and P4 have an on-chip temp sensor? If they do then I presume AMD also would have one in their chips. I understand motherboards usually have a bunch of their own and as I said that would be all too hard to do. If the cpu has its own then that shouldn't be too hard to code.


My AMD K7 has a temp viewer/monitor on it, with the COP system working for you, system shutsdown when temp goes over 79 Celsius, to protect the sytem. Had run the system to on a attic, in summer gets to hot. Later on I bought a 12inch fan in my system for cool airflow and had a BIOS upgrade, my CPU never went up the 65 Celsius again. It's all in your mainboad and the protection within the software.

Cheers mate.

Mark
ID: 720548 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15687
Credit: 84,761,841
RAC: 62
United States
Message 720545 - Posted: 2 Mar 2008, 0:01:31 UTC - in response to Message 720539.  
Last modified: 2 Mar 2008, 0:06:08 UTC

Doesn't the P3 and P4 have an on-chip temp sensor? If they do then I presume AMD also would have one in their chips. I understand motherboards usually have a bunch of their own and as I said that would be all too hard to do. If the cpu has its own then that shouldn't be too hard to code.


The CPUs have a thermal sensor that is designed to work with the thermal monitoring chip on the motherboard. All programs must get the data out of the thermal monitoring chip on the motherboard, not the sensor in the chip itself.
ID: 720545 · Report as offensive
MarkJ Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 08
Posts: 1139
Credit: 80,854,192
RAC: 12
Australia
Message 720539 - Posted: 1 Mar 2008, 23:46:25 UTC - in response to Message 720451.  

Sure, maximum CPU temps can be inferred from the manufacturer documents, but how does one go about getting the current CPU temp on a given system?

The only way to do that is to find out if the motherboard supports thermal monitoring. Most motherboards these days do, but so many manufacturers use different thermal monitoring chips, each with their own specific set of instructions to use that there are literally hundreds of different types to program for. The same motherboard manufacturer alone could use two dozen different thermal monitoring chips, depending on which third party they got a deal from or if one is simply newer/more advanced than another.

Thermal monitoring chips don't necessarily use the same instruction sets across all brands/types/models as they are not standardized in the industry.

Getting the temp would require getting the programming access codes for each and every thermal monitoring chip used on every motherboard to ensure maximum compatibility (otherwise I guarantee you there'll be complaints here! LOL) It's just too complex and too much for a project like BOINC to handle.
Now, if there were a standardized API for getting the temperature. Then BOINC could assume a standard max temp with the option for the user to override that. Keeping up with the max temp for the literally hundreds of different CPUs is not something that the very small number of programmers can do.


Doesn't the P3 and P4 have an on-chip temp sensor? If they do then I presume AMD also would have one in their chips. I understand motherboards usually have a bunch of their own and as I said that would be all too hard to do. If the cpu has its own then that shouldn't be too hard to code.
BOINC blog
ID: 720539 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 720451 - Posted: 1 Mar 2008, 18:34:19 UTC - in response to Message 720385.  

As you pointed out there are numerous motherboard combinations. I am suggesting getting the cpu temp, which as far as I know is cpu specific. Please correct me if I'm wrong as I am no expert on these things. Other temps would be too hard to obtain as you say, but the cpu temp shouldn't be that hard to return or require a motherboard-specific version of code.


Sure, maximum CPU temps can be inferred from the manufacturer documents, but how does one go about getting the current CPU temp on a given system?

The only way to do that is to find out if the motherboard supports thermal monitoring. Most motherboards these days do, but so many manufacturers use different thermal monitoring chips, each with their own specific set of instructions to use that there are literally hundreds of different types to program for. The same motherboard manufacturer alone could use two dozen different thermal monitoring chips, depending on which third party they got a deal from or if one is simply newer/more advanced than another.

Thermal monitoring chips don't necessarily use the same instruction sets across all brands/types/models as they are not standardized in the industry.

Getting the temp would require getting the programming access codes for each and every thermal monitoring chip used on every motherboard to ensure maximum compatibility (otherwise I guarantee you there'll be complaints here! LOL) It's just too complex and too much for a project like BOINC to handle.

Now, if there were a standardized API for getting the temperature. Then BOINC could assume a standard max temp with the option for the user to override that. Keeping up with the max temp for the literally hundreds of different CPUs is not something that the very small number of programmers can do.


BOINC WIKI
ID: 720451 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15687
Credit: 84,761,841
RAC: 62
United States
Message 720385 - Posted: 1 Mar 2008, 15:36:37 UTC - in response to Message 720331.  
Last modified: 1 Mar 2008, 15:37:38 UTC

As you pointed out there are numerous motherboard combinations. I am suggesting getting the cpu temp, which as far as I know is cpu specific. Please correct me if I'm wrong as I am no expert on these things. Other temps would be too hard to obtain as you say, but the cpu temp shouldn't be that hard to return or require a motherboard-specific version of code.


Sure, maximum CPU temps can be inferred from the manufacturer documents, but how does one go about getting the current CPU temp on a given system?

The only way to do that is to find out if the motherboard supports thermal monitoring. Most motherboards these days do, but so many manufacturers use different thermal monitoring chips, each with their own specific set of instructions to use that there are literally hundreds of different types to program for. The same motherboard manufacturer alone could use two dozen different thermal monitoring chips, depending on which third party they got a deal from or if one is simply newer/more advanced than another.

Thermal monitoring chips don't necessarily use the same instruction sets across all brands/types/models as they are not standardized in the industry.

Getting the temp would require getting the programming access codes for each and every thermal monitoring chip used on every motherboard to ensure maximum compatibility (otherwise I guarantee you there'll be complaints here! LOL) It's just too complex and too much for a project like BOINC to handle.
ID: 720385 · Report as offensive
MarkJ Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 08
Posts: 1139
Credit: 80,854,192
RAC: 12
Australia
Message 720331 - Posted: 1 Mar 2008, 13:14:00 UTC - in response to Message 719695.  

What I really need is something to monitor the cpu temp and reduce % allocated until the temp gets back down.

The couple of add-on programs I saw only seem to throttle back a set amount and don't actually monitor the temp. Boinc can throttle itself so really would be nice to have boinc do it, but just something for the wish-list.

I'll have a google and see if I can find a 3rd party app that monitors and throttles based upon cpu temp.

Issue with this is each MB manufacture does their own thing, plus then you have how many different OSes out there. BOINC needs to stay compatible with as much as possible. So, it's kind of hard to be that specific when you have to be so generic.

You might look for something in the 3rd party Add-On programs and see if you can find something that may help.

Another thing to remember is BOINC <> SETI. The boards here are SETI and it's application, BOINC has their own boards, etc.


As I mentioned above the couple of add-ons on here don't actually monitor the cpu temp. I did find a few via Google though.

Agreed Boinc is not = Seti, so this probably should go off to the Boinc Wish List. Boinc is there so projects (Seti just being one of them) can do number crunching. Boinc already establishes what CPU one has (and therefore can infer its max temp). Boinc also has a parameter to use % of CPU. So if we tie the cpu temp monitoring in we could then get Boinc to drop back cpu use when temp gets too high.

As you pointed out there are numerous motherboard combinations. I am suggesting getting the cpu temp, which as far as I know is cpu specific. Please correct me if I'm wrong as I am no expert on these things. Other temps would be too hard to obtain as you say, but the cpu temp shouldn't be that hard to return or require a motherboard-specific version of code.
BOINC blog
ID: 720331 · Report as offensive
Profile Pooh Bear 27
Volunteer tester
Avatar

Send message
Joined: 14 Jul 03
Posts: 3222
Credit: 4,603,826
RAC: 0
United States
Message 719695 - Posted: 29 Feb 2008, 2:47:25 UTC - in response to Message 719687.  

What I really need is something to monitor the cpu temp and reduce % allocated until the temp gets back down.

The couple of add-on programs I saw only seem to throttle back a set amount and don't actually monitor the temp. Boinc can throttle itself so really would be nice to have boinc do it, but just something for the wish-list.

I'll have a google and see if I can find a 3rd party app that monitors and throttles based upon cpu temp.

Issue with this is each MB manufacture does their own thing, plus then you have how many different OSes out there. BOINC needs to stay compatible with as much as possible. So, it's kind of hard to be that specific when you have to be so generic.

You might look for something in the 3rd party Add-On programs and see if you can find something that may help.

Another thing to remember is BOINC <> SETI. The boards here are SETI and it's application, BOINC has their own boards, etc.

ID: 719695 · Report as offensive
MarkJ Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 08
Posts: 1139
Credit: 80,854,192
RAC: 12
Australia
Message 719687 - Posted: 29 Feb 2008, 2:11:29 UTC

What I really need is something to monitor the cpu temp and reduce % allocated until the temp gets back down.

The couple of add-on programs I saw only seem to throttle back a set amount and don't actually monitor the temp. Boinc can throttle itself so really would be nice to have boinc do it, but just something for the wish-list.

I'll have a google and see if I can find a 3rd party app that monitors and throttles based upon cpu temp.
BOINC blog
ID: 719687 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 718354 - Posted: 25 Feb 2008, 14:30:49 UTC - in response to Message 717455.  

That option does do that. It's meant to keep the processor a little cooler if you are having or worried about heat. The only way for that option to stay compatible with all computer times is to run 100% then drop to non-processing for the period of time you request. Since no systems are ever at 0%, you saw it down to 5-7%. If I understand it correctly it's a 10 second cycle, so 90% would hit 9 seconds on, and 1 second off.

It is not a fixed 10 second cycle. 90% would be 9 on and 1 off, but 80% would be 4 on and one off (a 5 second cycle). 50% would be a 2 second cycle at 1 on and 1 off. 99% would be 99 seconds on and one off of a 100 second cycle. 1% (which was the default early on because of a bug) was one second on and 99 seconds off.


BOINC WIKI
ID: 718354 · Report as offensive
Profile Pooh Bear 27
Volunteer tester
Avatar

Send message
Joined: 14 Jul 03
Posts: 3222
Credit: 4,603,826
RAC: 0
United States
Message 717455 - Posted: 23 Feb 2008, 18:16:59 UTC

That option does do that. It's meant to keep the processor a little cooler if you are having or worried about heat. The only way for that option to stay compatible with all computer times is to run 100% then drop to non-processing for the period of time you request. Since no systems are ever at 0%, you saw it down to 5-7%. If I understand it correctly it's a 10 second cycle, so 90% would hit 9 seconds on, and 1 second off.

ID: 717455 · Report as offensive
MarkJ Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 08
Posts: 1139
Credit: 80,854,192
RAC: 12
Australia
Message 717364 - Posted: 23 Feb 2008, 11:46:30 UTC - in response to Message 717334.  

What do you have your "Use at most ???%" set to under Computing preferences?


Ahh, well that was set to 90%. I've now bumped it up to 100% and according to task manager they are going flat-out.

Thanks,
MarkJ
ID: 717364 · Report as offensive
Profile Pooh Bear 27
Volunteer tester
Avatar

Send message
Joined: 14 Jul 03
Posts: 3222
Credit: 4,603,826
RAC: 0
United States
Message 717334 - Posted: 23 Feb 2008, 9:48:33 UTC

What do you have your "Use at most ???%" set to under Computing preferences?

ID: 717334 · Report as offensive
MarkJ Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 08
Posts: 1139
Credit: 80,854,192
RAC: 12
Australia
Message 717292 - Posted: 23 Feb 2008, 6:58:17 UTC

Hi all,

I've been looking in task manager as my machines process w/u's and it seems strange to me that about every 5-7 seconds the cpu usage drops from 100% to 5% and then shoot back up to 100%. It does this on all 4 cores of my quad core machines and on my single core machine consistently.

At first I thought it might have been saving to disk (and awaiting the IO to complete), so I adjusted the save time from the default (60 secs) to 90 seconds but that made no difference.

I'm running boinc 5.10.30 and S@H enhanced version 527 on XP Pro machines.

Any ideas?

MarkJ
ID: 717292 · Report as offensive
Previous · 1 · 2

Questions and Answers : Windows : CPU utilization


 
©2020 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.