linuxcnc Latency test ambiguous results
- DarkPhoinix
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 5
29 Apr 2025 16:10 - 29 Apr 2025 16:18 #327302
by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
Attachments:
Last edit: 29 Apr 2025 16:18 by DarkPhoinix.
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Away
- Elite Member
-
Less
More
- Posts: 272
- Thank you received: 75
29 Apr 2025 18:17 #327306
by MarkoPolo
Replied by MarkoPolo on topic linuxcnc Latency test ambiguous results
I have these kernel parameters set "quiet isolcpus=2,3 acpi_irq_nobalance noirqbalance irqaffinity=0 processor.max_cstate=0 intel_idle.max_cstate=1"
From what I remember, better results are when you isolate 3rd and 4th core.
The "stress" test should not affect core 3 and 4.
From what I remember, better results are when you isolate 3rd and 4th core.
The "stress" test should not affect core 3 and 4.
The following user(s) said Thank You: DarkPhoinix
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 5
29 Apr 2025 18:45 - 29 Apr 2025 19:00 #327308
by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
You have integrated VGA i have a NVIDIA 610 i think is this the cause of high latency , my motherboard don't have vga output!
can you try use Rustdesk remote desktop with youtube video and try another time latency test?
can you try use Rustdesk remote desktop with youtube video and try another time latency test?
Last edit: 29 Apr 2025 19:00 by DarkPhoinix.
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Away
- Elite Member
-
Less
More
- Posts: 272
- Thank you received: 75
30 Apr 2025 09:49 #327331
by MarkoPolo
Replied by MarkoPolo on topic linuxcnc Latency test ambiguous results
I don't use remote desktop. I did a test with three working youtube videos
The following user(s) said Thank You: DarkPhoinix
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 5
30 Apr 2025 11:31 #327336
by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
Hi tommylight, have you seen my configuration? is a default conf.No, not yet.
Now is that point where you upload your configuration files here so we can have a look, joint errors are usually miss configuration on stepper systems.
What board are you using?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20152
- Thank you received: 6855
30 Apr 2025 14:14 #327344
by tommylight
Replied by tommylight on topic linuxcnc Latency test ambiguous results
Yes i have, but not a default config, it is for NV something or another.
Do you get the dropped connection?
Do you get joint errors?
Do you get the dropped connection?
Do you get joint errors?
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 5
30 Apr 2025 15:45 - 30 Apr 2025 15:46 #327360
by DarkPhoinix
Try to put:
[JOINT_1]
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 150000
STEPSPACE = 150000
and
[STEPGEN]
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 150000
STEPSPACE = 150000
and
[STEPGEN]
#150000
STEPGEN_DIRSETUP = 150000
STEPGEN_DIRHOLD = 150000
STEPGEN_STEPLEN = 150000
STEPGEN_STEPSPACE = 150000
and
[STEPGEN]
#150000
STEPGEN_1_DIRSETUP = 150000
STEPGEN_1_DIRHOLD = 150000
STEPGEN_1_STEPLEN = 150000
STEPGEN_1_STEPSPACE = 150000
my driver is a TB6560 (only for testing not final hardware)
all conf not change the movement
the work is linuxcnc classic engrave test
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
No the connection is stable( joint error only 3 video Youtube+stresstest+rustdesk remote desktop) but i have bad stepper movement.Yes i have, but not a default config, it is for NV something or another.
Do you get the dropped connection?
Do you get joint errors?
Try to put:
[JOINT_1]
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 150000
STEPSPACE = 150000
and
[STEPGEN]
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 150000
STEPSPACE = 150000
and
[STEPGEN]
#150000
STEPGEN_DIRSETUP = 150000
STEPGEN_DIRHOLD = 150000
STEPGEN_STEPLEN = 150000
STEPGEN_STEPSPACE = 150000
and
[STEPGEN]
#150000
STEPGEN_1_DIRSETUP = 150000
STEPGEN_1_DIRHOLD = 150000
STEPGEN_1_STEPLEN = 150000
STEPGEN_1_STEPSPACE = 150000
my driver is a TB6560 (only for testing not final hardware)
all conf not change the movement
the work is linuxcnc classic engrave test
Last edit: 30 Apr 2025 15:46 by DarkPhoinix.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20152
- Thank you received: 6855
30 Apr 2025 16:23 #327364
by tommylight
Replied by tommylight on topic linuxcnc Latency test ambiguous results
STEPLEN = 150000
STEPSPACE = 150000
to
STEPLEN = 5000
STEPSPACE = 5000
or
STEPLEN = 10000
STEPSPACE = 10000
As you have it it is way to long so it limits the max velocity a lot and can cause joint errors, depending on the scale and velocity set in the ini file.
STEPSPACE = 150000
to
STEPLEN = 5000
STEPSPACE = 5000
or
STEPLEN = 10000
STEPSPACE = 10000
As you have it it is way to long so it limits the max velocity a lot and can cause joint errors, depending on the scale and velocity set in the ini file.
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 5
30 Apr 2025 16:36 - 30 Apr 2025 16:53 #327367
by DarkPhoinix
[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
[STEPGEN]
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000
and
[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
#[STEPGEN] <
need this???
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000
same of the conf with:
#DIRSETUP = 150000
#DIRHOLD = 150000
#STEPLEN = 5000
#STEPSPACE = 5000
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
STEPLEN = 150000
STEPSPACE = 150000
to
STEPLEN = 5000
STEPSPACE = 5000
or
STEPLEN = 10000
STEPSPACE = 10000
As you have it it is way to long so it limits the max velocity a lot and can cause joint errors, depending on the scale and velocity set in the ini file.
[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
[STEPGEN]
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000
and
[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
#[STEPGEN] <
need this???
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000
same of the conf with:
#DIRSETUP = 150000
#DIRHOLD = 150000
#STEPLEN = 5000
#STEPSPACE = 5000
Last edit: 30 Apr 2025 16:53 by DarkPhoinix.
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 5
30 Apr 2025 18:52 - 30 Apr 2025 19:13 #327376
by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
I don't understand if I have to add something about the hal file, I found this:
linuxcnc.org/docs/stable/html/man/man9/stepgen.9.html
stepgen.1.dirsetup
stepgen.1.dirhold
stepgen.1.steplen
stepgen.1.stepspace
I also found this but I don't know where to put the parameters, I know that this gui is only for the parallel port or am I wrong?
linuxcnc.org/docs/stable/html/man/man9/stepgen.9.html
stepgen.1.dirsetup
stepgen.1.dirhold
stepgen.1.steplen
stepgen.1.stepspace
I also found this but I don't know where to put the parameters, I know that this gui is only for the parallel port or am I wrong?
Last edit: 30 Apr 2025 19:13 by DarkPhoinix.
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds