lkml.org 
[lkml]   [2006]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [OT] inotify hack for locate
Date
Benjamin LaHaise <bcrl@kvack.org> writes:

> On Sun, Mar 05, 2006 at 04:43:03PM -0500, Lee Revell wrote:
>> updatedb runs at nice 20 on most distros, and with the CFQ scheduler the
>> IO priority follows the nice value, so why does it still kill the
>> machine?
>
> Running updatedb on a laptop when you're sitting in an airplane running
> off of batteries is Not Nice to the user. I know, I've had it happen far
> too many times.

Running updatedb only if AC powered shouldn't be too difficult.

--
Måns Rullgård
mru@inprovide.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-06 13:10    [from the cache]
©2003-2011 Jasper Spaans