On Sun, 23 Jul 2017, dave wrote:

Date: Sun, 23 Jul 2017 10:37:09 -0700
From: dave <dengv...@charter.net>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] latency excursions



On 07/23/2017 10:14 AM, Peter C. Wallace wrote:
On Sun, 23 Jul 2017, dave wrote:

Date: Sun, 23 Jul 2017 08:48:19 -0700
From: dave <dengv...@charter.net>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] latency excursions

dave@linuxcnc:~$ uname -a
Linux linuxcnc 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 i686 i386 GNU/Linux

task: 103857488 cycles, min=0.000049, max=0.474214, avg=0.010993, 86 latency excursions (> 10x expected cycle time of 0.010000s)

task: 25439189 cycles, min=0.000049, max=0.205898, avg=0.010989, 17 latency excursions (> 10x expected cycle time of 0.010000s)

I've done nothing to tune this cpu and as far as I can tell the motion is ok.

Still it leave me uncomfortable.

What do I need to change to clean this uo?


TIA

Dave

These are not real-time latency issues but rather delays in task
so are not a actual problem unless they are so long that they cause
a disruption the the non-real time tasks linuxCNC is doing (user interface etc)

These delays will not be reduced by any real time latency tuning of the system ( and may well be made worse by things that slow the userland performance like isocpus )


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

Thanks Peter,
I suppose I should have picked up on the 'task'. I'm going to use age as an excuse. ;-)

I re-tuned the x axis yesterday for some improvement; following error is somewhere around 2E-5.

Dave

You can do a little experiment with delaying task by starting LinuxCNC from the command line and then suspending it while running gcode with control Z. This does not disrupt motion in progress, as long as the delay is not too
long, and if it is too long you will get:

USRMOT: ERROR: command timeout


(after the control Z, you can resume task/user-interface with "fg 1")


------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to