All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
To: Manikandan Ramachandran <crmanik@gmail.com>
Cc: Nivedita Singhvi <niv@us.ibm.com>,
	David Sommerseth <davids@redhat.com>,
	linux-rt-users@vger.kernel.org
Subject: Re: Query regarding 2.6.335 RT and Non-RT performance
Date: Thu, 19 Aug 2010 12:14:55 -0700	[thread overview]
Message-ID: <4C6D82AF.7020806@gmail.com> (raw)
In-Reply-To: <AANLkTikFMnr=5=rgU5V7cny5j=ZNLVUJMEewvAOpbpEx@mail.gmail.com>

  On 08/19/2010 11:15 AM, Manikandan Ramachandran wrote:
> On Thu, Aug 19, 2010 at 9:06 AM, Sven-Thorsten Dietrich
> <thebigcorporation@gmail.com>  wrote:
>> On Thu, 2010-08-19 at 07:59 -0700, Nivedita Singhvi wrote:
>>> On 08/17/2010 03:22 PM, Manikandan Ramachandran wrote:
>>>
>>>
>>>> I see a scenario where higher priority task is ready to run but lower
>>>> priority IRQ thread is hogging the cpu. Please see the timeline log
>>>> below:
>>>>
>>>> GIVE ffff0c1c [Comment: High priority IRQ thread wakes up high
>>>> priority process at jiffy 0xffff0c1c]
>>>> **ffff0c21**##ffff0c21##**ffff0c21**##ffff0c21##**ffff0c21**##ffff0c21##**ffff0c21**##ffff0c21##**ffff0c21**##ffff0c22##**ffff0c22**##ffff0c22##**ffff0c22**##ffff0c22##**ffff0c22**##ffff0c22##**ffff0c22**##ffff0c22##**ffff0c22**##ffff0c22##**ffff0c22**##ffff0c22##**ffff0c22**##ffff0c22##**ffff0c23**##ffff0c23##**ffff0c23**##ffff0c23##**ffff0c23**##ffff0c24##**ffff0c24**##ffff0c24##**ffff0c24**##ffff0c24##
>>>> [Comment: Low priority IDE[ide_intr] handler hogs CPU for almost 3 ms]
>>>> GOTffff0c26 [Comment: High priority task wakes up after 10 ms!!]
>>>>
>>>> I fail to understand why scheduler failed to schedule high priority
>>>> task 10 times in a row. FYI, I have put IDE thread to SCHED_NORMAL
>>>> while high priority thread and task to SCHED_FIFO.
>>> Not really sure from the above what's going on, what priorities
>>> you are running at, etc.
>>>
>>> You might want look at the output of "ps -eLo pid,rtprio,policy,comm"
>>> to see if you can confirm your scheduler attributes.
>>>
>> Also, use the tracing facilities, as its hard to understand your time
>> line and the source of it.
>>
>> I think if your priorities are right, your kernel config is right, and
>> your measurement tool doesn't interfere, 10 ms latency is incredibly
>> unlikely.
>>
>>
>>> thanks,
>>> Nivedita
>>> --
>>> 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
>>
>>
> I see many tracing options. Any trace config in particular?
>
>

Steve's latency tracing can generate a time-stamped stack dump of the 
Kernel code-path that blocks the RT task you are trying to run.




  reply	other threads:[~2010-08-19 19:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTik4U-ua1zi5r5n4uw8oA-cQOO0zev__OuCto7CP@mail.gmail.com>
2010-08-17  6:07 ` Query regarding 2.6.335 RT and Non-RT performance Manikandan Ramachandran
2010-08-17 15:54   ` Mark Knecht
2010-08-17 17:19   ` David Sommerseth
2010-08-17 18:24     ` Manikandan Ramachandran
2010-08-17 19:45       ` Nivedita Singhvi
2010-08-17 22:22         ` Manikandan Ramachandran
2010-08-19 14:59           ` Nivedita Singhvi
2010-08-19 16:06             ` Sven-Thorsten Dietrich
2010-08-19 18:15               ` Manikandan Ramachandran
2010-08-19 19:14                 ` Sven-Thorsten Dietrich [this message]
2010-08-23 14:26           ` gowrishankar
2010-08-17 20:24       ` Mark Knecht

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=4C6D82AF.7020806@gmail.com \
    --to=sven@thebigcorporation.com \
    --cc=crmanik@gmail.com \
    --cc=davids@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=niv@us.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.