 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

2nd October 2008, 10:19 PM
|
|
Registered User
|
|
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36

|
|
Folding@home -- too much CPU Usage??
I just started Folding again yesterday using the FedoraForum team code. I have F@H set up and working fine as a service. I see most people's concerns are how to get F@H to use all of their CPU power. Well, my F@H seems to be using too much of my CPU! =) My niceness values for the threads are set to 19, but when I'm playing music from Rhythmbox there's a lot of breaks in the music. I can notice sluggishness in other programs at times as well. I have a P4 with HT so my system monitor shows 2 CPUs and the breaks in music are accompanied by CPUs maxing out at 100%. When I'm not running F@H, everything is fine so I'm sure that's where my problem lies.
While I'm happy F@H is taking advantage of my CPU, I would still like it to throttle back when other programs need CPU time. Anyone else experience any problems like this? I honestly have no clue what to do. I even tried turning the niceness value of Rhythmbox up to -5.
|

2nd October 2008, 10:33 PM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
I don't think that renicing a service daemon will have much effect on CPU consumption unless you also run a cpuspeed daemon that disallows low-priority processes from increasing CPU speed. Thats' how I keep CRON jobs from hogging CPU power: renice CROND to +19 and set /etc/sysconfig/cpuspeed to IGNORE_NICE=1.
HTH,
V
|

2nd October 2008, 11:20 PM
|
|
Registered User
|
|
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36

|
|
|
Thanks for your response Hlingler. I changed IGNORE_NICE to = 1 like you said. I believe I have cpuspeed running as a daemon. When I do service --status-all it tells me cpuspeed is stopped. The problem seems better, it's not cutting out as much, but it's still doing it every once in a while. Any other suggestions?
|

2nd October 2008, 11:32 PM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
Well, I would suggest to turn the cpuspeed daemon on and set to start on boot:
Code:
~]$ sudo /sbin/service cpuspeed start
Password:
~]$ sudo /sbin/chkconfig --level 2345 cpuspeed on
To check:
Code:
~]$ sudo /sbin/service cpuspeed status
Password:
Frequency scaling enabled using ondemand governor
~]$
V
Last edited by Hlingler; 2nd October 2008 at 11:35 PM.
|

2nd October 2008, 11:42 PM
|
|
Registered User
|
|
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36

|
|
|
Hmm, I tried service cpuspeed start, then did chkconfig --level 2345 cpuspeed on and rebooted. However, when I do service cpuspeed status it still says cpuspeed is stopped... After rebooting, I tried service cpuspeed start again but it still shows it's stopped.
|

3rd October 2008, 12:09 AM
|
 |
Registered User
|
|
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,108

|
|
|
Open up boincmgr, go to Preferences (If you're in the Simple View, it's right at the bottom.) and you'll see where yu can set the maximum amount of CPU it can use. Set it, click OK and Bob's your uncle.
__________________
Registered Linux user #470359 and permanently recovered BOFH.
Any advice in this post is worth exactly what you paid for it.
|

3rd October 2008, 12:29 AM
|
|
Registered User
|
|
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36

|
|
|
I think you may be talking about a different program, BOINC. I'm using Folding@home. I don't have a command called boincmgr that I can find. Please correct me if I'm wrong though!
|

3rd October 2008, 12:54 AM
|
 |
Registered User
|
|
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,108

|
|
I got involved with the folding project several years ago, through the World Community Grid: http://www.worldcommunitygrid.org/ and am currently working both on their projects and Einstein@home. I use the latest client from the grid, BOINC, and the GUI for it is boincmgr. If you're using some other client, I can't help you. I can, however, suggest that you talk to the people who provided the client you're using as they'll be the ones most likely to be able to help you.
__________________
Registered Linux user #470359 and permanently recovered BOFH.
Any advice in this post is worth exactly what you paid for it.
|

3rd October 2008, 01:18 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
Well, I assumed for some reason that you had a CPU(s) with speed-stepping, but if not, then cpuspeed is useless.  Maybe that's why it's not starting? The only other choice that I know of is to set audio to "real-time" priority/scheduling.
V
|

3rd October 2008, 01:30 AM
|
|
Registered User
|
|
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36

|
|
|
sidebrnz -- I checked out the F@H forum and found a program called fahlimit, but it doesn't exactly do what I was looking for. I'll probably post up there and see what they say. Thanks for your help.
Hlingler -- After Googling speed-stepping, I would agree I probably don't have it. =) The P4 is in my desktop so you're probably right as to why it's not starting. I hate to set the audio to "real-time" but I may give it a shot. Thanks!
|

29th November 2008, 09:47 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 184

|
|
Quote:
Originally Posted by quantumburnz
While I'm happy F@H is taking advantage of my CPU, I would still like it to throttle back when other programs need CPU time. Anyone else experience any problems like this? I honestly have no clue what to do. I even tried turning the niceness value of Rhythmbox up to -5.
|
Yes! I just disabled the service, because it was constantly getting up to 98% CPU time, and wouldn't let go of it -- to the point that I couldn't get the computer to wake up from the screen saver in a reasonable amount of time (it was over a minute and top revealed FahCore as the only thing eating up CPU time)...
|

30th November 2008, 10:50 AM
|
|
Registered User
|
|
Join Date: Dec 2007
Location: Montpellier
Posts: 103

|
|
Just an advice: if you want to give a try to BOINC, don't use the version in the Fedora 10 repos. Download the latest release from their website and it works like a charm.
See also: http://www.worldcommunitygrid.org/fo...d?thread=22479
|

1st December 2008, 01:54 AM
|
|
Registered User
|
|
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36

|
|
|
mpolo -- I'm using F10 now and haven't noticed this problem in quite some time...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 03:09 (Sunday, 26-05-2013)
|
|
 |
 |
 |
 |
|
|