[mythtv-users] Folding at home, having it start/stop between recordings/jobs??
Yan Seiner
yan at seiner.com
Tue Apr 21 20:15:08 UTC 2009
On Tue, April 21, 2009 1:11 pm, Bobby Gill wrote:
> I have set up folding at home to run on my backend, however I'm wondering how
> I
> can have it so that f at h runs whenever the mythbackend is NOT recording?
> Since the f at h takes up 100% CPU (I have a P4 3.4ghz EE) I'd love to
> configure it so they run alternately. I know I can pop the
> rc.d/foldingathome stop/start in my crontab for whenever, but I'd like to
> take it that step further as indicated. Really appreciate any help, thanks
> a
> bunch.
man nice
man renice
Basically set the priority to the lowest:
IIRC something like
renice 20 f at h
should do the trick. I do the same thing; I have a huge ffmpeg job that
runs for about 10 minutes, hammering the drives and the CPU. It caused
all sorts of problems with myth until I re-niced it to the lowest level
possible.
--Yan
--
Yan Seiner, PE
Support my bid for the 4J School Board
http://www.seiner.com
More information about the mythtv-users
mailing list