Message boards : Number crunching : Limiting CPU usage
Previous · 1 · 2 · 3 · Next
Author | Message |
---|---|
stewjack Send message Joined: 23 Apr 06 Posts: 39 Credit: 95,871 RAC: 0 |
Thankyou i am going nuts. OK I think I can solve your problem now. However it might be a good idea to set a system restore point, before you start changing registry keys! Have you ever created a system restore point? I think it is new in XP. Some Background I will give you more specic instructions later if you need them. Note: The instructions are also included in the readme.txt file that come with threadmaster. Thread Master was created for use on servers. It was not created for BOINC. Threadmaster really does nothing but create registry keys. Threadmaster is controlled by changing registry values. By default Threadmaster limits ALL individual computer applications to a maximum CPU load of 15%. Since Rosetta is an individual computer application Threadmaster is limiting it to 15% CPU load. This default value probably works fine for all other application. I increased the value to 30 percent, but that would still too slow for Rosetta. Most people just leave it at 15 percent. Changing this value is not the correct solution to your problem! Please go to the the following registry location and just look at it. You don't need to change anything! You can just look! [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesThreadMasterParameters] If you can find CPUThresholdPct and Data value 15 You can ignore every thing else. If you feel comfortable you can increase the data value way up to 60 and see what happens. I believe you will have to exit BOINC and restart the computer before you see the increased crunching speed. Remember: Changing this value is not the correct solution to your problem! The Correct Method You must go down one more level in the registry beyond Parameters to Applications. [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesThreadMasterParametersApplications] Your solution is to to enter the Rosetta or any other applications as an exception to the 15% rule. These are my two exceptions. The second example is the new Rosetta application. It isn't crunching yet. I set them both at 80 percent. Application Key String Value name: Value Data: rosetta_5.25_windows_intelx86.exe 80 Value name: Value Data: rosetta_5.32_windows_intelx86.exe 80 This is probably to much information at one time. It depends how familiar you are with Registry Keys. Don't be afraid to ask more questions. Jack |
stewjack Send message Joined: 23 Apr 06 Posts: 39 Credit: 95,871 RAC: 0 |
I am replying to my own post because the last part was confusing. It would probably be better if you just ignored the Correct Method for now. Jack |
KAMasud Send message Joined: 7 Oct 06 Posts: 20 Credit: 46,359 RAC: 0 |
:-) I think i understand and will do as you say and let you know. I will try the correct option first. Yes i Have created system restore points in Windows ME but still thankyou for reminding me, i know i would have forgotten it. Yhanks Thankyou i am going nuts. Life is limited. Death is a surety. |
SekeRob Send message Joined: 7 Sep 06 Posts: 35 Credit: 19,984 RAC: 0 |
It is important to understand that the Threadmaster works as a balancer for all processes at the same level....i.e. Rosetta runs at the very lowest level, thus if setting 90%, it will get 90% of the idle time left. The processes at normal priority still get prevalence over Rosetta. Also important is that the string entry u add to the register must be named EXACTLYas it appears in Taskmanager...i.e. it is case-sensitive. And should u make a typing error, it will assume the default value. As per my earlier post, i added processes like Ad Aware and Spybot and Disk Deframenters and gave them extremely low percentages (running at normal priority), thus BOINC or wordprocessing or anything else wont die. Any time the version number changes, u have to update the registry parm. Lastly, once set up, export the key which cretes a reg file. Then do your edits/adds in that text file. Every time u 'install' that file it will update the registry. Note that Threadmaster will not read a value until a process using the key is newly started. Got threadmaster in the All user AutoStartup Folder, so who ever logs is first (or autolog-in), will activate it. ciao PS... Still not had time to give this BES utility a swirl, but someone over at another project, gave it a try, had it running for 28 hours or so ..... it does the job, but has a user interface to control. Coelum Non Animum Mutant, Qui Trans Mare Currunt |
KAMasud Send message Joined: 7 Oct 06 Posts: 20 Credit: 46,359 RAC: 0 |
An update. Outside temp 35 Celsius I had gone to my preferences and switched on my second CPU and the performence improved with two processars working in tandem. The CPU usage whent up to thirty percent. Then i went into the registry as per your advise and set the string value to 60 now my processars are giveing me 36%. I will wait a while to see then if every thing is Ok! i will rack it up to 80 then see what happens :-)Thanks to all and regards :-) I think i understand and will do as you say and let you know. I will try the correct option first. Yes i Have created system restore points in Windows ME but still thankyou for reminding me, i know i would have forgotten it. Yhanks Life is limited. Death is a surety. |
KAMasud Send message Joined: 7 Oct 06 Posts: 20 Credit: 46,359 RAC: 0 |
The biggest boost has come from the second processar comeing on line. With the string value at 80 now, my CPU"s are running at 17% each, system idle at 65 to 70%. I will increase string value to 90 But i think it wont make much difference. So any thing new that i can do? :-) An update. Life is limited. Death is a surety. |
stewjack Send message Joined: 23 Apr 06 Posts: 39 Credit: 95,871 RAC: 0 |
The biggest boost has come from the second processar comeing on line. With the string value at 80 now, my CPU"s are running at 17% each, system idle at 65 to 70%. Those numbers don't seem right. Something must be wrong. I don't have a dual cpu, but Threadmaster is supposed to work with dual cpu's. On my single cpu, if I had entered 80 my cpu load would be 80 percent or higher, after about two minutes. That would only be true when I was crunching using BOINC of course. I can only suggest one more action before giving up on Threadmaster. First I need more information. 1. Where those numbers of 60, 80, or 90 that you mentioned entered into the registy key called CPUThresholdPct? 2. Which Rosetta application, is BOINC running at this time? The Rosetta project switched applications yesterday. You may have both applications in the following folder - Located in Program FilesBOINCprojectsboinc.bakerlab.org_rosetta rosetta_5.25_windows_intelx86.exe and / or rosetta_5.32_windows_intelx86.exe All new Work Units, as of yesterday, should be using the application - rosetta_5.32_windows_intelx86.exe Jack ANOTHER THROTTLE PROGRAM Warning I have never used this program. It doesn't say if it works with dual CPU's? Warning UNINSTALL ThreadMaster and reboot before using this program! http://mion.faireal.net/BES/ ALSO A future BOINC version is claimed to have a throttle feature. |
KAMasud Send message Joined: 7 Oct 06 Posts: 20 Credit: 46,359 RAC: 0 |
Those figure of 40, 60 and 80 i put in place of 80 as i was told to see what would happen and nothing happened. The rosetta application being run is 5.25. Maybe becuse the server at rosetta was in a good mood it flooded me out? a week back. Now Boinc says computer overloaded. Anyway i have uninstalled Threadmaster and now my CPU"s are running at 100%. If the base unit was heating up before now with both processars you can imagine the heat being generated. Its not like someone somewhere else has said that CPU"s are not car engines and thay are designed to run at 100%, i know, but maybe in Alaska. In the middle of the Arid Zone it is a bit of a trouble. I now put it to snooze when i think its overheating, which i think is a better proposal then let the machine decide. Its a shame honestly. Someone has desighned rosetta to run at 100% and he should have placed some kind of control, there should not be any need of third party applications to control it. :-) The biggest boost has come from the second processar comeing on line. With the string value at 80 now, my CPU"s are running at 17% each, system idle at 65 to 70%. Life is limited. Death is a surety. |
tomaz @ ITINITI Business Solutions Send message Joined: 6 Jun 06 Posts: 4 Credit: 14,454 RAC: 0 |
If anyone think that threadmaster is not working ok, they can just stop the service. Start menu / Settings/Control pannel/Administrative Tools/services find Thread Master and stop it. As for your question Sekerob, BES is also working OK, with one slight problem connected to Roseta. As soon as your Roseta work unit is finished, another one is started and unles you limit it manualy, BES will not limit it. (as it starts a new process) Other than that, BES runs flawlesly. Anyway guys, don't limit Roseta too much... I'm filling kinda gulty for starting this thread ;) Tomaz |
ed Send message Joined: 5 Mar 06 Posts: 16 Credit: 235,164 RAC: 0 |
I'm running a amd4800x2 at2.62 clock speeds 0n a updated bios gigabyte GA-K8nsc-939 motherboard, two exhaust fans in rear part of case one intake in front and my temps at fool load are averaging 50 to 52c.I have folding at home and World community grid running in the back ground.(.1volt on agp,HT and ram) x9 x290x434 on ram has everything stable.Hope this info might help someone. |
stewjack Send message Joined: 23 Apr 06 Posts: 39 Credit: 95,871 RAC: 0 |
Those figure of 40, 60 and 80 i put in place of 80 as i was told to see what would happen and nothing happened. Did you restart the computer??? I seem to recall that nothing takes effect until you restart the computer. I would like to help, but the Threadmaster program does not seem to be working on your computer the way it does on my computer. I just don't know how to help you. Can you monitor your cpu temperature? How hot does your CPU get? If your fan isn't going crazy, you probably don't have anything to worry about. I have a program that displays my cpu temp next to the time in my system tray. The problem is that not all motherboards place the temperature sensors exactly the same place, and the temperature sensors different levels of accuracy. If your fan isn't going crazy you probablt don't have anything to worry about. All moderm computers should regulate the fan speed using the temperature sensor. If I stop Threadmaster my fan starts sounding like a tubojet! IF YOU WANT TO RE-INSTALL ThreadMaster Don't change CPUThresholdPct. Keep it at 15% Next Go to Applications in the registry [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesThreadMasterParametersApplications] "mfadmin.exe"="5" Note: This is imput automatically. If you see it you are in the right place Input the following strings and data "rosetta_5.25_windows_intelx86.exe"="80" "rosetta_5.32_windows_intelx86.exe"="80" This is what it should look like after you are finished [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesThreadMasterParametersApplications] "mfadmin.exe"="5" "rosetta_5.25_windows_intelx86.exe"="60" "rosetta_5.32_windows_intelx86.exe"="60" Don't forget to restart the computer!! Jack |
SekeRob Send message Joined: 7 Sep 06 Posts: 35 Credit: 19,984 RAC: 0 |
The quickest way to nirvana and to prevent any typing errors, put the complete text in the quote box below including 'Windows....' into notepad and save it to a file called rosetta.reg on your desktop. Ensure the extension u select in dropdown box below file name All and when saved has a .reg extension. Then right-click on the file saved on desktop and select 'install'. Probably it will ask for a few okays. After that you're ready to restart BOINC. Threadmaster will automatically read the new settings anytime a new Work Unit is started. Windows Registry Editor Version 5.00 Coelum Non Animum Mutant, Qui Trans Mare Currunt |
KAMasud Send message Joined: 7 Oct 06 Posts: 20 Credit: 46,359 RAC: 0 |
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesThreadMasterParametersApplications] "mfadmin.exe"="5" "rosetta_5.25_windows_intelx86.exe"="60" "rosetta_5.32_windows_intelx86.exe"="60" ------------------------------ Application Key String Value name: Value Data: rosetta_5.25_windows_intelx86.exe 80 Value name: Value Data: rosetta_5.32_windows_intelx86.exe 80 _________________________________ :-) As you can see the two statments dont exactly match and i had tried the first one. Yes, i had restated the computer every time. Maybe the second statment will work. Should i put it in as it looks exactly? Yes my system does sound like a turo prop and starts to vibrate. But its not that it is the smell of frying electronics that gets to me. Any way i will give it a rest for the time being until i get through the project deadlines, i hope, then i will see about reinstalling ThreadMaster, until then i will follow the posts. ______________________________ Project Deadlines? Is it possible that the server at rosetta is setting deadlines according to the capabilities of the users computer? and not according to the capabalites that TaskMaster is allowing the computer? Becuse i have read i think in the science section something about late project deadlines. I think in order to get around this problem the control should be built into the interface so that the server knows what the user is doing and sets dead lines accordingly. Why? becuse my computer was crunching a work unit every two and a half hours. After i insalled ThreadMaster it started to go through a work unit every twelve hours. Thats why my deadlines are out. Now its crunching two work units every two and a half hours. :-)So i may still meet them. Those figure of 40, 60 and 80 i put in place of 80 as i was told to see what would happen and nothing happened. Life is limited. Death is a surety. |
Mod.Sense Volunteer moderator Send message Joined: 22 Aug 06 Posts: 4018 Credit: 0 RAC: 0 |
KAMasud, the deadlines are currently 7 days. Your PC is currently in transition as you adjust with Threadmaster how much of the time it is crunching. BOINC (not Rosetta) keeps track of what % of the time your machine is crunching and will "learn" over time how much work it should be requesting to keep your BOINC projects happily crunching within their deadlines. So, presently your computer may think it is "overcommitted", but it will learn not to download quite so much work and adjust to your new usage. Rosetta Moderator: Mod.Sense |
stewjack Send message Joined: 23 Apr 06 Posts: 39 Credit: 95,871 RAC: 0 |
Either example should work. I have run out of ideas. Jack |
stewjack Send message Joined: 23 Apr 06 Posts: 39 Credit: 95,871 RAC: 0 |
Either example should work. One would run Rosetta at 60% and the other at 80% I have run out of ideas. Jack |
KAMasud Send message Joined: 7 Oct 06 Posts: 20 Credit: 46,359 RAC: 0 |
Mine are on 17th. and the rest i understand KAMasud, the deadlines are currently 7 days. Your PC is currently in transition as you adjust with Threadmaster how much of the time it is crunching. BOINC (not Rosetta) keeps track of what % of the time your machine is crunching and will "learn" over time how much work it should be requesting to keep your BOINC projects happily crunching within their deadlines. So, presently your computer may think it is "overcommitted", but it will learn not to download quite so much work and adjust to your new usage. Life is limited. Death is a surety. |
KAMasud Send message Joined: 7 Oct 06 Posts: 20 Credit: 46,359 RAC: 0 |
Ok! dont worry, just know i have uninstalled it. When i install it again then i give it another try. Thanks
Life is limited. Death is a surety. |
Tom Philippart Send message Joined: 29 May 06 Posts: 183 Credit: 834,667 RAC: 0 |
Can lowering the CPU voltage hurt the CPU? Even if it runs stable, is the lifetime not reduced? Overvolting the CPU can make the CPU not operate at the default voltage at default speed anymore, does this also apply to undervolting? |
Mats Petersson Send message Joined: 29 Sep 05 Posts: 225 Credit: 951,788 RAC: 0 |
Can lowering the CPU voltage hurt the CPU? Even if it runs stable, is the lifetime not reduced? Overvolting the CPU can make the CPU not operate at the default voltage at default speed anymore, does this also apply to undervolting? I wouldn't have thought so - the only plausible scenario is that two transistors fight each other because of some internal error, and you'd see the machine crash if you do that. However, calculation errors and other similar effects are VERY likely if you overdo any lowering of voltage of the processor. Proecessors are tested to work at specific voltages, and the voltage selected by the manufacturer is guaranteed to work for all applicable conditions - a lower voltage is outside the guaranteed levels. Just like any other tuning - be it motors or processors, you're changing the intended behaviour, and you take a risk that it's going to do something differnet than what was intended. -- Mats |
Message boards :
Number crunching :
Limiting CPU usage
©2024 University of Washington
https://www.bakerlab.org