BackupPC-users

Re: [BackupPC-users] How to nice IO ?

2010-05-19 21:25:18
Subject: Re: [BackupPC-users] How to nice IO ?
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 19 May 2010 20:23:35 -0500
Sam Przyswa wrote:
> Tyler J. Wagner a écrit :
>> On Wednesday 19 May 2010 17:52:29 Sam Przyswa wrote:
>>   
>>> When the BackupPC_nightly processes are running the SSH login take a
>>> very long time to get the prompt and then the machine is very slow to
>>> execute task, how to nice these processes ?
>>>     
>> My RsyncClientCmd looks like this:
>>
>> $sshPath -q -x -l root $host /usr/bin/nice -n 19 /usr/bin/ionice -c 3 
>> $rsyncPath $argList+
>>
>> That uses nice level 19 and ionice 3 (idle disk).
>>   
> 
> So I modifed BackupPC line 474 as:
> 
> my $cmd = ["/usr/bin/nice -n 19 /usr/bin/ionice -c 3 
> $BinDir/BackupPC_nightly"];
> 
> But nothing changed when the BackupPC_nightly processes are started all 
> my others apps are frozen !?
> 
> Does this cmd line is wrong ?
> 

Is the OS on the same drive as the backuppc archive?  The drive it is on is 
going to be pretty busy seeking regardless of any niceness you try to apply.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------

_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>