[LRUG] cpu load with autotest

Ed Davey ed at veryreal.co.uk
Tue Dec 11 09:49:58 PST 2007


this has cut the dormant cpu peak usage in half to around 15% which  
seems fine.

thanks!

ED

On 10 Dec 2007, at 18:10, Robert McKinnon wrote:

> You can reduce the frequency at which autotest checks for changes on
> your file system by editing the @sleep attribute on the Autotest  
> class.
> For ZenTest 3.6.1 I was able to open up autotest.rb in an editor:
>
>   sudo vi +145
> /usr/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/lib/autotest.rb
>
> and increase the sleep time between checks from 1 second to 5 seconds,
> by changing the @sleep value:
>
>   @sleep = 5
>
> Now autotest is much better behaved, and carbon friendlier too!
>
> -Rob
>
> --- Ed Davey <ed at veryreal.co.uk> wrote:
>
>> Hi there,
>>
>> I've finally started using autotest which I find to be a great way of
>>
>> working.
>>
>> I notice that it consumes between 15 and 30% of my CPU at any given
>> time which is slowing my machine down significantly as I usually have
>>
>> other demanding apps such as Photoshop and VMWare Fusion running
>> also.
>>
>> Is this normal / workable for others?
>>
>> Thanks
>>
>> ED
>>
>>
>> _______________________________________________
>> Chat mailing list
>> Chat at lists.lrug.org
>> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>
>
>
>
>        
> ______________________________________________________________________ 
> ______________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.  http:// 
> mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org




More information about the Chat mailing list