Messages in this thread | | | Subject | Re: Scheduling Times --- Revisited | Date | Wed, 30 Sep 1998 12:46:23 +0800 | From | David Luyer <> |
| |
> I've seen in with people playing Win95 games -- they're playing and all > of a sudden everything goes choppy while the daily virus check kicks > in... No-one tries to fix such problems. It's just taken as something > you have to live with from time to time. > > -- Jamie
Actually this problem is fixed in Windows 98. I had to tune it a bit so that maintenance jobs wouldn't kick in during a CD write, so I put heavy jobs on a 240 minute console idle required instead of the default 10 minutes (after throwing a couple of CDs in the bin from buffer overruns). The Scheduled Tasks thing has a properties sheet including rules like "require console idle [XXX] minutes". Maybe cron could use some of these rules and properties, some of them don't translate into anything sensible for Linux though.
However this is somewhere "cron" might need to be improved, not the kernel. ie: don't run jobs marked as intensive while burning a CD -- I'm not sure how to sense burning a CD and playing games and so on, load average gives you some information, idle time might be measurable in some way, ...
Maybe a cron daemon with a syntax which lets you specify that when the load avg is over X (say, 0.95) re-check the load average every Y minutes up to a maximum of Z minutes (at which time the job is either run or thrown away).
Of course making CD burning and console games run with a priority and performance unaffected by other jobs which might come up while they are running is a much more ideal situation.
David.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |