Am 20.03.2013 um 08:48 schrieb Bj?rn:

> I bougt this.
> http://www.ebay.com/itm/200542103383?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649
> running the latest version of linuxcnc.

specifically which version?

I have a D525MW and get much better results

> Hypertreading off in bios,
> ISOLCPU is done.
>
> when runnnig latencytest and 3 x glxgears + some video i can run for 30
> min and get:
> servo thread (1.0ms) max interval (ns) 1006129 max jitter 11104
> Base thread (25.0ps) max interval (ns) 42342 max jitter 17463
>
> i think i could do with this but if i run overnight the same way i get
> servo thread (1.0ms) max interval (ns) 1020138 max jitter 24978
> Base thread (25.0ps) max interval (ns) 83039 max jitter 58160
>
> does anyone have any idea of hvat this can be? is there a way to se any
> debugging information?

usually that points to CPU idle/powersave states; it has turned out that wakeup 
from idle/powersave states is rather nondeterministic and a likely cause of 
latency spikes

to isolate whether this is the case, try to boot the kernel with the option 
'idle=poll'

if things improve, idle/powersave states are very likely the cause

-m


> And another question, is it possible to dedicate one cpu to run gui and
> other non realtime funktions?
>
> Regards Bjorn
>
I am running 10.04 LTS and LinuxCNC 2.5.2

when you say, boot the kernel with the option 'idle=poll' is this done
the same way as isolcpu?

Regards Bjorn Kristiansen.

yes

try both 'idle=poll' and 'nohlt'

see section 4 of http://wiki.linuxcnc.org/cgi-bin/wiki.pl?XenomaiKernelPackages
this applies to RTAI just alike

- Michael

now i have tested: boot with isolcpu(big improvement in general latency but 
still spikes)  
  turn of smi, (improvement in general latency but still spikes)
'idle=poll' and 'nohlt'(little or no effect)

acpi = off and api=off (little or no effect)

For the moment i have been running the system for 1,5 hour and have - 
servothread interval 999655 and max jitter 4495 ns - base thread interval 32069 
max jitter 7190.

witch i am very happy with, but if i run for several hours i still get spikes 
up to 50000 and above.
i suspect Michael are right, the problem is related toidle/powersave states.

I have no settings in bios to turn of ACPI
my bios is: MWNT10N.86A.0083.2011.0524.1600
is this the same as others are running? and do you have option to turn off ACPI 
from bios?

-- 
Regards: Bjørn Kristiansen

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to