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

Re: Niced cron jobs



On Thu, Jun 24, 1999 at 12:23:05PM +1000, Craig Sanders wrote:
> On Wed, Jun 23, 1999 at 09:17:09PM -0500, Steve Greenland wrote:
> > It was logged as a wishlist bug. I've put it into the default
> > /etc/crontab for the next release.
> 
> please don't upload that. it would be a complete disaster for anyone
> using debian on a heavily loaded server.

I find this objection weak.  Anyone running a performance-sensitive machine
will monitor and customize cron tasks to suit his requirements.  In
addition, for every machine on which nice'd cron jobs cause overlaps, I bet
I can find one on which non-nice'd cron jobs cause unacceptable perforance
hits, and another on which cron jobs at the default priority cause overlaps.

Unless you're willing to put a lot more work into a solution (ie, monitoring
system load and cron jobs, and adaptively scheduling jobs), heavily loaded
machines and cron jobs are a wash and we shouldn't give them much
consideration when choosing defaults.

Of course, the change should be documented, perhaps in the release notes if
we feel that enough systems will be affected.

Andrew


Reply to: