Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758140AbXHTIXz (ORCPT ); Mon, 20 Aug 2007 04:23:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752750AbXHTIXs (ORCPT ); Mon, 20 Aug 2007 04:23:48 -0400 Received: from server021.webpack.hosteurope.de ([80.237.130.29]:33621 "EHLO server021.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752362AbXHTIXr (ORCPT ); Mon, 20 Aug 2007 04:23:47 -0400 From: Michael Gerdau Organization: Technosis GmbH To: Peter Zijlstra 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 User-Agent: KMail/1.9.7 Cc: Ingo Molnar , linux-kernel@vger.kernel.org References: <200708151823.17623.mgd@technosis.de> <1187286737.6114.100.camel@twins> In-Reply-To: <1187286737.6114.100.camel@twins> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1473212.Le1cVN0j5h"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200708200954.34812.mgd@technosis.de> X-bounce-key: webpack.hosteurope.de;mgd@technosis.de;1187598227;f019111c; Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7998 Lines: 148 --nextPart1473212.Le1cVN0j5h Content-Type: multipart/mixed; boundary="Boundary-01=_uiUyGpfTEiehh6u" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_uiUyGpfTEiehh6u Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > I played a bit with renicing my (mostly) CPU bound jobs and found > > somewhat strange behaviour. > >=20 > > 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. >=20 > 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 =2D-=20 Technosis GmbH, Gesch=C3=A4ftsf=C3=BChrer: 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 --Boundary-01=_uiUyGpfTEiehh6u Content-Type: application/x-bzip2; name="top2.log.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="top2.log.bz2" QlpoOTFBWSZTWbOjao0AWf3fwFgQQm9/8C5j3wA/79+wACRgGB4HyvmSZDwLblxscIDrAOtABQAy oDEMjQqirbbDRS22sED13gAgJ5rAHAD/9VUAAAAAAAAANNNNBRVNQ0GgaDIANABoNBzAAAAAAAAA AAzQqJpU9EMQAAA0aAAACapIk0aJP1TUflT01P1T0Gp6m9SP1Jsp4UwPSCJEBEUimgAAAAAABuI+ jKiq+ZH/KGcRGPnhZVjCxWFlmWGVYYlmYmUi/Gh+tD9aHbejud+bY1nZ6NrW1vbd+2/ftcc224Wc N7a6Nat81trbv3tsu/jzoedEh6ah4FHsoZQ7aJX3UPjRK51DopFwVV9tDVDz0MoaobVDqBEEsFRM /P0fl+UVkZAkQYRl3dxWQCRBkDImtAKwICtIK8BNqHyqG1DVQ3FyoZW2KIsQAOfnPFJAkGRZEJEJ E8zXhyqYUFwZ8zjjlDaDyZcHbHN8xYcm27LmoAOxADHXWo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VD76HtolaoaqHtIyhm9DKGqhvQ/eh40PGhlDzVD3UProcaHlQ6KJX8UONDKHwod lQ8qhzolc6HdQ9dDcjpoc6GtqHlQ1Jt+CTb8/n9C9C/DBIpcaSATY1GWoFsoK3GMUpNJYVwesVgp SwxNnFZLKaEUsKa4ghXKK3XSKzaXahZbqttKXVY20hdAKSYQEFTXXIhWRXLAksMJGDUrqTbyTbis wWzQmU2tlysCyZYFarBl01DEViohRXKvKIcWsUzqdY1BRu7bauVDuoleakWqHOh7qODKxOrK/Ktm slZHLcWXu4VL3W+KuwVH+BJIQgP0IwIEjJAIh0EMLZFZBCIGNTlbqVCi40y0KCrilDK5RWKK0LFb WKpDqY2N1uIiO6MQAgxkhIqQYREkZCKkf2AV91DsoleqodtD+tD6qH+KHzoeuiV00N6HdQ9FDlRK 66HCh40NUPVUMpSb0PTQ+dDqoaofpQ1SLnQ66HRQ1QyhlDvoddIvChqhvSLzUPVQ5UNqHGhlIumh qh8KHHahhG9KT+RdyRThQkLOjao0 --Boundary-01=_uiUyGpfTEiehh6u-- --nextPart1473212.Le1cVN0j5h Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBGyUi6UYYhyuxDQc4RAs9wAJ4hbIH9mBwXjgINvRfjgrjpeINujACfVjpi Bd2d3cfuVXna1QnLIys0yZc= =aydF -----END PGP SIGNATURE----- --nextPart1473212.Le1cVN0j5h-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/