Installing LinuxCNC 2.9 or Master on Linux Mint 21

More
3 years 9 months ago #261488 by rodw
I added apparmor=0 to the grub boot line and latency seemed to be a bit worse.
my 6.1 kernel, on an i5 with: isolcpus=2,3 nomodeset apparmor=0

 
The following user(s) said Thank You: Stanislavz

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #261489 by Stanislavz
Thank you ! It shows itself on a longer tests, especially with 0-100% cpu usage and changing programs. Left to run for night with some youtube - its ended at 17-20k. Now is 10-12k

forum.linuxcnc.org/18-computer/47825-latency-test#260814
Last edit: 3 years 9 months ago by Stanislavz.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #261491 by rodw

Thank you ! It shows itself on a longer tests, especially with 0-100% cpu usage and changing programs. Left to run for night with some youtube - its ended at 17-20k. Now is 10-12k

forum.linuxcnc.org/18-computer/47825-latency-test#260814

 I had a bit of a play and might stand corrected with:
quiet isolcpus=2,3 nohz_full=1 apparmor=0
my 6.1 kernel and 4 core i5
 
A lot of settings you have played with seem to be specific to a 2 core CPU
Last edit: 3 years 9 months ago by rodw.
The following user(s) said Thank You: Stanislavz

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #261498 by Stanislavz
Could you try isolcpus=nohz,domain,2-3. Nohz is beeing set automatically on newer kernels with isolcpus.

3 hours of running... from youtube till 20 glxgears.

On settings - its more relevant on internal cpu driver.. cpu want to go green way and save power. That i have learned - monitor cpu voltage and C states. The real ones using i7z. Provided by cpufreq are configured, but not used.

Will give a shot to perf someday. But right now - 10wats tdp, onboard lpt freecad installed and running.
Last edit: 3 years 9 months ago by Stanislavz.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261541 by Stanislavz
And in the morning.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261552 by rodw
That helped. Still needed apparmor=0
This is Debian Bookworm with my 6.1 kernel.
Code:
quiet isolcpus=nohz,domain,2-3 apparmor=0
 

So I think that will do me for now as its way under what a mesa card requires.
I really would like to poke around with the kernel parameters to see if there are settings that improve network latency (which you should be able to measure roughly with ping times. PCW has ping command syntax  that lets it run without a screen refresh until you stop it. Then look at averages...

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum