RPI4 - Debian / LinuxCNC / EtherCAT / XFCE

More
4 years 5 months ago #243200 by ftree
rod, you should be able to mount the boot partition (FAT) and edit cmdline.txt and add isolcpus=2,3 to the end.  I don't think any recompile of the kernel is needed.

Please Log in to join the conversation.

More
4 years 5 months ago #243201 by rodw

rod, you should be able to mount the boot partition (FAT) and edit cmdline.txt and add isolcpus=2,3 to the end.  I don't think any recompile of the kernel is needed.
Thanks for reminding me what I did! I had forgotten....

try running
latency-histogram --nobase --sbins 1000
before and after that change and see if you get an improvement. I'll do likewise. on x86 its a basic part of a lcnc install.

Please Log in to join the conversation.

More
4 years 5 months ago #243202 by ftree
in fact i thought thougt i'd set this at first boot!

github.com/djsftree/rpi-img-builder/comm...0ddea94cbc22a5bddR33

Please Log in to join the conversation.

More
4 years 5 months ago #243204 by ftree
You can check for core isolation by

sudo cat /sys/devices/system/cpu/isolated

the dev of the rpi-builder also have a neat tools to alter the governor / cpu speed

governor -h

-c Conservative
-o Ondemand
-p Performance

Please Log in to join the conversation.

More
4 years 5 months ago #243206 by ftree
with isolcpus=3 and five glxgears.

+/- 60us, sd=6us

 

Attachment not found

Please Log in to join the conversation.

More
4 years 5 months ago #243207 by rodw
Looks great. Better than my production machines :)

Unfortunately, envolato's wheel is not compatable on our platform so it look like we need to compile vtk
Code:
cnc@bcm2711:~/Downloads$ sudo python3 -m pip install ./vtk-9.1.20220512.dev0-cp39-cp39-linux_aarch64.whl ERROR: vtk-9.1.20220512.dev0-cp39-cp39-linux_aarch64.whl is not a supported wheel on this platform. cnc@bcm2711:~/Downloads$ 
 

Please Log in to join the conversation.

More
4 years 5 months ago #243210 by ftree
isolcpus=2,3 with 10 glx gears

cpu and ram speeds set to an integer 2:1  - might reduce any fractional clocking harmonics or jitter! ;-) kidding.

arm_freq=800
sdram_freq=400
core_freq=400
gpu_freq=300

Attachment not found

Please Log in to join the conversation.

More
4 years 5 months ago #243214 by rodw
yeh, I thought 2,3 was better but it got up there. leaving it for the day while I go to work.

also need to install xfce4-screenshooter to enable the printscreen button.
So I can save my results.

Please Log in to join the conversation.

More
4 years 5 months ago #243230 by ftree
I've left overnight 10 glx gears and two windows of 1080p YT vids going.

I need heavy rain after today!

Please Log in to join the conversation.

More
4 years 5 months ago #243239 by rodw
Heavy rain is all we've heard for months! Sick of it!

Please Log in to join the conversation.

Time to create page: 4.971 seconds
Powered by Kunena Forum