From: Jan Kandziora <jjj@gmx.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Limiting load of certain processes
Date: Thu, 21 Jun 2007 21:00:28 +0200 [thread overview]
Message-ID: <200706212100.28381.jjj@gmx.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0706212020520.26568@fbirervta.pbzchgretzou.qr>
Am Donnerstag, 21. Juni 2007 20:26 schrieb Jan Engelhardt:
>
> Of course there may be hacks that try to figure out if a DOS window is
> idle, waiting for user input. (Seems like a new invention in Windows 2000
> and up). Since dosemu and all the emulators are not running a genuine
> Microsoft DOS / have source, it should be easy game for them to wait
> non-busily.
>
Well, the "tamedos" shareware does it that way. It works fairly well, but not
too well. DOSEMU doesn't address this problem besides from the suspending
whenever the dosemu window is iconified.
My idea was *not* to schedule a process for running, even if it is the only
runnable one, if it is marked as a "presumably bad mannered" process and
consumed its previous timeslice to the whole. Instead an idle slice is done.
After a configureable amount of time, the bad mannered process is allowed to
run again.
I know it's a crude idea for everyday Linux processes, but for dosemu driven
applications, which behave badly in a multitasking OS *and* for which source
code isn't available, it may be worth to discuss.
Kind regards
Jan
next prev parent reply other threads:[~2007-06-21 19:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 17:50 Limiting load of certain processes Jan Kandziora
2007-06-21 18:26 ` Jan Engelhardt
2007-06-21 19:00 ` Jan Kandziora [this message]
2007-06-21 19:11 ` Jan Engelhardt
2007-06-26 1:44 ` Maxim Levitsky
2007-06-26 9:48 ` Jan Kandziora
2007-06-27 13:06 ` Maxim Levitsky
2007-06-27 19:09 ` Jan Kandziora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706212100.28381.jjj@gmx.de \
--to=jjj@gmx.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox