Installing LinuxCNC 2.9 or Master on Linux Mint 21

More
13 Jan 2023 10:13 #261786 by Stanislavz
Post your config. And hardware. I was chasing latency past week.

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

More
13 Jan 2023 12:25 #261791 by Ismacr63

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.

More
13 Jan 2023 12:39 #261792 by Stanislavz
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.

More
13 Jan 2023 17:06 - 13 Jan 2023 17:15 #261807 by Stanislavz
So.. j3355 with Mint in its place. All runs nice and smooth.
Attachments:
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.

More
13 Jan 2023 19:25 #261821 by Ismacr63

Both. Especially grub parameters. And some screnshots from htop and watch cat /proc/interrups while making tests.
 

PC:
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
 
Attachments:

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

More
13 Jan 2023 20:03 #261826 by Stanislavz
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 following user(s) said Thank You: Ismacr63

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

More
13 Jan 2023 21:41 #261833 by Ismacr63

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
 

I leave you here the captures.

The screen resolution has changed after changing grub and I can't change it.
Attachments:

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

More
13 Jan 2023 22:05 #261834 by Stanislavz
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.

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

More
13 Jan 2023 22:52 #261836 by Ismacr63

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.
 

I understand.

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.

More
14 Jan 2023 09:07 #261910 by Stanislavz
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.

Attachments:
The following user(s) said Thank You: tommylight, my1987toyota, Ismacr63

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

Time to create page: 0.133 seconds
Powered by Kunena Forum