All of lore.kernel.org
 help / color / mirror / Atom feed
From: ankita@in.ibm.com (Ankita Garg)
To: Steven Rostedt <rostedt@goodmis.org>
Cc: David Miller <davem@davemloft.net>,
	linux-rt-users@vger.kernel.org, ghaskins@novell.com,
	mingo@elte.hu, dino@in.ibm.com, dvhltc@us.ibm.com,
	kravetz@us.ibm.com
Subject: Re: High 50us+ latencies in the process signal handling path
Date: Fri, 19 Oct 2007 16:41:40 +0530	[thread overview]
Message-ID: <20071019111140.GA16728@in.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0710180934170.10242@gandalf.stny.rr.com>

Hi Steve,

On Thu, Oct 18, 2007 at 09:38:44AM -0400, Steven Rostedt wrote:
> 
> --
> When I'm asked what language is my mother tongue,
> I simply answer "C".
> 
> On Thu, 18 Oct 2007, Ankita Garg wrote:
> 
> > > > Any thoughts on where in the code could these large latencies be
> > > > attributed to?
> > >
> > > If the max latency is usually the first one, it's could be the page
> > > fault the signal handler is taking the first time it is executed.
> >
> > Thanks for looking into this. Attaching the entire log from the testrun.
> > It indicates that in each run of the 10000 iterations, there are about 100+
> > failures, with large iterations. Also, on intrumenting the testcode to
> > find out the iterations which see large latencies, I see that as the
> > number of iterations increase, the latencies increase.
> 
> OK, this doesn't look like page faulting issues. But it is still a good
> idea to add mlock to any RT tests.
> 
> Could this possible be simply cache misses that cause this?  There's a bit
> of code to send a signal. What would the impact of cold cache be on this?
> 
> One way is to see the mininum run of running with cached disabled. Not
> sure if there's any way to disable cache via a kernel command line. Of
> course that would make the system very slow to boot ;-)
>

The machines I am working on does not support disabling caches via BIOS
and as Documentation/memory.txt suggests, BIOS seems to be the only way.

Also, mlocking did not make any difference in the latencies.

> -- Steve

-- 
Regards,
Ankita Garg (ankita@in.ibm.com)
Linux Technology Center
IBM India Systems & Technology Labs, 
Bangalore, India   

  reply	other threads:[~2007-10-19 11:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18 12:48 High 50us+ latencies in the process signal handling path Ankita Garg
2007-10-18 12:52 ` David Miller
2007-10-18 13:26   ` Ankita Garg
2007-10-18 13:38     ` Steven Rostedt
2007-10-19 11:11       ` Ankita Garg [this message]
2007-10-18 15:36     ` Luis Claudio R. Goncalves
2007-10-19  6:28       ` Ankita Garg
2007-10-18 13:32   ` Steven Rostedt
2007-10-19 12:43 ` Michal Schmidt
2007-10-19 12:53   ` Steven Rostedt
2007-10-19 14:20   ` Sripathi Kodi
2007-10-25  1:24     ` Steven Rostedt

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=20071019111140.GA16728@in.ibm.com \
    --to=ankita@in.ibm.com \
    --cc=davem@davemloft.net \
    --cc=dino@in.ibm.com \
    --cc=dvhltc@us.ibm.com \
    --cc=ghaskins@novell.com \
    --cc=kravetz@us.ibm.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    /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.