Can the OPI5 be Configured to Run LCNC?

More
3 years 4 months ago - 3 years 4 months ago #274284 by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?


I had to bring the Control Box back in for some rework anyway, so I put it back to the latency test for an overnight run.  isolcpus=4,5,6,7 and "f0" in the smp_affinity.  Six glxgears, and a browser playing YouTube videos.  Left it running all night and all day.
The previous large outliers are gone, so I think I can safely rely on 15us for latency, with the correct IRQ correction command in rc.local

Also, even with all the large cores dedicated to the rt threads, the UI was still plenty responsive.
Also again, @royka 4,5,6,7 worked much better than 2,4,5,6
Last edit: 3 years 4 months ago by echristley.
More
3 years 4 months ago #274286 by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
I added the affinity commands to /etc/rc.local, but they aren't getting picked up.
More
3 years 4 months ago #274290 by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
Fixed it.

Put "sleep 10" on a line before the echo commands. It appears that /proc hasn't been created by the time rc.local gets run. sleeping for 10 seconds gives it time, and I can't log in that fast anyhow.
The following user(s) said Thank You: royka
More
3 years 4 months ago - 3 years 4 months ago #274292 by rodw
Replied by rodw on topic Can the OPI5 be Configured to Run LCNC?
rc.local is obsolete. Have a look at this article which describes how to use rc.loacal and also how to do it with system.d which should avoid the need to sleep

linuxhint.com/use-etc-rc-local-boot/
Last edit: 3 years 4 months ago by rodw.
The following user(s) said Thank You: echristley
More
3 years 4 months ago #274337 by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
Yeah. I looked at that. No thanks.

I'm not prone to using a jack hammer to drive brad nails. :-)

Tonight the job is to figure out why my encoders don't work. I got a hunch last night that is is because I'm using wire that is too thin.
More
3 years 4 months ago #274339 by tommylight
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
-Did you add "exit 0" to the end of rc.local?
-did you make it executable?
-
It is obsolete, but most distros will still use it if there is something there, so not gone yet. If it is there and is empty, it will work for sure. If it is missing, it will require a bit more "convincing" to make it work.
Time to create page: 0.310 seconds
Powered by Kunena Forum