All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] enjoying the trace
Date: Wed, 04 Jan 2006 23:45:33 +0100	[thread overview]
Message-ID: <43BC500D.70202@domain.hid> (raw)
In-Reply-To: <43BC430C.5080204@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

Jan Kiszka wrote:
> Hi all,
> 
> after a long day of experimenting with a new tracer revision (will get
> posted later), I'm looking now for some external wisdom.
> 
> I changed the instrumentation for high-domain stall times such that I
> now attach to local_irq_disable_hw & friends instead. In case the
> hard-IRQ status doesn't change, only a ipipe_trace_special is issued, a
> trace_begin/end otherwise. Additionally, I grab the entering and exiting
> of __ipipe_handle_irq and suppress two IRQ on/off points in
> arch/i386/kernel/ipipe-root.c. See attached patch (will likely become
> part of the tracer).

I failed to include the changes of entry.S, see the full patch posted in
the related thread.

> 
> Ok, this works significantly better than the previous approach. I just
> tormented an Athlon 800 MHz box with Xenomai 2.1 revision 357 (old ipipe
> IRQ layer) about 50 minutes with
> 
> 	latency -p1000 -t1
> 	dd if=/dev/hda of=/dev/null
> 	ping -f -s 1400 [from external]
> 	cachebench [part of llcbench]
> 
> The result was a maximum latency of 38 us (in-kernel periodic task) and
> some traces which correlate quite well. I attached two of them, showing
> the similarity between the final and last but one outputs of
> /proc/ipipe/trace/max. Note that the instrumentation and the trace
> recording add some overhead, how much is just going to be measured.
> 

Result: 33 us without the tracer but otherwise identical boundary
conditions.

Jan

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

      reply	other threads:[~2006-01-04 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04 21:50 [Xenomai-core] enjoying the trace Jan Kiszka
2006-01-04 22:45 ` Jan Kiszka [this message]

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=43BC500D.70202@domain.hid \
    --to=jan.kiszka@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.