- Posts: 532
- Thank you received: 327
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
JScripts that I used/adjusted for this test.
This includes the hog cpu script and the linuxcnc wrapper script that needs to be used. This wrapper starts linuxcnc on core 2 then moves the UI task to Core 1. This needed to ensure a balance of UI responsiveness while the RT tasks own Core 2.
Cpu hog on core 2 ensures clock speeds are maxed while linuxcnc is running. A quirk of this architecture seems to be that maxing core 2 also maxes core 1. But the opposite is not true. An alternative setup is to use idle=poll on the kernwl boot. In which case cou hog is not needed. However the cpu will run hot. I was seeing 70C which is deemed “hot” by this cpu with 100C as critical.
The advantage of cpu hog is if you stop lcnc the wrapper kills hog and the cpu will start to cool.
You will also see from the h/w test file that kernel 4.19 was used. I also tests with 4.9.0-13 and noticed that clock speeds seemed to be maxed irrespective of using idle=poll on kernel boot or not.
Cheers - J
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That is his script, not mine !This is originally a tommylight script from:
forum.linuxcnc.org/18-computer/39370-scr...-of-computer-latency
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.