Installing LinuxCNC 2.9 or Master on Linux Mint 21
04 Jan 2023 09:58 #260910
by rodw
The Debian RT patches are here
salsa.debian.org/kernel-team/linux/-/tre...er/debian/patches-rt
The series file outlines the order of and whats going on
salsa.debian.org/kernel-team/linux/-/tre...er/debian/patches-rt
Support for lazy preemption seems a possible culprit.
This is a useful page
www.reddit.com/r/debian/comments/ai618b/...bian_kernel_patches/
Replied by rodw on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Finally found the answer to this but it needs somebody with more experience than I do.Just curios, does anyone know what the difference is between Rod's kernel and the broken Debian one? or in other words what the real problem is with the Debian one so we can suggest a proper fix for them?
The Debian RT patches are here
salsa.debian.org/kernel-team/linux/-/tre...er/debian/patches-rt
The series file outlines the order of and whats going on
salsa.debian.org/kernel-team/linux/-/tre...er/debian/patches-rt
Support for lazy preemption seems a possible culprit.
This is a useful page
www.reddit.com/r/debian/comments/ai618b/...bian_kernel_patches/
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
04 Jan 2023 12:26 #260922
by tommylight
Replied by tommylight on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Spammer booted.
Please Log in or Create an account to join the conversation.
09 Jan 2023 19:30 #261376
by scotth
Replied by scotth on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 16
10 Jan 2023 13:15 - 10 Jan 2023 15:44 #261441
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Hello ! Racing to get better latency results on j3355 - could other test latency histogram before and after stopping apparmor service ?
sudo systemctl stop apparmor
sudo systemctl disable apparmor ?
www.phoronix.com/news/AppArmor-Linux-5.5-72-Tests
One more:
exa.net.uk/latency-debugging/
sudo systemctl stop apparmor
sudo systemctl disable apparmor ?
www.phoronix.com/news/AppArmor-Linux-5.5-72-Tests
One more:
exa.net.uk/latency-debugging/
Last edit: 10 Jan 2023 15:44 by Stanislavz.
Please Log in or Create an account to join the conversation.
10 Jan 2023 19:56 #261488
by rodw
Replied by rodw on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
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
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.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 16
10 Jan 2023 20:06 - 10 Jan 2023 20:10 #261489
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
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
forum.linuxcnc.org/18-computer/47825-latency-test#260814
Last edit: 10 Jan 2023 20:10 by Stanislavz.
Please Log in or Create an account to join the conversation.
10 Jan 2023 20:45 - 10 Jan 2023 20:47 #261491
by rodw
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
Replied by rodw on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
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
Attachments:
Last edit: 10 Jan 2023 20:47 by rodw.
The following user(s) said Thank You: Stanislavz
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 16
10 Jan 2023 21:52 - 10 Jan 2023 22:05 #261498
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
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.
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: 10 Jan 2023 22:05 by Stanislavz.
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 16
11 Jan 2023 06:57 #261541
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
And in the morning.
Please Log in or Create an account to join the conversation.
11 Jan 2023 11:31 #261552
by rodw
Replied by rodw on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
That helped. Still needed apparmor=0
This is Debian Bookworm with my 6.1 kernel.
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...
This is Debian Bookworm with my 6.1 kernel.
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...
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds