All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Prakash A S <asprakash83@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Timing calculation
Date: Thu, 19 Aug 2010 10:01:36 +0200	[thread overview]
Message-ID: <4C6CE4E0.1000609@domain.hid> (raw)
In-Reply-To: <AANLkTi=uuzsAsgt8mk04VJE0-tmd1YQ5KoiTu3a-dO3v@domain.hid>

Prakash A S wrote:
> On Wed, Aug 18, 2010 at 9:21 PM, Gilles Chanteperdrix <
>> We still receive HTML.
>>
> 
> May be because of simply copy and pasted the old content in the last thread.
> 
> How about the scenario now?.

Nope. Still multipart/alternative with HTML.

> 
> 
>>> Obviously I should improve my C language skills.
>>>
>>> I am using linux kernel 2.6.30.8 on Ubuntu 8.04,
>>> Adeos-ipipe-2.6.30.8-x86-2.4-09.patch and Xenomai-2.5.3
>> What about the kernel configuration and self-contained test exhibiting
>> the behaviour you do not understand?
>>
> 
> My .config file is here, http://pastebin.ca/1919917

This .config is wrong: it has ACPI disabled.

> I tested and understand few test cases below.
> switchtest : I am using Intel Dual core processor. ~5731 context switches
> happening in a second
> cyclictest : Tested with 10 threads. Maximum timer latency is 38us and
> minimum is 1us
> clocktest : Simply prints the time offset, drift value and wraps compare
> with normal linux's gettimeofday(). Not much understand from this test.
> latency : user mode latency test provides maximum latency time is 15us.
> latency : kernel mode latency test provides maximum latency time is 3.6 us
> latency : timer mode latency test provides maximum latency time is 3 us

So, timing works correctly. If there was something wrong with time
keeping, you would have seen latency and switchtest drifting, and
printing infinitely increasing or decreasing latencies.

> 
> Not much understand about the clocktest.
> More helpful if we have any documentations for the all tests rather than how
> to use the tests.

The fact that ACPI must be enabled is documented, though you disabled
it, which proves that you do not read the documentation.

What I would like you is to do is to write a self-contained as simple as
possible test which exhibits the behaviour you find suspicious, and
publish it here so that I can try and reproduce this behaviour.

-- 
					    Gilles.


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

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18 15:46 [Xenomai-help] Timing calculation Prakash A S
2010-08-18 15:51 ` Gilles Chanteperdrix
2010-08-19  7:51   ` Prakash A S
2010-08-19  8:01     ` Gilles Chanteperdrix [this message]
2010-08-19 10:41       ` Prakash A S
2010-08-19 11:14         ` Gilles Chanteperdrix
2010-08-23  8:44   ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2010-08-12  9:39 prakash srinivasan
2010-08-12 10:11 ` Eric Noulard
2010-08-12 11:32   ` prakash srinivasan
2010-08-12 11:56 ` Wolfgang Grandegger
2010-08-12 12:04   ` Eric Noulard
2010-08-12 16:00     ` prakash srinivasan
2010-08-12 15:38   ` asprakash_83
2010-08-12 19:13     ` Wolfgang Grandegger
2010-08-13  4:19       ` prakash srinivasan
2010-08-14 18:33         ` Gilles Chanteperdrix
2010-08-12 15:46   ` prakash srinivasan

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=4C6CE4E0.1000609@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=asprakash83@domain.hid \
    --cc=xenomai@xenomai.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.