From: Darren Hart <dvhltc@us.ibm.com>
To: subrata@linux.vnet.ibm.com
Cc: ltp-list <ltp-list@lists.sf.net>,
Steven Rostedt <rostedt@goodmis.org>,
Gregory Haskins <ghaskins@novell.com>,
Clark Williams <clark.williams@gmail.com>,
linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: [LTP] LTP RT Tests (Cyclic, rt-migrate, etc)
Date: Fri, 10 Jul 2009 11:28:28 -0700 [thread overview]
Message-ID: <4A57884C.10401@us.ibm.com> (raw)
In-Reply-To: <1247244446.5040.0.camel@subratamodak.linux.ibm.com>
Subrata Modak wrote:
> On Fri, 2009-07-10 at 22:00 +0530, Sripathi Kodi wrote:
>> On Wednesday 08 July 2009 23:43:53 Subrata Modak wrote:
>>> Darren/Sri/Gowri,
>>>
>>> Where do you want me to put this exactly inside the RT tree ?
>> Hi Subrata,
>>
>> Going by how the tests are organized currently, I think this should go
>> into it's own directory under testcases/realtime/func. We will need to
>> add a makefile to it. Are you looking at us to help you with this?
>
> Correct. Please send me a patch which integrates it into RT tests build,
> install & run.
Just got back from a week vacation and am burning through mail as fast
as I can :-) Haven't had a look yet, but does this test use librttest.h?
I suspect not. We'll need to adapt it to run within the existing ltp
real-time testing framework, which includes things like buffered output
as well as mlocking support.
Lastly, I'm not sure this test does anything effectively different than
prio-wake, already in the tree. My other concerns with the test are its
explicit 1ms preemption criteria (as Steven described it anyway). We
are trying to move away from criteria being inherent in measurement
tests, and 1 ms seems like an awfully long priority inversion to be an
acceptable criteria to many users.
Steven, am I missing something conceptually here?
--
Darren
>
> Regards--
> Subrata
>
>> Thanks,
>> Sripathi.
>>
>>> Regards--
>>> Subrata
>>>
>>> On Mon, 2009-07-06 at 20:01 +0530, Subrata Modak wrote:
>>>> On Mon, 2009-07-06 at 10:26 -0400, Steven Rostedt wrote:
>>>>> On Tue, 23 Jun 2009, Subrata Modak wrote:
>>>>>
>>>>>> Steven,
>>>>>>
>>>>>> Do you remember this ?
>>>>> Yes, and I finally got time to fix it up a little ;-)
>>>> Great. Forwarding to the ltp mailing list as well. Thanks steven.
>>>>
>>>> Regards--
>>>> Subrata
>>>>
>>>>> OK, here it is. To run it, just do:
>>>>>
>>>>> ./rt-migrate-test -c
>>>>>
>>>>> You need to be root since it changes the priorities. It will check the
>>>>> number of processors and create N+1 threads (where N is the number of
>>>>> processors). Each thread will wake up at the same time and try to do a
>>>>> busy loop for 20 millisecs. If a lower prio thread runs for 1ms before a
>>>>> higher prio thread, it will fail. This should test the migration of the
>>>>> threads to make sure that the higher prio threads run first.
>>>>>
>>>>> Sorry for taking so long.
>>>>>
>>>>> -- Steve
>>>>>
>>>>>
>>>>>
>>>>>> Regards--
>>>>>> Subrata
>>>>>>
>>>>>> On Mon, 2008-12-15 at 08:52 -0500, Steven Rostedt wrote:
>>>>>>> On Mon, 15 Dec 2008, Subrata Modak wrote:
>>>>>>>>> Lets see, you wanted my rt migration test. I'll clean that up now. Is
>>>>>>>> Oh yes.
>>>>>>> OK, I'm cleaning it up to be more for production use.
>>>>>>>
>>>>>>>>> there something else I needed to send you? If you remember.
>>>>>>>> I am not quite sure now. Will let you know in future.
>>>>>>> OK, thanks,
>>>>>>>
>>>>>>> -- Steve
>>>>>>>
>>>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Ltp-list mailing list
>>>> Ltp-list@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>>
>
--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2009-07-10 18:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1224509719.5152.116.camel@subratamodak.linux.ibm.com>
[not found] ` <1224840077.5270.69.camel@subratamodak.linux.ibm.com>
[not found] ` <alpine.DEB.1.10.0810240749470.25677@gandalf.stny.rr.com>
[not found] ` <1229093480.5171.60.camel@subratamodak.linux.ibm.com>
[not found] ` <alpine.DEB.1.10.0812121533350.29763@gandalf.stny.rr.com>
[not found] ` <1229347938.5353.8.camel@subratamodak.linux.ibm.com>
[not found] ` <alpine.DEB.1.10.0812150851290.18692@gandalf.stny.rr.com>
[not found] ` <1245768486.4860.53.camel@subratamodak.linux.ibm.com>
[not found] ` <alpine.DEB.2.00.0907061024200.8813@gandalf.stny.rr.com>
2009-07-06 14:31 ` [LTP] LTP RT Tests (Cyclic, rt-migrate, etc) Subrata Modak
2009-07-08 18:13 ` Subrata Modak
2009-07-10 16:30 ` Sripathi Kodi
2009-07-10 16:47 ` Subrata Modak
2009-07-10 18:28 ` Darren Hart [this message]
2009-07-20 14:43 ` Steven Rostedt
2009-07-20 14:52 ` Gregory Haskins
2009-07-20 17:03 ` Darren Hart
2009-07-30 18:28 ` Subrata Modak
2009-07-30 18:42 ` Steven Rostedt
2009-07-30 19:49 ` Darren Hart
2009-07-30 20:03 ` Steven Rostedt
2009-07-30 20:10 ` Darren Hart
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=4A57884C.10401@us.ibm.com \
--to=dvhltc@us.ibm.com \
--cc=clark.williams@gmail.com \
--cc=ghaskins@novell.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=ltp-list@lists.sf.net \
--cc=rostedt@goodmis.org \
--cc=subrata@linux.vnet.ibm.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