All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vincent Berenz" <vincent.berenz@tuebingen.mpg.de>
To: xenomai@xenomai.org
Subject: [Xenomai] tsc not monotonic
Date: Wed, 03 Aug 2016 12:12:51 +0200	[thread overview]
Message-ID: <web-9034838@tuebingen.mpg.de> (raw)

Hi,

After using for years xenomai 2.5.6 on ubuntu 12.04, we decided to upgrade to ubuntu 14.04 and a newer machine.
I installed xenomai 2.6.4 and kernel 3.14.39.
The installation boots correctly, the latency is low and our software seems to work ok.

But the system has "frequency surge" (I could not find better wording). For example:

- sometime when typing on the keyboard, the pressed key is printed many times ('aaaaaaaa' instead of 'a')

- 'glxgears' has change in frame rates, the gears can be seen as sometime changing speed. For example:

---
1141 frames in 5.0 seconds = 228.186 FPS
1024 frames in 5.0 seconds = 204.787 FPS
506 frames in 5.0 seconds = 101.194 FPS
482 frames in 5.0 seconds = 96.317 FPS
1416 frames in 5.0 seconds = 283.182 FPS
2614 frames in 5.0 seconds = 521.100 FPS
2618 frames in 5.0 seconds = 522.314 FPS
3073 frames in 5.0 seconds = 614.562 FPS
---

All the tests run fine (as far as I could tell) with the notable exception of tsc which sometimes (not always) terminates with something like:

---
tsc not monotonic after 7430687798 ticks, jumped back 49567650 tick
---

I could find this in the syslog:

-------
[    0.092932] TSC deadline timer enabled
[    0.092941] Performance Events: PEBS fmt2+, 16-deep LBR, Haswell events, full-width counters, Intel PMU driver.
[    0.092961] ... version:                3
[    0.092962] ... bit width:              48
[    0.092963] ... generic registers:      4
[    0.092964] ... value mask:             0000ffffffffffff
[    0.092965] ... max period:             0000ffffffffffff
[    0.092965] ... fixed-purpose events:   3
[    0.092966] ... event mask:             000000070000000f
[    0.094914] x86: Booting SMP configuration:
[    0.094916] .... node  #0, CPUs:        #1
[    0.109150] TSC synchronization [CPU#0 -> CPU#1]:
[    0.109157] Measured 25802382 cycles TSC warp between CPUs, turning off TSC clock.
[    0.109161] tsc: Marking TSC unstable due to check_tsc_sync_source failed
---------

Best

Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 162268 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160803/26bc2e90/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg_xeno.txt
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160803/26bc2e90/attachment.txt>

             reply	other threads:[~2016-08-03 10:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-03 10:12 Vincent Berenz [this message]
2016-08-04 12:17 ` [Xenomai] tsc not monotonic Henning Schild
2016-08-04 13:23   ` Vincent Berenz
2016-08-04 14:11     ` Henning Schild
2016-08-05 17:13       ` Vincent Berenz
2016-08-08  9:34         ` Henning Schild
2016-08-08 16:21           ` Vincent Berenz
2016-08-08 17:11             ` Henning Schild
2016-08-09 14:52               ` Vincent Berenz
2016-08-09 15:46                 ` Henning Schild
2016-08-10 12:35                   ` Vincent Berenz
2016-08-10 15:10                     ` Henning Schild
2016-08-19 16:22     ` Henning Schild
2016-09-05  8:54       ` Henning Schild
2016-09-07  8:14         ` Vincent Berenz
2016-09-07  8:23           ` Henning Schild

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=web-9034838@tuebingen.mpg.de \
    --to=vincent.berenz@tuebingen.mpg.de \
    --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.