Re: "I plan to work on..." for FC5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 06, 2005 at 12:57:58AM +0200, Miloslav Trmac wrote:
> The idea is that all e-mails in this thread should start with "I plan to
> work on ...".
I plan to work on fixing the "resource-hungry cron jobs run when
laptop is on battery" problem.  My current plan is to do two things:

- First, separate the system cron jobs to "should run on schedule"
  (e. g. logwatch) and "can be delayed" (e.g. prelink), probably by
  creating /etc/cron.delayed.{daily,weekly,monthly}.

  This is policy, independent of the cron mechansim; replace cron
  by something newer and greater for all I care.

  Then glue this into the current cron/anacron combination so that
  the cron.delayed jobs are not run on battery, and scheduled to run
  when the laptop is plugged in.

- Second, replace slocate by something smarter.

  E.g. it should be possible to just record (ctime, mtime) of all scanned
  directories and use the preexisting database to avoid reading
  unchanged directories each time: on my system this would reduce
  the amount of data updatedb has to read from the filesystem from 70 MB
  to 3.6 MB.

  Bill Nottingham has proposed a daemon using the audit subystem
  to watch for filesystem chages.

	Mirek


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux