Installing LinuxCNC 2.9 or Master on Linux Mint 21
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 16
11 Jan 2023 12:08 #261554
by Stanislavz
And while perfect is an enemy of good
sysctl kernel.sched_rt_runtime_us=-1
this to be run before testing.
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Agree, that apparmor is really messing system.That helped. Still needed apparmor=0
This is Debian Bookworm with my 6.1 kernel.quiet isolcpus=nohz,domain,2-3 apparmor=0 [attachment=50991]debian-11Jan2023-70.png[/attachment] 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...
And while perfect is an enemy of good
sysctl kernel.sched_rt_runtime_us=-1
this to be run before testing.
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 21:02 #261620
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
One more approach. I was curious - why i have marginally better results without nohz. And why some graphs have trident shape. On same setup/session.Reason - nohz is useable if we have 1 process in isolated core. But while testing with base period - we have two.Moved servo thread to core 0 with taskset - and we are in 6-7k region with glxgears and youtube. Without youtube even less..
Please Log in or Create an account to join the conversation.
11 Jan 2023 21:10 #261622
by rodw
Replied by rodw on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
sometimes a fat latency is becasuse the horizontal axis is clipped (eg < the 52 max shown) This is controlled by sbins parameter
Always use this:
latency-histogram --nobase --sbins 1000
Always use this:
latency-histogram --nobase --sbins 1000
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
11 Jan 2023 21:21 #261627
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
No no. All here is ok. I am tuning for parport driver. And yes - i was able to see different shapes / wrong results.
So - because i cant run it with noservo parameter i just moved servo to 0 core.
If run with nobase - it is always consistent in shape ant similar in delay.
So - because i cant run it with noservo parameter i just moved servo to 0 core.
If run with nobase - it is always consistent in shape ant similar in delay.
Please Log in or Create an account to join the conversation.
11 Jan 2023 21:24 #261629
by rodw
Replied by rodw on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
then use
latency-histogram --sbins 1000
latency-histogram --sbins 1000
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
11 Jan 2023 21:29 #261630
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Nope still two processes at core which we optimise to one.
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
11 Jan 2023 21:37 #261632
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Will let it run in this test for night
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 16
12 Jan 2023 05:39 #261662
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Soo. Only test one process on single core.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
12 Jan 2023 12:41 #261684
by tommylight
Replied by tommylight on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Looking good, thank you.
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 16
12 Jan 2023 13:03 #261691
by Stanislavz
Could anybody explain - are there any difference between servo and base thread on testing ? If servo is run at same period as base ?
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
And it have stable result now. After restart. Around 7k. You should not test it with both threads. All optimization is done for single core only.Looking good, thank you.
Could anybody explain - are there any difference between servo and base thread on testing ? If servo is run at same period as base ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.118 seconds