mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Gerdau <mgd@technosis.de>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.22.2-cfs-v19.1 stops honouring nice 3 after some hours
Date: Mon, 20 Aug 2007 09:54:22 +0200	[thread overview]
Message-ID: <200708200954.34812.mgd@technosis.de> (raw)
In-Reply-To: <1187286737.6114.100.camel@twins>


[-- Attachment #1.1: Type: text/plain, Size: 1453 bytes --]

> > I played a bit with renicing my (mostly) CPU bound jobs and found
> > somewhat strange behaviour.
> > 
> > I'm on 2.6.22.2-cfs-v19.1 -- I can't boot into 2.6.23-rc3 as part of
> > my daily work because my NVIDIA driver doesn't yet work with it though
> > I could try to do some X-less testing if need be.
> 
> Please do try, a lot has changed since v19.1.

Meanwhile I've done some testing on 2.6.23-rc3.

The good news is that the strange behaviour w/r to nice I had seen on
2.6.22.3-cfs-v19.1 is no longer there.

Long running CPU bound jobs at different nice levels do indeed progress
(roughly) according to the %CPU figures as reported by top now.

However what I find somewhat unexpected is the IMO huge variation
in %CPU as observed even with 'top -d 60'. I've attached a log showing
5 CPU bound tasks observed for an our with 'top -b -d 60 -n 60'.

Jobs 5897, 5928 and 5977 do perform essentially the same tasks.
Jobs 17085 and 21492 do perform essentially the same task but differ
from the other 3 task.

I would have expected Jobs 5897 and 5928 to differ by at most one
percent point when measured for 60 seconds.

Best,
Michael
-- 
 Technosis GmbH, Geschäftsführer: Heiko Gerdau, Tobias Dittmar
 Sitz Hamburg; HRB 89145 Amtsgericht Hamburg
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: mgd@technosis.de
 GPG-keys available on request or at public keyserver

[-- Attachment #1.2: top2.log.bz2 --]
[-- Type: application/x-bzip2, Size: 4011 bytes --]

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2007-08-20  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 16:23 Michael Gerdau
2007-08-16 17:52 ` Peter Zijlstra
2007-08-16 18:36   ` Michael Gerdau
2007-08-20  7:54   ` Michael Gerdau [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=200708200954.34812.mgd@technosis.de \
    --to=mgd@technosis.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.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

Powered by JetHome