public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Benoît Dejean" <TazForEver@free.fr>
To: Timothy Miller <miller@techsource.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Nice 19 process still gets some CPU
Date: Tue, 29 Jun 2004 08:26:03 +0200	[thread overview]
Message-ID: <1088490363.4613.13.camel@athlon> (raw)
In-Reply-To: <40E035CE.1020401@techsource.com>

[-- Attachment #1: Type: text/plain, Size: 933 bytes --]

Le lun, 28/06/2004 à 11:14 -0400, Timothy Miller a écrit :

> I would expect that nice 0 processes should get SO MUCH more than nice 
> 19 processes that the nice 19 process would practically starve (and in 
> the case of a nice 19 process, I think starvation by nice 0 processes is 
> just fine), but it looks like it's not starving.

	when i was running seti@home (more than 10k WU, 7y), i was using a a
home-maid script that controled the seti process. when load > <value> i
was stopping seti (SIGSTOP) then, when load <value>, i was restarting it
(SIGCONT). i was using a kind of fuzzy logic to prevent from too
frequent switchs and i was polling the 3 loads to make a efficient
decision. that way, i was able to get 100% of my cpu when it was
needed : while playing quake or comipiling a big stuff.

-- 
Benoît Dejean
JID: TazForEver@jabber.org
http://gdesklets.gnomedesktop.org
http://www.paulla.asso.fr

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2004-06-29  6:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-28 15:14 Nice 19 process still gets some CPU Timothy Miller
2004-06-28 15:04 ` Con Kolivas
2004-06-28 15:41   ` Timothy Miller
2004-06-28 15:24     ` Con Kolivas
2004-06-28 15:42       ` Richard B. Johnson
2004-06-28 15:47         ` Con Kolivas
2004-06-28 15:48       ` Kalin KOZHUHAROV
2004-06-28 15:51         ` Con Kolivas
2004-06-28 16:17     ` Chris Friesen
2004-06-28 16:23       ` Michael Buesch
2004-06-28 16:36         ` Chris Friesen
2004-06-28 21:15         ` Con Kolivas
2004-06-29 16:56   ` Kurt Garloff
2004-06-28 23:38 ` Peter Williams
2004-06-29  6:26 ` Benoît Dejean [this message]

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=1088490363.4613.13.camel@athlon \
    --to=tazforever@free.fr \
    --cc=TazForEver@dlfp.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miller@techsource.com \
    /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