From: Con Kolivas <kernel@kolivas.org>
To: Simon Arlott <simon@fire.lp0.eu>
Cc: ck list <ck@vds.kolivas.org>, linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler
Date: Mon, 5 Mar 2007 09:27:52 +1100 [thread overview]
Message-ID: <200703050927.52563.kernel@kolivas.org> (raw)
In-Reply-To: <45EB45F7.3050208@simon.arlott.org.uk>
On Monday 05 March 2007 09:19, Simon Arlott wrote:
> On 04/03/07 21:49, Con Kolivas wrote:
> > On Monday 05 March 2007 07:35, Al Boldi wrote:
> >> Con Kolivas wrote:
> >>> This means that if you heavily load up your machine without the use of
> >>> 'nice' then your interactive tasks _will_ slow down proportionately to
> >>> the amount of cpu you use. So doing make -j4 for example will make any
> >>> other task started in taht presence run precisely 1/5th speed, but they
> >>> will still be responsive, have low latency (and audio shouldn't skip
> >>> for example).
> >>
> >> That's just what it did, but when you "nice make -j4", things (gears)
> >> start to stutter. Is that due to the staircase?
> >
> > gears isn't an interactive task. Apart from using it as a background load
> > to check for starvation because it loads up the cpu fully (which a gpu
> > intensive but otherwise simple app like this should _not_ do) graphics
> > card drivers and interrupts and so on, I wouldn't put much credence on
> > gears as anything else. However I suspect that gears will still get a
> > fair share of the cpu on RSDL which almost never happens on any other
> > scheduler.
>
> If I run glxgears, thunderbird/firefox become really slow to
> respond/display and cpu usage isn't even at 100%. I had thunderbird lagging
> on keyboard character repeat earlier but can't reproduce that now even with
> glxgears - however firefox lags really badly on keyboard input with
> glxgears running.
Hi Simon
You're hitting a nasty udev bug here that is unrelated to the cpu scheduler
and almost certainly responsible for your bad behaviour.
[ 39.314953] =================================
[ 39.315068] [ INFO: inconsistent lock state ]
[ 39.315120] 2.6.21-rc2-git #161
[ 39.315167] ---------------------------------
[ 39.315217] inconsistent {softirq-on-R} -> {in-softirq-W} usage.
[ 39.315271] udevd/1424 [HC0[0]:SC1[2]:HE1:SE0] takes:
[ 39.315323] (&ndev->lock){-+-?}, at: [<b04a57c4>]
ipv6_add_addr+0x164/0x1e0
[ 39.315525] {softirq-on-R} state was registered at:
[ 39.315576] [<b013f8d2>] __lock_acquire+0x622/0xbb0
[ 39.315731] [<b01402e2>] lock_acquire+0x62/0x80
[ 39.315883] [<b050fc55>] _read_lock+0x35/0x50
[ 39.316043] [<b050c1e0>] sctp_v6_copy_addrlist+0x30/0xc0
[ 39.316197] [<b04f9cd2>] sctp_get_local_addr_list+0x32/0x60
[ 39.316358] [<b06de1f0>] sctp_init+0x2c0/0x550
[ 39.316516] [<b06bcc55>] do_initcalls+0x35/0x120
[ 39.316687] [<b06bcd5c>] do_basic_setup+0x1c/0x30
[ 39.316840] [<b06bcdbf>] init+0x3f/0x90
[ 39.316994] [<b0104d87>] kernel_thread_helper+0x7/0x10
[ 39.317150] [<ffffffff>] 0xffffffff
[ 39.317300] irq event stamp: 1976
[ 39.317348] hardirqs last enabled at (1976): [<b014087e>]
debug_check_no_locks_freed+0xbe/0xd0
[ 39.317481] hardirqs last disabled at (1975): [<b01407ea>]
debug_check_no_locks_freed+0x2a/0xd0
[ 39.317618] softirqs last enabled at (1808): [<b0435557>]
release_sock+0x57/0xb0
[ 39.317751] softirqs last disabled at (1853): [<b0125277>]
do_softirq+0x47/0x50
[ 39.317884]
[ 39.317885] other info that might help us debug this:
[ 39.317978] 3 locks held by udevd/1424:
[ 39.318026] #0: (&mm->mmap_sem){----}, at: [<b0116ae6>]
do_page_fault+0xb6/0x5a0
[ 39.318263] #1: (&npinfo->poll_lock){-+..}, at: [<b043cf28>]
net_rx_action+0x158/0x1a0
[ 39.318500] #2: (&tp->rx_lock){-+..}, at: [<b034ef7e>]
rtl8139_poll+0x3e/0x120
[ 39.318742]
[ 39.318743] stack backtrace:
[ 39.318833] [<b0104f4a>] show_trace_log_lvl+0x1a/0x30
[ 39.318924] [<b0104f72>] show_trace+0x12/0x20
[ 39.319009] [<b0105086>] dump_stack+0x16/0x20
[ 39.319094] [<b013e4d1>] print_usage_bug+0x151/0x160
[ 39.319180] [<b013e9a3>] mark_lock+0x4c3/0x580
[ 39.319265] [<b013f8b0>] __lock_acquire+0x600/0xbb0
[ 39.319354] [<b01402e2>] lock_acquire+0x62/0x80
[ 39.319439] [<b050fff5>] _write_lock+0x35/0x50
[ 39.319526] [<b04a57c4>] ipv6_add_addr+0x164/0x1e0
[ 39.319612] [<b04a76a2>] addrconf_prefix_rcv+0x2b2/0x560
[ 39.319707] [<b04b39b1>] ndisc_router_discovery+0x431/0x600
[ 39.319798] [<b04b4552>] ndisc_rcv+0x92/0xc0
[ 39.319883] [<b04b98b0>] icmpv6_rcv+0x2b0/0x2d0
[ 39.319971] [<b04a4975>] ip6_input+0x1a5/0x3c0
[ 39.320057] [<b04a4f3a>] ip6_mc_input+0x3a/0x60
[ 39.320145] [<b04a45ab>] ipv6_rcv+0x15b/0x380
[ 39.320231] [<b043cc31>] netif_receive_skb+0x271/0x2f0
[ 39.320318] [<b034ebb2>] rtl8139_rx+0x142/0x340
[ 39.320405] [<b034ef99>] rtl8139_poll+0x59/0x120
[ 39.320494] [<b043ce59>] net_rx_action+0x89/0x1a0
[ 39.320580] [<b01251d2>] __do_softirq+0x52/0xb0
[ 39.320666] [<b0125277>] do_softirq+0x47/0x50
[ 39.320754] [<b0125335>] irq_exit+0x75/0x80
[ 39.320843] [<b0106931>] do_IRQ+0x41/0x80
[ 39.320929] [<b0104be2>] common_interrupt+0x2e/0x34
[ 39.321016] [<b0510634>] error_code+0x74/0x7c
[ 39.321103] =======================
Also this patch was actually for 2.6.20 and you seem to have applied it to
2.6.21-rc2. I haven't even checked that it cleanly applies to that kernel.
--
-ck
next prev parent reply other threads:[~2007-03-04 22:28 UTC|newest]
Thread overview: 247+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-04 20:35 Al Boldi
2007-03-04 21:49 ` Con Kolivas
[not found] ` <45EB45F7.3050208@simon.arlott.org.uk>
2007-03-04 22:27 ` Con Kolivas [this message]
2007-03-05 18:29 ` Simon Arlott
2007-03-05 21:36 ` Con Kolivas
2007-03-04 23:13 ` Willy Tarreau
2007-03-04 23:58 ` Con Kolivas
2007-03-05 0:10 ` [ck] " jos poortvliet
2007-03-05 1:09 ` Gene Heskett
[not found] ` <200703050834.45712.a1426z@gawab.com>
[not found] ` <20070305060732.GQ30401@nysv.org>
2007-03-05 11:59 ` [ck] " Al Boldi
2007-03-05 12:29 ` Con Kolivas
[not found] ` <200703052123.01095.a1426z@gawab.com>
2007-03-05 22:10 ` Con Kolivas
2007-03-06 8:42 ` Xavier Bestel
2007-03-06 15:15 ` Al Boldi
2007-03-11 18:11 ` Al Boldi
2007-03-11 21:52 ` Con Kolivas
2007-03-11 22:12 ` Con Kolivas
2007-03-12 4:42 ` Al Boldi
2007-03-12 4:53 ` Con Kolivas
2007-03-12 11:26 ` Al Boldi
2007-03-12 12:52 ` Con Kolivas
2007-03-12 14:14 ` Al Boldi
2007-03-12 14:58 ` [ck] " jos poortvliet
2007-03-12 16:37 ` michael chang
2007-03-12 17:41 ` Al Boldi
2007-03-12 18:05 ` Con Kolivas
2007-03-12 18:47 ` [ck] " jos poortvliet
2007-03-12 18:58 ` Antonio Vargas
2007-03-19 10:47 ` Helge Hafting
2007-03-18 1:30 ` Bill Davidsen
2007-03-18 10:50 ` [ck] " jos poortvliet
2007-03-13 15:31 ` [PATCH] [RSDL-0.30] sched: rsdl improve latencies with differential nice Con Kolivas
2007-03-13 16:03 ` [PATCH] [RSDL-0.30] sched: rsdl improve latencies with differential nice -1 Con Kolivas
2007-03-13 16:08 ` Con Kolivas
2007-03-13 20:58 ` Con Kolivas
2007-03-13 23:08 ` RSDL development plans Con Kolivas
2007-03-16 12:25 ` Con Kolivas
2007-03-16 13:40 ` RSDL v0.31 Con Kolivas
2007-03-16 15:34 ` Mike Galbraith
2007-03-16 21:13 ` Con Kolivas
2007-03-16 22:30 ` Mike Galbraith
2007-03-16 23:05 ` [ck] " Dirk Schoebel
2007-03-17 4:24 ` Nicholas Miell
2007-03-17 5:56 ` Mike Galbraith
2007-03-17 6:08 ` Mike Galbraith
2007-03-17 13:56 ` Ed Tomlinson
2007-03-18 19:37 ` Lee Revell
2007-03-18 19:55 ` Mike Galbraith
2007-03-18 22:45 ` Szonyi Calin
2007-03-19 2:27 ` David Schwartz
2007-03-19 6:21 ` Mike Galbraith
2007-03-19 6:59 ` Willy Tarreau
2007-03-17 6:26 ` Nicholas Miell
2007-03-17 7:11 ` Mike Galbraith
2007-03-17 7:25 ` William Lee Irwin III
2007-03-17 7:29 ` Nicholas Miell
2007-03-17 11:48 ` Gene Heskett
2007-03-17 7:45 ` Ingo Molnar
2007-03-17 7:44 ` David Lang
2007-03-17 8:46 ` Mike Galbraith
2007-03-17 14:09 ` [ck] " Mark Glines
2007-03-17 14:33 ` Mike Galbraith
2007-03-17 14:54 ` Mark Glines
2007-03-17 14:58 ` Mike Galbraith
2007-03-17 8:23 ` Nicholas Miell
2007-03-17 9:42 ` [patch] CFS scheduler: Completely Fair Scheduler / CONFIG_SCHED_FAIR Ingo Molnar
2007-03-17 8:41 ` RSDL v0.31 Serge Belyshev
2007-03-17 9:48 ` Con Kolivas
2007-03-17 9:58 ` Mike Galbraith
2007-03-17 10:49 ` Mike Galbraith
2007-03-17 12:05 ` Gene Heskett
2007-03-17 13:36 ` Mike Galbraith
2007-03-17 17:03 ` Gene Heskett
2007-03-17 17:37 ` Mike Galbraith
2007-03-17 18:23 ` [ck] " Kacper Wysocki
2007-03-17 18:45 ` Mike Galbraith
2007-03-17 13:58 ` michael chang
2007-03-17 20:55 ` Al Boldi
2007-03-18 6:17 ` Mike Galbraith
2007-03-18 6:47 ` Kasper Sandberg
2007-03-18 7:08 ` Mike Galbraith
2007-03-18 7:22 ` [ck] " Radoslaw Szkodzinski
2007-03-18 7:38 ` Mike Galbraith
2007-03-18 8:04 ` Mike Galbraith
2007-03-18 8:20 ` jimmy bahuleyan
2007-03-18 8:34 ` Mike Galbraith
2007-03-18 9:57 ` Kasper Sandberg
2007-03-18 13:57 ` Avuton Olrich
2007-03-19 20:47 ` Bill Davidsen
2007-03-20 10:19 ` jos poortvliet
2007-03-21 8:58 ` Kasper Sandberg
2007-03-18 15:44 ` Radoslaw Szkodzinski
2007-03-18 16:09 ` jos poortvliet
2007-03-19 16:07 ` Mark Lord
2007-03-19 16:26 ` Xavier Bestel
2007-03-19 16:36 ` Mark Lord
2007-03-19 16:43 ` Xavier Bestel
2007-03-20 3:11 ` Linus Torvalds
2007-03-20 6:11 ` Willy Tarreau
2007-03-20 8:03 ` Mike Galbraith
2007-03-21 14:57 ` Mike Galbraith
2007-03-21 16:02 ` Peter Zijlstra
2007-03-21 17:06 ` Mike Galbraith
2007-03-22 7:07 ` Mike Galbraith
2007-03-22 9:18 ` Ingo Molnar
2007-03-22 9:34 ` Mike Galbraith
2007-03-22 9:41 ` Mike Galbraith
2007-03-22 22:03 ` Con Kolivas
2007-03-22 22:50 ` Con Kolivas
2007-03-23 4:39 ` Mike Galbraith
2007-03-23 5:59 ` Con Kolivas
2007-03-23 6:11 ` Mike Galbraith
2007-03-23 12:17 ` Mike Galbraith
[not found] ` <20070321161147.54c7a727@localhost>
2007-03-21 17:07 ` Mike Galbraith
2007-03-22 4:49 ` Willy Tarreau
2007-03-22 7:14 ` Mike Galbraith
2007-03-20 9:03 ` Xavier Bestel
2007-03-20 12:31 ` Artur Skawina
2007-03-20 19:16 ` Artur Skawina
2007-03-21 7:50 ` Ingo Molnar
2007-03-21 10:43 ` David Schwartz
2007-03-28 23:37 ` Bill Davidsen
2007-03-29 7:10 ` David Schwartz
2007-03-29 7:34 ` Nick Piggin
2007-03-20 15:31 ` Linus Torvalds
2007-03-20 18:08 ` Al Boldi
2007-03-21 8:22 ` Keith Duthie
2007-03-28 23:43 ` Bill Davidsen
2007-03-20 10:26 ` [ck] " jos poortvliet
2007-03-20 13:22 ` Mark Lord
2007-03-20 15:16 ` Ray Lee
2007-03-20 15:20 ` Mark Lord
2007-03-21 8:55 ` Kasper Sandberg
2007-03-19 20:53 ` Al Boldi
2007-03-20 19:50 ` Artur Skawina
2007-03-21 4:15 ` Al Boldi
2007-03-21 17:24 ` Artur Skawina
2007-03-19 16:03 ` Mark Lord
2007-03-17 11:49 ` is RSDL an "unfair" scheduler too? Ingo Molnar
2007-03-17 12:02 ` Con Kolivas
2007-03-17 12:23 ` [ck] " jos poortvliet
2007-03-17 17:31 ` David Schwartz
2007-03-17 12:28 ` Ingo Molnar
2007-03-17 12:43 ` Con Kolivas
2007-03-17 16:34 ` Ingo Molnar
2007-03-18 3:23 ` Bill Davidsen
2007-03-18 2:13 ` Bill Davidsen
2007-03-18 3:20 ` Kasper Sandberg
2007-03-18 5:37 ` Mike Galbraith
2007-03-18 10:58 ` [ck] " jos poortvliet
2007-03-17 12:15 ` jos poortvliet
2007-03-17 20:41 ` Avi Kivity
2007-03-18 1:25 ` William Lee Irwin III
2007-03-18 1:32 ` Linus Torvalds
2007-03-18 5:24 ` Willy Tarreau
2007-03-18 5:55 ` Avi Kivity
2007-03-19 2:27 ` David Schwartz
2007-03-19 13:27 ` Radoslaw Szkodzinski
2007-03-19 18:30 ` David Lang
2007-03-19 15:25 ` Avi Kivity
2007-03-19 16:06 ` Helge Hafting
2007-03-19 16:37 ` Avi Kivity
2007-03-18 6:09 ` Bill Huey
2007-03-18 6:37 ` Mike Galbraith
2007-03-18 7:35 ` Bill Huey
2007-03-19 21:14 ` Bill Davidsen
2007-03-18 6:26 ` Mike Galbraith
2007-03-18 6:54 ` [ck] " Radoslaw Szkodzinski
2007-03-18 7:58 ` Willy Tarreau
2007-03-18 8:45 ` Avi Kivity
2007-03-18 5:00 ` Avi Kivity
2007-03-17 15:13 ` RSDL v0.31 Mark Hahn
2007-03-17 17:22 ` Stephen Clark
2007-03-19 15:06 ` Chris Friesen
2007-03-17 7:56 ` Ingo Molnar
2007-03-17 11:07 ` [ck] " jos poortvliet
2007-03-17 12:44 ` Ingo Molnar
2007-03-17 13:44 ` jos poortvliet
2007-03-17 14:04 ` [ck] " Ed Tomlinson
2007-03-17 14:32 ` Rik van Riel
2007-03-17 14:43 ` Mike Galbraith
2007-03-17 15:39 ` Ingo Molnar
2007-03-16 17:12 ` AshMilsted
2007-03-16 17:41 ` Gabriel C
2007-03-16 21:55 ` Al Boldi
2007-03-17 2:51 ` Con Kolivas
2007-03-17 4:40 ` Al Boldi
2007-03-17 4:57 ` Con Kolivas
2007-03-17 5:15 ` Gene Heskett
2007-03-17 13:50 ` Ed Tomlinson
2007-03-17 16:12 ` Al Boldi
2007-03-16 13:42 ` RSDL development plans Mike Galbraith
2007-03-16 13:59 ` Con Kolivas
2007-03-16 14:07 ` Mike Galbraith
2007-03-14 9:13 ` [PATCH] [RSDL-0.30] sched: rsdl improve latencies with differential nice Mike Galbraith
2007-03-14 9:25 ` Con Kolivas
2007-03-14 9:42 ` Mike Galbraith
-- strict thread matches above, loose matches on Subject: below --
2007-03-11 22:29 [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler bert hubert
2007-03-11 22:57 ` Con Kolivas
2007-03-08 14:27 Tim Tassonis
2007-03-06 4:57 Shawn Starr
2007-03-05 9:45 Nicolas Mailhot
2007-03-05 9:53 ` Gene Heskett
2007-03-05 10:00 ` Nicolas Mailhot
2007-03-05 15:22 ` Paolo Ciarrocchi
2007-03-05 18:37 ` Gene Heskett
2007-03-05 18:20 ` Lee Revell
2007-03-05 19:19 ` Gene Heskett
2007-03-05 22:40 ` Andrew Morton
2007-03-05 23:19 ` Gene Heskett
2007-03-06 2:23 ` Ed Tomlinson
2007-03-06 2:54 ` Linus Torvalds
2007-03-06 3:36 ` Gene Heskett
2007-03-09 4:04 ` Bill Davidsen
2007-03-09 6:31 ` Linus Torvalds
2007-03-09 7:04 ` Bill Huey
2007-03-09 10:54 ` William Lee Irwin III
2007-03-09 14:54 ` Bill Davidsen
2007-03-09 18:11 ` Linus Torvalds
2007-03-06 17:50 ` Bill Davidsen
2007-03-06 20:06 ` Con Kolivas
2007-03-09 4:21 ` Bill Davidsen
2007-03-04 7:00 Con Kolivas
2007-03-04 7:45 ` [ck] " Con Kolivas
2007-03-04 14:04 ` Con Kolivas
2007-03-04 11:08 ` Gene Heskett
2007-03-04 11:47 ` Con Kolivas
2007-03-04 12:24 ` Gene Heskett
2007-03-04 12:46 ` Con Kolivas
2007-03-04 13:25 ` Gene Heskett
2007-03-04 13:49 ` Con Kolivas
2007-03-04 14:11 ` Gene Heskett
2007-03-05 2:31 ` Zwane Mwaikambo
2007-03-05 3:16 ` Gene Heskett
2007-03-04 14:36 ` Willy Tarreau
2007-03-04 16:08 ` [ck] " jos poortvliet
2007-03-05 23:05 ` Bill Davidsen
2007-03-06 0:18 ` Con Kolivas
2007-03-06 4:41 ` Willy Tarreau
2007-03-06 5:39 ` Nicholas Miell
2007-03-06 19:04 ` jos poortvliet
2007-03-06 21:37 ` Bill Davidsen
2007-03-06 21:54 ` Willy Tarreau
2007-03-05 21:52 ` Con Kolivas
2007-03-08 8:53 ` Ingo Molnar
2007-03-08 10:07 ` Con Kolivas
2007-03-08 20:25 ` Fabio Comolli
2007-03-08 20:57 ` Con Kolivas
2007-03-08 21:31 ` Fabio Comolli
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=200703050927.52563.kernel@kolivas.org \
--to=kernel@kolivas.org \
--cc=ck@vds.kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=simon@fire.lp0.eu \
/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