| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 15
|
|
| Author |
|
|
WilhelmGGW
Advanced Cruncher Joined: Nov 12, 2005 Post Count: 52 Status: Offline Project Badges:
|
cpufreq-selector -f ##### (where ##### is the highest value) I have a dual processor system. This works GREAT for resetting my primary processor to full capacity. But I just noticed it leaves my second processor running at the default 60% of capacity. I would guess the second CPU can also be set to 100%. Can someone tell me how to do that? Thanks so much. |
||
|
|
Sekerob
Ace Cruncher Joined: Jul 24, 2005 Post Count: 20043 Status: Offline |
2 physically processors or dual core? A short google found on the Ubuntu forum something about Performance Governer: http://ubuntuforums.org/showthread.php?t=600188
----------------------------------------Here's a tip & trick how to control the frequency on a 4 CPU system: http://www.cedega.com/forum/viewtopic.php?t=9...bb60a0b6f36e9e2a441b15179
WCG
Please help to make the Forums an enjoyable experience for All! |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Maybe for dummies [me], but if the intend is to crunch always, why not set the CPU in the BIOS to max (if that is possible)? Sekerob - I wouldn't put you in the dummies camp ...... if you are then the rest of us don't even have a campsite to call home ![]() WilhelmGGW - do the links that Sekerob has posted offer any useful tips for your problem? It's a far neater solution to make use of the tools provided by the O/S that you're using instead of hacking at the system startup scripts. (I don't have a Ubuntu system available to me for testing unf.) If they don't then please reply and we'll go down the hacking road..... |
||
|
|
WilhelmGGW
Advanced Cruncher Joined: Nov 12, 2005 Post Count: 52 Status: Offline Project Badges:
|
Thanks, NLY. I figured it out from the mentioned post and others in the Ubuntu forum.
BTW, Ubuntu has an excellent support forum! Excellent stickies and very active participation of the community gurus, who are quick and thorough in helping with questions and problems. Even by Private Messages and Instant Messages! It has really made much easier my move to that OS. It strikes me that Ubuntu and WCG have MUCH in common. They are both a community of volunteers working together on issues of importance to all of us. Maybe more from here will check out these neighbors of ours. As for my issue with raising the performance on both units of my dual core, I've not yet tried messing with the machine BIOS. Let me write what I have come up with that works well for me. This fix is not resident over reboot; when you reboot the system, you have to step through it again each time. But it's simple -- and it works great! My processor is crunching away like crazy! The first time you try this, you will probably be prompted to install more software. Just follow the prompts carefully, and it will walk you through the process splendidly. You have to know the maximum speed of each processor core on your computer. For me, that 2.0 GHz. You'll see that information in the steps below. If you don't now how fast each core is designed to run, or how fast it's set to run by the Operating System, you'll find tools for that posted in the Ubuntu forum. What to do.. Enter Terminal mode (Applications - Terminal). At the prompt, key "su -" and Enter to get to a prompt for the root directory. Key "cpufreq-set -c 0 -f 2000000" and Enter. Key "cpufreq-set -c 1 -f 2000000" and Enter. Exit Terminal mode by closing the window. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I've not yet tried messing with the machine BIOS. Let me write what I have come up with that works well for me. This fix is not resident over reboot; when you reboot the system, you have to step through it again each time. Hi WilhelmGGW - good to hear that you're making progress. I took at look at the Ubuntu support docs and yep indeed - they're admirably clear and easy to use. Two in particular caught my eye: https://help.ubuntu.com/community/UbuntuBootupHowto (take a look at the section named 'Installing custom init-scripts') https://help.ubuntu.com/community/InitScriptList gives a nice overview of what the various init scripts do and some handy info about runlevels) If you don't have any success with setting the BIOS options for CPU speed, here's an example shell script below which you can install as an 'init script' so the change will be persistent across reboots. Use any editor (graphical or text based) to create a script like that shown below - of course the 'delimiter' comments below are not part of the script - they're just marking the start and end points....the line with #!/bin/bash is really the first line of the script <not part of the script - just a delimiter> #!/bin/bash /usr/bin/cpufreq-set -c 0 -f 2000000 /usr/bin/cpufreq-set -c 1 -f 2000000 <not part of the script - just a delimiter> You can call the script any name you like - just so long as it doesn't clash with an existing startup script in the directory /etc/init.d. Imagine that you've called it 'maxcpu' and saved it in /var/tmp, lets test that it works ok 1 Make the script executable with the command 'sudo chmod +x /var/tmp/maxcpu' 2 Test it by running the script with the command '/var/tmp/maxcpu' You shouldn't see any errors and the CPU speed should be set to max Now install the script as an 'init' script Open a terminal window and enter the following commands (as described in the 1st link above) Note the dot at the end of the last command sudo cp /var/tmp/maxcpu /etc/init.d sudo chmod +x /etc/init.d/maxcpu sudo update-rc.d maxcpu start 51 S . In theory - that's it :) Cheers, Sean |
||
|
|
|