public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mjw@redhat.com>
To: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap@sourceware.org
Subject: Re: Some test results on i386 and x86_64
Date: Sun, 26 Apr 2009 12:07:00 -0000	[thread overview]
Message-ID: <1240747650.3463.5.camel@hermans.wildebeest.org> (raw)
In-Reply-To: <49F262E8.7080608@redhat.com>

Hi Masami,

On Fri, 2009-04-24 at 21:10 -0400, Masami Hiramatsu wrote:
> Mark Wielaard wrote:
> > On Thu, 2009-04-23 at 15:38 -0400, Masami Hiramatsu wrote:
> >> Mark Wielaard wrote:
> >>> On x86_64:
> >>> FAIL: flightrec2 (log file numbers (2, 2))
> >>> FAIL: flightrec2 (log file size (4))
> >> Thanks!
> >> Could you give me a part of systemtap.log?
> > 
> > Attached.
>
> Hmm, it seems that timer.ms(1) was not kicked so frequently
> on xen-kernel.
> ---
>  1000 flightlog.out.0
>   100 flightlog.out.1
> ---
>  1000 flightlog.out.0
>   920 flightlog.out.1
> ---
> 
> Perhaps, timer resolution on xen-kernel may be 10ms or more?

Yes, seems it counts "slower".

On my non-xen i386 machine (2.6.27.21-170.2.56.fc10.i686):
$ stap -e 'global count=0; probe timer.ms(1) { printf("%d: %d\n",
gettimeofday_ms(), count++); if (count > 10) exit(); }'
1240747341878: 0
1240747341879: 1
1240747341880: 2
1240747341881: 3
1240747341882: 4
1240747341883: 5
1240747341884: 6
1240747341885: 7
1240747341886: 8
1240747341887: 9
1240747341888: 10

But on my xen enabled x86_64 machine (2.6.18-128.1.6.el5xen):
$ stap -e 'global count=0; probe timer.ms(1) { printf("%d: %d\n",
gettimeofday_ms(), count++); if (count > 10) exit(); }'
1240747430504: 0
1240747430504: 1
1240747430514: 2
1240747430514: 3
1240747430524: 4
1240747430524: 5
1240747430524: 6
1240747430534: 7
1240747430534: 8
1240747430544: 9
1240747430544: 10

Cheers,

Mark

  reply	other threads:[~2009-04-26 12:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23 17:24 Mark Wielaard
2009-04-23 19:37 ` Masami Hiramatsu
2009-04-23 19:48   ` Mark Wielaard
2009-04-25  1:08     ` Masami Hiramatsu
2009-04-26 12:07       ` Mark Wielaard [this message]
2009-04-27 19:20         ` [PATCH] fix flightrec2.exp/stp (Re: " Masami Hiramatsu
2009-04-28  5:50           ` Mark Wielaard

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=1240747650.3463.5.camel@hermans.wildebeest.org \
    --to=mjw@redhat.com \
    --cc=mhiramat@redhat.com \
    --cc=systemtap@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).