-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Cleanup redundancy in documentation between PncConf, StepConf and latency test #3601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -98,63 +98,21 @@ The LinuxCNC Configuration Selector has configs for Sherline already configured. | |
| Enter the result of the Latency Test here. | ||
| To run a latency test press the 'Test Base Period Jitter' button. See the | ||
| <<sec:latency-test,Latency Test>> section for more details. | ||
|
|
||
| .Latency Test | ||
| image::images/latency-test_en.png["Latency Test",align="center"] | ||
|
|
||
| * 'Max Step Rate' -(((Max Step Rate))) | ||
| StepConf automatically calculates the Max Step Rate based | ||
| on the driver characteristics entered and the latency test result. | ||
| * 'Min Base Period' - (((Min Base Period))) | ||
| StepConf automatically determines the Min Base Period | ||
| based on the driver characteristics entered and latency test result. | ||
|
|
||
| [[sub:latency-test]] | ||
| == Latency Test(((Latency Test))) | ||
|
|
||
| While the test is running, you should 'abuse' the computer. Move | ||
| windows around on the screen. Surf the web. Copy some large files | ||
| around on the disk. Play some music. Run an OpenGL program such as | ||
| glxgears. The idea is to put the PC through its paces while the latency | ||
| test checks to see what the worst case numbers are. Run the test at least a few | ||
| minutes. The longer you run the test the | ||
| better it will be at catching events that might occur at less frequent | ||
| intervals. This is a test for your computer only, so no hardware needs | ||
| to be connected to run the test. | ||
|
|
||
| [WARNING] | ||
| Do not attempt run LinuxCNC while the latency test is running. | ||
|
|
||
| .Latency Test | ||
| image::images/latency-test_en.png["Latency Test",align="center"] | ||
|
|
||
| Latency is how long it takes the PC to stop what it is doing and | ||
| respond to an external request. In our case, the request is the | ||
| periodic 'heartbeat' that serves as a timing reference for the step | ||
| pulses. The lower the latency, the faster you can run the heartbeat, | ||
| and the faster and smoother the step pulses will be. | ||
|
|
||
| Latency is far more important than CPU speed. The CPU isn't the only | ||
| factor in determining latency. Motherboards, video cards, USB ports, | ||
| SMI issues, and a number of other things can hurt the latency. | ||
|
|
||
| .Troubleshooting SMI Issues (LinuxCNC.org Wiki) | ||
| ************************************************************ | ||
| Fixing Realtime problems caused by SMI on Ubuntu | ||
|
|
||
| https://wiki.linuxcnc.org/cgi-bin/wiki.pl?FixingSMIIssues | ||
| ************************************************************ | ||
|
|
||
| The important numbers are the 'max jitter'. In the example above 9075 | ||
| 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. | ||
|
|
||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again this is good information except it is referencing software stepping requirements.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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). |
||
| If your Max Jitter number is less than about 15-20 µs | ||
| (15000-20000 ns), the computer should give very nice results | ||
| with software stepping. If the max latency is more like 30-50 µs, | ||
| you can still get good results, but your maximum step | ||
| rate might be a little disappointing, especially if you use | ||
| microstepping or have very fine pitch leadscrews. If the numbers are | ||
| 100 µs or more (100,000 ns), then the PC is not a good | ||
| candidate for software stepping. Numbers over 1 millisecond (1,000,000 ns) | ||
| mean the PC is not a good candidate for LinuxCNC, regardless of | ||
| whether you use software stepping or not. | ||
| Enter the max jitter it in the Base Period Maximum Jitter box. | ||
|
|
||
| == Parallel Port Setup | ||
|
|
||
|
|
||
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.