From: Daniel Walker <dwalker@mvista.com>
To: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>, <linux-kernel@vger.kernel.org>
Subject: Re: [patch] Real-Time Preemption, -RT-2.6.12-rc3-V0.7.46-01
Date: Fri, 22 Apr 2005 14:15:04 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0504221410530.4768-200000@dhcp153.mvista.com> (raw)
In-Reply-To: <17001.26444.246648.14231@sodium.jf.intel.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1025 bytes --]
t
On Fri, 22 Apr 2005, Inaky Perez-Gonzalez wrote:
> >>>>> Ingo Molnar <mingo@elte.hu> writes:
>
> >> this includes fixes from Daniel Walker, which could fix the plist
> >> related slowdown bugs:
>
> > there are still some problems remaining: i just ran Esben Nielsen's
> > priority-inheritance validation testsuite, and the plist code gives
> > a worst-case latency of 9.0 msecs.
>
> With which machine is this?
>
> I tried to reproduce with V0.7.45-01 in my 2xPIII 0.9 Ghz I cannot get
> more than 1.9ms when doing 2000 samples repeatedly (60 iterations and
> counting).
>
> Did you use other parameters to 'test'?
>
> # cnt=0
> # while true
> > do echo -n "$cnt "
> > ./test --samples 2000 file.hist 2>&1 | grep maximum; cnt=$(($cnt+1))
> > done
>
> With 2.6.12-rc3-V0.7.46-02 I get:
It's still to high , it should be under a millisecond ..
I'm still testing but the times get better with this patch . I was
initializing the lists to 0, instead of MAX_INT . Let me know if it
changes anything.
Daniel
[-- Attachment #2: Type: TEXT/PLAIN, Size: 954 bytes --]
Index: linux-2.6.11/include/linux/plist.h
===================================================================
--- linux-2.6.11.orig/include/linux/plist.h 2005-04-22 19:36:54.000000000 +0000
+++ linux-2.6.11/include/linux/plist.h 2005-04-22 19:38:29.000000000 +0000
@@ -251,7 +251,7 @@
static inline void plist_del_init(struct plist *pl, struct plist *plist)
{
plist_del (pl, plist);
- plist_init(pl, 0);
+ plist_init(pl, INT_MAX);
}
/* Return the priority a pl node */
Index: linux-2.6.11/kernel/rt.c
===================================================================
--- linux-2.6.11.orig/kernel/rt.c 2005-04-22 15:05:33.000000000 +0000
+++ linux-2.6.11/kernel/rt.c 2005-04-22 19:36:29.000000000 +0000
@@ -939,6 +939,7 @@
set_task_state(task, TASK_UNINTERRUPTIBLE);
+ plist_init (&waiter.list, task->prio);
task_blocks_on_lock(&waiter, task, lock, eip);
TRACE_BUG_ON(!irqs_disabled());
next prev parent reply other threads:[~2005-04-22 21:15 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-25 14:59 [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10 Ingo Molnar
2005-03-25 22:33 ` Lee Revell
2005-03-25 22:39 ` Ingo Molnar
2005-03-26 5:14 ` Lee Revell
2005-03-27 8:58 ` Ingo Molnar
2005-03-30 5:16 ` Lee Revell
2005-03-30 6:54 ` Ingo Molnar
2005-03-29 22:31 ` Lee Revell
2005-03-30 8:03 ` Ingo Molnar
2005-03-31 8:55 ` [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-25 Ingo Molnar
2005-04-01 10:47 ` [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00 Ingo Molnar
2005-04-01 12:13 ` Rui Nuno Capela
2005-04-01 12:52 ` Ingo Molnar
2005-04-01 14:42 ` Rui Nuno Capela
2005-04-01 15:06 ` Ingo Molnar
2005-04-01 15:52 ` Rui Nuno Capela
2005-04-01 16:28 ` Ingo Molnar
2005-04-01 21:26 ` Rui Nuno Capela
2005-04-01 17:31 ` Gene Heskett
2005-04-01 18:27 ` K.R. Foley
2005-04-01 18:29 ` Ingo Molnar
2005-04-01 19:21 ` Gene Heskett
2005-04-01 19:19 ` Gene Heskett
2005-04-01 19:22 ` K.R. Foley
2005-04-01 23:34 ` Gene Heskett
2005-04-02 1:45 ` Lee Revell
2005-04-02 2:30 ` Gene Heskett
2005-04-02 5:12 ` Ingo Molnar
2005-04-02 19:37 ` Steven Rostedt
2005-04-02 20:06 ` Steven Rostedt
2005-04-02 20:17 ` Lee Revell
2005-04-02 20:34 ` Ingo Molnar
2005-04-02 22:38 ` Gene Heskett
2005-04-02 20:35 ` Ingo Molnar
2005-04-02 20:44 ` Steven Rostedt
2005-04-02 22:09 ` Steven Rostedt
2005-04-03 0:06 ` Steven Rostedt
2005-04-04 20:00 ` Ingo Molnar
2005-04-04 20:40 ` Steven Rostedt
2005-04-04 20:47 ` Ingo Molnar
2005-04-04 21:14 ` Steven Rostedt
2005-04-04 22:51 ` Zwane Mwaikambo
2005-04-04 22:59 ` Steven Rostedt
2005-04-04 23:09 ` Esben Nielsen
2005-04-05 7:57 ` Zwane Mwaikambo
2005-04-05 15:18 ` Mike Galbraith
2005-04-04 23:06 ` Esben Nielsen
2005-04-05 5:34 ` Ingo Molnar
2005-04-05 9:25 ` Esben Nielsen
2005-04-02 23:45 ` Lee Revell
2005-04-02 20:10 ` Lee Revell
2005-04-05 7:19 ` [patch] Real-Time Preemption, -RT-2.6.12-rc2-V0.7.44-00 Ingo Molnar
2005-04-05 19:06 ` Rui Nuno Capela
2005-04-05 19:36 ` Steven Rostedt
2005-04-08 15:22 ` Rui Nuno Capela
2005-04-08 17:15 ` Lee Revell
2005-04-08 20:15 ` K.R. Foley
2005-04-08 20:17 ` Lee Revell
2005-04-08 20:26 ` K.R. Foley
2005-04-08 21:00 ` Lee Revell
2005-04-08 21:36 ` K.R. Foley
2005-04-10 17:23 ` K.R. Foley
2005-04-10 17:27 ` Ingo Molnar
2005-04-10 17:39 ` Steven Rostedt
2005-04-10 17:47 ` Ingo Molnar
2005-04-12 18:17 ` Lee Revell
2005-04-21 7:35 ` [patch] Real-Time Preemption, -RT-2.6.12-rc3-V0.7.46-00 Ingo Molnar
2005-04-21 8:45 ` Paolo Ciarrocchi
2005-04-21 16:16 ` Daniel Walker
2005-04-21 19:54 ` Daniel Walker
2005-04-22 6:27 ` [patch] Real-Time Preemption, -RT-2.6.12-rc3-V0.7.46-01 Ingo Molnar
2005-04-22 7:34 ` Ingo Molnar
2005-04-22 15:48 ` Daniel Walker
2005-04-22 15:49 ` Ingo Molnar
2005-04-22 15:53 ` Daniel Walker
2005-04-22 15:55 ` Ingo Molnar
2005-04-22 15:56 ` Ingo Molnar
2005-04-26 17:49 ` Daniel Walker
2005-05-09 7:23 ` Ingo Molnar
2005-04-22 21:06 ` Inaky Perez-Gonzalez
2005-04-22 21:15 ` Daniel Walker [this message]
2005-05-04 8:24 ` Ingo Molnar
2005-04-22 21:17 ` Daniel Walker
2005-04-30 23:28 ` Lee Revell
2005-05-04 8:22 ` Ingo Molnar
2005-05-04 15:05 ` Lee Revell
2005-05-08 3:30 Norval Watson
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=Pine.LNX.4.44.0504221410530.4768-200000@dhcp153.mvista.com \
--to=dwalker@mvista.com \
--cc=inaky@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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;
as well as URLs for NNTP newsgroup(s).