Installing LinuxCNC 2.9 or Master on Linux Mint 21
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 17
13 Jan 2023 10:13 #261786
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Post your config. And hardware. I was chasing latency past week.
Please Log in or Create an account to join the conversation.
13 Jan 2023 12:25 #261791
by Ismacr63
Do you mean the linuxcnc configuration and the hardware of my pc?
Replied by Ismacr63 on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Post your config. And hardware. I was chasing latency past week.
Do you mean the linuxcnc configuration and the hardware of my pc?
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 17
13 Jan 2023 12:39 #261792
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Both. Especially grub parameters. And some screnshots from htop and watch cat /proc/interrups while making tests.
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 17
13 Jan 2023 17:06 - 13 Jan 2023 17:15 #261807
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
So.. j3355 with Mint in its place. All runs nice and smooth.
Last edit: 13 Jan 2023 17:15 by Stanislavz.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
13 Jan 2023 19:25 #261821
by Ismacr63
Motheboard gygabyte ga h61m s2pv
Ram 4gb (shared with dedicated graphics)
The other information you can see in the screenshot.
The same thing happens to me with the debian booster with the RT kernel.
In booster with RTAI I have a latency of 10-15k at full
Replied by Ismacr63 on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
PC:Both. Especially grub parameters. And some screnshots from htop and watch cat /proc/interrups while making tests.
Motheboard gygabyte ga h61m s2pv
Ram 4gb (shared with dedicated graphics)
The other information you can see in the screenshot.
The same thing happens to me with the debian booster with the RT kernel.
In booster with RTAI I have a latency of 10-15k at full
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 17
13 Jan 2023 20:03 #261826
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Ok. Change grub line to : nomodeset isolcpus=nohz,domain,1 apparmor=0
Install i7z and run it also. Run it first to note cpu frequency and voltage.
Use command latency-histogram --nobase --servo 50000
In htop - add cpu column and sort by it desc
Install i7z and run it also. Run it first to note cpu frequency and voltage.
Use command latency-histogram --nobase --servo 50000
In htop - add cpu column and sort by it desc
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
13 Jan 2023 21:41 #261833
by Ismacr63
The screen resolution has changed after changing grub and I can't change it.
Replied by Ismacr63 on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
I leave you here the captures.Ok. Change grub line to : nomodeset isolcpus=nohz,domain,1 apparmor=0
Install i7z and run it also. Run it first to note cpu frequency and voltage.
Use command latency-histogram --nobase --servo 50000
In htop - add cpu column and sort by it desc
The screen resolution has changed after changing grub and I can't change it.
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 17
13 Jan 2023 22:05 #261834
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Resolution is changed due to nomodeset command. You may try without it.
From graph - much of the noise have gone. Try to run also just latancy-histogram as usual.
And 10 glxgears is too much. 2 + youtube is ok. Pc have to loaded comfortably till 100, and with varying load. This would like to have 7 more time of cpu power to use.
From graph - much of the noise have gone. Try to run also just latancy-histogram as usual.
And 10 glxgears is too much. 2 + youtube is ok. Pc have to loaded comfortably till 100, and with varying load. This would like to have 7 more time of cpu power to use.
Please Log in or Create an account to join the conversation.
13 Jan 2023 22:52 #261836
by Ismacr63
with rtai kernel i think that on my pc i could reduce the latency even by half.
Do you think it can be made to work on linux mint?
Replied by Ismacr63 on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
I understand.Resolution is changed due to nomodeset command. You may try without it.
From graph - much of the noise have gone. Try to run also just latancy-histogram as usual.
And 10 glxgears is too much. 2 + youtube is ok. Pc have to loaded comfortably till 100, and with varying load. This would like to have 7 more time of cpu power to use.
with rtai kernel i think that on my pc i could reduce the latency even by half.
Do you think it can be made to work on linux mint?
Please Log in or Create an account to join the conversation.
- Stanislavz
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 17
14 Jan 2023 09:07 #261910
by Stanislavz
Replied by Stanislavz on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
I do no know. As far as i see it all rtai / vs preemt_rt - rtai is less stable and is used as last resort for system if you cant make good latency figures from preemt_rt.
Ok. I am an developer + part time unix admin. And my final thesis of master degree was on robust latency in multhireaded embedded systems.
Rtai runs two kernels in place of 1. On isolated core of corse.
Preemt run one process on isolated core too.
So - add one more kernel to rtai and we are on same level as f35...
And normal aproach is to remove all "noise" from isolated core and run only one process on it.
But yes - i think i will try rtai too. Just need some spare time. Still transfer to j3355 and mint was unplanned...
And this all was for one bigger stirling engine project. Second iteration now.
Ok. I am an developer + part time unix admin. And my final thesis of master degree was on robust latency in multhireaded embedded systems.
Rtai runs two kernels in place of 1. On isolated core of corse.
Preemt run one process on isolated core too.
So - add one more kernel to rtai and we are on same level as f35...
And normal aproach is to remove all "noise" from isolated core and run only one process on it.
But yes - i think i will try rtai too. Just need some spare time. Still transfer to j3355 and mint was unplanned...
And this all was for one bigger stirling engine project. Second iteration now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds