Skip to content

Conversation

@johnobrien
Copy link
Contributor

Attempts to remove the redundancy in talking about Max Jitter from PncConf and StepConf and put it all into latency-test.adoc. Also, clarify that the implications of Max Jitter are and update Max Jitter documentation to account for hardware cards (based off this forum post).

@johnobrien johnobrien force-pushed the latency-test-cleanup branch from 9ea24ce to 7929a7b Compare November 6, 2025 14:47
@johnobrien johnobrien marked this pull request as ready for review November 8, 2025 20:58
when LinuxCNC requires its calculations and when doing LinuxCNCs calculations it cannot be interrupted by lower priority requests (such as user input to screen buttons or drawing etc).

Testing the latency is very important and a key thing to check early.
Luckily by using the Mesa card to do the work that requires the fastest response time (encoder counting and PWM generation) we can endure a lot more latency then if we used the parallel port for these things.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this information explaining that the base period is what you need to test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion, the information about the base period should only appear once in install/latency-test.adoc. Having detail here is redundant and possibly confusing. In addition, the information about how to interpret the latency test should also only appear in install/latency-test.adoc.

The important number from the result of the Latency Test is the 'max jitter'. In the example above, 9075
nanoseconds (ns), or 9.075 microseconds (µs), is the highest jitter.
Record this number, and enter it in the Base Period Maximum Jitter box.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again this is good information except it is referencing software stepping requirements.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same idea: I assert it should only appear once in install/latency-test.adoc and be pointed to from stepconf.adoc and pncconf.adoc. Having it in three places is redundant and confusing (particularly when they don't all align).

@c-morley
Copy link
Collaborator

How about a concise need-to-know description in stepconf/pncconf docs with a link to a more in depth description?
Personally I hate having to jump around docs to get the basic information I need to do particular task.

@johnobrien
Copy link
Contributor Author

johnobrien commented Nov 15, 2025 via email

@zz912
Copy link
Contributor

zz912 commented Nov 20, 2025

Chriss, what do you suggest? It would be a shame to lose the typo fixes.

@c-morley
Copy link
Collaborator

I agree.
I made my suggestion of compromise.
If someone else wishes to accept it, I won't argue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants