| 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 |
|
|
OldSchoolSoldier
Cruncher Joined: Sep 7, 2007 Post Count: 4 Status: Offline |
Hi,
I run BOINC on Debian without GUI. On Windows, it is possible to set "Use at most X% CPU time". Is it possible to do the same on Linux? I had a look in the config but couldn't see anything. Thanks. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Set your preferences online, here: http://www.worldcommunitygrid.org/ms/device/v...iguration.do?name=Default
|
||
|
|
BranEN88
Cruncher Joined: May 31, 2008 Post Count: 1 Status: Offline Project Badges:
|
You may have a CPU that has CPU SCALING enabled and your maximum CPU is not being used in Linux.
You can confirm this by running: cat /proc/cpuinfo The "cpu MHz" should match the reported CPU speed in the model name if you are running maximum performance. If not, type in this command to see what the available frequencies are usable: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies Pick the highest value, and type in this command: cpufreq-selector -f ##### (where ##### is the highest value) |
||
|
|
WilhelmGGW
Advanced Cruncher Joined: Nov 12, 2005 Post Count: 52 Status: Offline Project Badges:
|
Great help, Bran. One more questions for the new guy to Linux:
When I type your last command to change the scaling, I get the message "must be root" (or something like that). Can you tell me how to 'get root'.. how to get to wherever I need to be to change this function in the command line? Thanks in advance. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Can you tell me how to 'get root'.. how to get to wherever I need to be to change this function in the command line? Hi WilhelmGGW - at a shell prompt type 'su -' and hit return (don't include the quote marks in the command) The system will respond by displaying 'Password:' (or something similar) on screen. At this point enter the root password for the system and you're ready to go. Enjoy the godlike power of being the root user... ![]() At the risk of slipping into a lecture - tread carefully with the root account - those godlike powers you've just inherited are destructive as well as creative. If you don't have the root password, ask the admin who controls / configures your system for it. |
||
|
|
WilhelmGGW
Advanced Cruncher Joined: Nov 12, 2005 Post Count: 52 Status: Offline Project Badges:
|
I open the Terminal in Ubuntu and get to the root directory. There I type the command for changing the frequency, and hit Enter. Instantly my frequency jumps to capacity and stays there. I close the Terminal window and all is fine -- until I reboot my computer! Then the system reverts to the old frequency!
----------------------------------------I must still have something wrong. Evidently I need to save my new root setting somehow more permanently for it to stay with me on reboot. Can someone help me once more? Thanks so much. [Edit 1 times, last edit by WilhelmGGW at Jul 2, 2008 12:21:14 PM] |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I must still have something wrong. Evidently I need to save my new root setting somehow more permanently for it to stay with me on reboot. Can someone help me once more? Thanks so much. Hi WilhelmGGW - actually you probably haven't done anything wrong as such. I guess that the crufreq-selector tool modifies the CPU speed by means of the /proc filesystem. Making a change to the operating characteristics of a Linux system via the proc file system is *not* persistent across reboots. What you need to do is to create a small shell script that calls cpufreq-selector with the correct speed and run this automatically at startup. More info is available here: http://strabes.wordpress.com/2006/10/16/how-t...-script-in-ubuntu-dapper/ And here http://ubuntu.wordpress.com/2005/11/04/enabling-cpu-frequency-scaling/ Cheers, Sean |
||
|
|
WilhelmGGW
Advanced Cruncher Joined: Nov 12, 2005 Post Count: 52 Status: Offline Project Badges:
|
I'm sorry, NLY. You lost me in the generalities here and in your links. Can you (or someone else) try again?
What would really help is a clearer step-by-step about how I should create the file(s) and exactly what the content to get this re-boot reset process automated. Thanks so much. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I'm sorry, NLY. You lost me in the generalities here and in your links. Can you (or someone else) try again? What would really help is a clearer step-by-step about how I should create the file(s) and exactly what the content to get this re-boot reset process automated. Thanks so much. Hi WilhelmGGW - I'll try and cook up something for you - unless somebody else beats me to it A question - you're running Ubuntu via the GUI correct ? |
||
|
|
Sekerob
Ace Cruncher Joined: Jul 24, 2005 Post Count: 20043 Status: Offline |
Hi All and excuse the interruption. 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)? That would make it persistent across boots or?
----------------------------------------
WCG
Please help to make the Forums an enjoyable experience for All! |
||
|
|
|