RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
- ftree
 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 116
 - Thank you received: 10
 
			
	
						17 May 2022 20:26		 -  17 May 2022 20:27		#243200
		by ftree
	
	
		
			
	
	
			 		
													
	
				Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
				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.			
					
		Last edit: 17 May 2022 20:27  by ftree.			
	
		The following user(s) said Thank You: rodw 	
			Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Away
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						17 May 2022 20:59				#243201
		by rodw
	
	
		
			
				
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.
					
	
			
			 		
													
	
				Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			Thanks for reminding me what I did! I had forgotten....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.
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 or Create an account to join the conversation.
- ftree
 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 116
 - Thank you received: 10
 
			
	
						17 May 2022 21:07				#243202
		by ftree
	
	
		
			
	
			
			 		
													
	
				Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
				in fact i thought thougt i'd set this at first boot!
github.com/djsftree/rpi-img-builder/comm...0ddea94cbc22a5bddR33
					github.com/djsftree/rpi-img-builder/comm...0ddea94cbc22a5bddR33
Please Log in or Create an account to join the conversation.
- ftree
 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 116
 - Thank you received: 10
 
			
	
						17 May 2022 21:25				#243204
		by ftree
	
	
		
			
	
			
			 		
													
	
				Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
				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
					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 or Create an account to join the conversation.
- ftree
 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 116
 - Thank you received: 10
 
			
	
						17 May 2022 21:51				#243206
		by ftree
	
	
		
			
	
	
		
			
			 		
													
	
				Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
					Attachments:
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Away
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						17 May 2022 22:00				#243207
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
				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 			
					Unfortunately, envolato's wheel is not compatable on our platform so it look like we need to compile vtk
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 or Create an account to join the conversation.
- ftree
 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 116
 - Thank you received: 10
 
			
	
						17 May 2022 22:18		 -  17 May 2022 22:25		#243210
		by ftree
	
	
		
			
	
	
		
	
			 		
													
	
				Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
					Attachments:
		Last edit: 17 May 2022 22:25  by ftree.			
	
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Away
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						17 May 2022 22:34				#243214
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
				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.
					also need to install xfce4-screenshooter to enable the printscreen button.
So I can save my results.
Please Log in or Create an account to join the conversation.
- ftree
 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 116
 - Thank you received: 10
 
			
	
						18 May 2022 00:14				#243230
		by ftree
	
	
		
			
	
			
			 		
													
	
				Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
				I've left overnight 10 glx gears and two windows of 1080p YT vids going.
I need heavy rain after today!
			
					I need heavy rain after today!
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Away
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						18 May 2022 02:04				#243239
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT /  XFCE			
			
				Heavy rain is all we've heard for months! Sick of it!			
					Please Log in or Create an account to join the conversation.
		Time to create page: 0.240 seconds