Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd October 2008, 10:19 PM
quantumburnz Offline
Registered User
 
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36
Talking 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.
Reply With Quote
  #2  
Old 2nd October 2008, 10:33 PM
Hlingler's Avatar
Hlingler Offline
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
Reply With Quote
  #3  
Old 2nd October 2008, 11:20 PM
quantumburnz Offline
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?
Reply With Quote
  #4  
Old 2nd October 2008, 11:32 PM
Hlingler's Avatar
Hlingler Offline
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.
Reply With Quote
  #5  
Old 2nd October 2008, 11:42 PM
quantumburnz Offline
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.
Reply With Quote
  #6  
Old 3rd October 2008, 12:09 AM
sidebrnz's Avatar
sidebrnz Online
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.
Reply With Quote
  #7  
Old 3rd October 2008, 12:29 AM
quantumburnz Offline
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!
Reply With Quote
  #8  
Old 3rd October 2008, 12:54 AM
sidebrnz's Avatar
sidebrnz Online
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.
Reply With Quote
  #9  
Old 3rd October 2008, 01:18 AM
Hlingler's Avatar
Hlingler Offline
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
Reply With Quote
  #10  
Old 3rd October 2008, 01:30 AM
quantumburnz Offline
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!
Reply With Quote
  #11  
Old 29th November 2008, 09:47 PM
mpolo Offline
Registered User
 
Join Date: Jun 2005
Posts: 184
Quote:
Originally Posted by quantumburnz View Post
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)...
Reply With Quote
  #12  
Old 30th November 2008, 10:50 AM
nico80 Offline
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
Reply With Quote
  #13  
Old 1st December 2008, 01:54 AM
quantumburnz Offline
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...
Reply With Quote
Reply

Tags
cpu, folding@home, usage

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Folding@Home jtang613 Guides & Solutions (No Questions) 637 18th November 2009 01:36 PM
How many clients in Folding@Home? marcos Using Fedora 3 1st September 2005 01:11 AM
Fine until Folding at Home density Using Fedora 6 11th March 2005 09:20 PM
Folding@home help radu5er Using Fedora 8 8th December 2004 10:37 PM
folding@home marks_linux Wibble 24 15th October 2004 06:31 AM


Current GMT-time: 03:09 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat