Ok, found something interesting.  I left the isolcpus=1 in grub and
re-enabled hyper-threading and latency topped out around 11.2us with
acceptable performance.  I thought it should be fixed so ran EMC2 and
after a few hours the error tripped again.  Here is the details from
dmesg:

[16870.928322] 24014168: ERROR: Unexpected realtime delay: check dmesg
for details.
[16870.928333]
[16870.928336] In recent history there were
[16870.928338] 1259487, 1262655, 1058805, 1265220, and 1248228
[16870.928341] elapsed clocks between calls to the motion controller.
[16870.928350] This time, there were 1273653 which is so anomalously
[16870.928354] large that it probably signifies a problem with your
[16870.928357] realtime configuration.  For the rest of this run of
[16870.928360] EMC, this message will be suppressed.

At first glance it looks like the 1058805 is the outlier here, not the
1273653 it's complaining about.  Anyway I'm trying to make sense of
these numbers.  Earlier in the dmesg output is this:

[   62.467909] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq
= 1800221000 hz.

So,  f=1800221000,  p=1/f,  servo thread = p*n (n=numbers from dmesg)

clocks        servo thread    jitter
1259487 = 699.629us       -0.371us   -0.0535%
1262655 = 701.389us      +1.389us   +1.984%
1058805 = 588.153us   -111.847us   -15.978%
1265220 = 702.814us      +2.814us   +0.402%
1248228 = 693.375us       -6.625us   -0.946%
1273653 = 707.498us      +7.498us   +1.071%

It looks to me that the 1058805 is the problem child here and it's not
an Unexpected realtime delay at all.  Looks like an Unexpected
premature execution of the thread!  Any idea what could cause this?

Joel

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to