Unexpected realtime delay and genserkins

More
18 Apr 2018 22:08 #109274 by tommylight
Is that a laptop you are using?

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 05:12 #109281 by Cornflakes
I changed the order, but no effect

After homing:
motion.servo.last-period = 3500000
servo-thread.tmax = 1120000

When error appears:
motion.servo.last-period = 3500000
servo-thread.tmax = 14000000

My PC is desktop: Pentium Core Duo, chipset H110

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 10:27 - 19 Apr 2018 10:33 #109287 by PCW
Are you sure you have a H110? That's a relatively current chipset for LGA 1151 CPUs
I would expect something like a P35 G41 or 9X5 series on a Core Duo (a 10 year old chipset)

Your worst case latency is 4X you servo period so its not surprising you are getting real time errors
are these numbers with your 3.5 ms (3500000 ns )servo thread?

If so that's even more mysterious, since that means your CPU clock is about 1 GHz (and there are no desktop Core Duo CPUs
that run at 1 GHz AFAIK)

Do you have the Motherboard and CPU part numbers?
Last edit: 19 Apr 2018 10:33 by PCW.

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 10:42 #109289 by Cornflakes
INTEL Pentium Dual-Core G4560
MSI H110M PRO-VD PLUS

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 11:06 - 19 Apr 2018 11:17 #109291 by PCW
OK that makes more sense (that's not a Core Duo that's a current Pentium dual core CPU)

What was the servo thread setting that generated your timing numbers?

Also what does

uname -a

print?
Last edit: 19 Apr 2018 11:17 by PCW.

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 11:28 #109292 by Cornflakes
"uname -a" does:

Linux debian22 3.2.0-5-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.96-3 i686 GNU/Linux

ini:
SERVO PERIOD 1000000

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 14:12 #109294 by PCW
OK so that means something is causing ~ 4 milliseconds latency on your system

Do you have all speed-step / turbo modes / power saving options disabled in your BIOS?

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 14:20 #109295 by Cornflakes
Yes! These options are disabled

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 15:15 #109297 by PCW
Hmm, maybe I didn't read as carefully as I should have, wouldn't be the first time...

Is this possibly only a problem with genserkins?

That is, if you make a dummy config with loadrt genserkins and all references to its pins commented out,
do you still have the same real time issues?

Please Log in or Create an account to join the conversation.

More
19 Apr 2018 15:37 #109299 by PCW
Another thing that might help isolate the issue is looking at these times

hm2_7i92.0.read.tmax
hm2_7i92.0.write.tmax
motion-command-handler.tmax
motion-controller.tmax

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum