All of lore.kernel.org
 help / color / mirror / Atom feed
From: ankita@in.ibm.com (Ankita Garg)
To: "Luis Claudio R. Goncalves" <lclaudio@uudg.org>
Cc: David Miller <davem@davemloft.net>,
	linux-rt-users@vger.kernel.org, rostedt@goodmis.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 11:58:07 +0530	[thread overview]
Message-ID: <20071019062807.GA10260@in.ibm.com> (raw)
In-Reply-To: <20071018153618.GI12471@unix.sh>

Hi,

On Thu, Oct 18, 2007 at 11:36:18AM -0400, Luis Claudio R. Goncalves wrote:
> Ankita,
> 
> On Thu, Oct 18, 2007 at 06:56:14PM +0530, Ankita Garg wrote:
> | Hi David,
> | 
> | On Thu, Oct 18, 2007 at 05:52:42AM -0700, David Miller wrote:
> | > From: ankita@in.ibm.com (Ankita Garg)
> | > Date: Thu, 18 Oct 2007 18:18:27 +0530
> | > 
> | > > 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.
> 
> You might wanna check signaltest:
> 
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests.git rt-tests
>

Are any previous logs available for signaltest? This is what I get on 2.6.23-rt1-

# ./signaltest -q -p 85 -l100000 -t8
T: 0 ( 6791) P:85 C: 100000 Min:    109 Act:  148 Avg:  143 Max:     252
T: 1 ( 6792) P:85 C: 100000 Min:    109 Act:  148 Avg:  769 Max:   10240
T: 2 ( 6793) P:85 C: 100000 Min:    109 Act:  148 Avg:  769 Max:   10247
T: 3 ( 6794) P:85 C: 100000 Min:    109 Act:  161 Avg:  769 Max:   10238
T: 4 ( 6795) P:85 C: 100000 Min:    109 Act:  183 Avg:  769 Max:   10238
T: 5 ( 6796) P:85 C: 100000 Min:    109 Act:  214 Avg:  769 Max:   10239
T: 6 ( 6797) P:85 C: 100000 Min:    109 Act:  236 Avg:  769 Max:   10237
T: 7 ( 6798) P:85 C: 100000 Min:    109 Act:  329 Avg:  769 Max:   10238

And this on 2.6.21.4-rt10-

# ./signaltest -q -p 85 -l100000 -t8
T: 0 ( 3767) P:85 C: 100000 Min:     56 Act:  101 Avg:   99 Max:     162
T: 1 ( 3768) P:85 C: 100000 Min:     56 Act:  101 Avg:  725 Max:   10164
T: 2 ( 3769) P:85 C: 100000 Min:     56 Act:  101 Avg:  725 Max:   10164
T: 3 ( 3770) P:85 C: 100000 Min:     56 Act:  102 Avg:  725 Max:   10164
T: 4 ( 3771) P:85 C: 100000 Min:     56 Act:  111 Avg:  725 Max:   10165
T: 5 ( 3772) P:85 C: 100000 Min:     56 Act:  120 Avg:  725 Max:   10163
T: 6 ( 3773) P:85 C: 100000 Min:     56 Act:  135 Avg:  725 Max:   10164
T: 7 ( 3774) P:85 C: 100000 Min:     56 Act:  178 Avg:  725 Max:   10165

The values seem rather high!
 
> Regards,
> Luis
> -- 
> [ Luis Claudio R. Goncalves                    Bass - Gospel - RT ]
> [ Fingerprint: 4FDD B8C4 3C59 34BD 8BE9  2696 7203 D980 A448 C8F8 ]
> 
> -
> 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

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

  reply	other threads:[~2007-10-19  6:28 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
2007-10-18 15:36     ` Luis Claudio R. Goncalves
2007-10-19  6:28       ` Ankita Garg [this message]
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=20071019062807.GA10260@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=lclaudio@uudg.org \
    --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.