On Wed, Sep 2, 2009 at 11:58 AM, James Ward<[email protected]> wrote:
> I tried renicing everything:
>
> jew...@kw157:/usr/share/backuppc/bin$ head -2 BackupPC_nightly
> #!/usr/bin/perl
> setpriority(0, $$, -20);
>
> jew...@kw157:/usr/share/backuppc/bin$ head -2 BackupPC_dump
> #!/usr/bin/perl
> setpriority(0, $$, 20);
>

I believe that BackupPC_nightly is running as "backuppc" user and as
such can only reduce it priority (ie +20), not lower (ie -20).  Also,
you should check that the sub-processes to see if they properly
inherited this change.  My guess is it will still not have much affect
as your most likely IO bound and priority affects scheduling on the
processor, but doesn't prioritize IO.
-- 
Jonathan Craig

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to