Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 15
Posts: 15   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1563 times and has 14 replies Next Thread
OldSchoolSoldier
Cruncher
Joined: Sep 7, 2007
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
BOINC on Debian - Possible to set maximum CPU time?

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.
[Jun 21, 2008 10:31:48 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

[Jun 21, 2008 10:48:59 AM]   Link   Report threatening or abusive post: please login first  Go to top 
BranEN88
Cruncher
Joined: May 31, 2008
Post Count: 1
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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)
[Jun 23, 2008 5:48:39 PM]   Link   Report threatening or abusive post: please login first  Go to top 
WilhelmGGW
Advanced Cruncher
Joined: Nov 12, 2005
Post Count: 52
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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.
[Jul 2, 2008 3:02:38 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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... wink
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.
[Jul 2, 2008 4:22:17 AM]   Link   Report threatening or abusive post: please login first  Go to top 
WilhelmGGW
Advanced Cruncher
Joined: Nov 12, 2005
Post Count: 52
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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]
[Jul 2, 2008 10:52:43 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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
[Jul 2, 2008 6:51:35 PM]   Link   Report threatening or abusive post: please login first  Go to top 
WilhelmGGW
Advanced Cruncher
Joined: Nov 12, 2005
Post Count: 52
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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.
[Jul 3, 2008 12:59:00 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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 smile
A question - you're running Ubuntu via the GUI correct ?
[Jul 3, 2008 4:46:31 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC on Debian - Possible to set maximum CPU time?

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 Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Jul 3, 2008 8:42:23 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 15   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread