public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kandziora <jjj@gmx.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Limiting load of certain processes
Date: Thu, 21 Jun 2007 19:50:40 +0200	[thread overview]
Message-ID: <200706211950.40825.jjj@gmx.de> (raw)

Dear all,

I like to use an old DOS/Clipper application through DOSEMU on a Linux
application server in a hotel. It works, but (as usual with DOS), it causes
a processor load of 100% in certain situations, while just waiting for user
interaction.

That's kind of stupid, as power saving is heavily disturbed by such a
program and other applications loose some responsiveness. I asked the DOSEMU 
crowd how to address this problem and got the following answers:

* "nice" the process to address the latter problem (ok, that's obvious), but
  the load of "1" is still there.
* Configure dosemu that way the program is suspended if the dosemu window is
  iconified, but users are lazy.
* And I learned there's a "tamedos" DOS application which works a little
  (tears down CPU usage to 50%), but that's not enough in my view.

All that is not really great, I think. My question now is: Is there already
a way to advise the linux scheduler to limit CPU usage of certain
processes? Or do I have to develop such a thing myself?

Any better ideas?

Kind regards

        Jan

             reply	other threads:[~2007-06-21 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 17:50 Jan Kandziora [this message]
2007-06-21 18:26 ` Limiting load of certain processes Jan Engelhardt
2007-06-21 19:00   ` Jan Kandziora
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=200706211950.40825.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