KERNEL 6.6.7 (improved latency)

More
2 years 10 months ago #288902 by rodw
yeh, I thought the script looked famiiar. Saved me the need to update it
I have not done much other than isolcpus. 
If you are using mesa ethernet cards latency is no longer the limiting factor. Network latency is the issue.
network latency has been improving with each kernel version.
With mesa, the next thing to look at is to locate the IRQ (Interrupt Request) used by the NIC.
set Isolcpus=7 wil put the servo thread on core 7
Then you can set the irq affinity to also be on core 7 so the Real time stuff is al together
This can be set on the command line and its  pretty easy to find resouces with google
The following user(s) said Thank You: Mecanix

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

More
2 years 10 months ago #288903 by rodw
I might add that the servo thread only ever runs on one core. Whilst latency improves with adding additional isolated CPUS, I suspect its eye candy.
htop shows cpu useage per kernel which is interesting to watch

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

More
2 years 10 months ago - 2 years 10 months ago #288907 by Mecanix
Maintaining 4 machine-tools, involving two different kind of interface (parport & eth), not to mention 3 different computers and hardware ain't for the faint of heart.  One day this will all need to be consolidated but until then it makes it all very much fun and for good learning! Appreciate the IRQ heads up, I'll focus on that part and see if I can optimize from there. 
Last edit: 2 years 10 months ago by Mecanix.

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

More
2 years 10 months ago #288918 by chris@cnc

That answers my question. use make -j8 next time to save  a lot of time.
Code:
make -j `nproc`
Is the command to use all available cores.

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

More
2 years 10 months ago #288942 by rodw

Code:
make -j `nproc` Is the command to use all available cores.

If that works for you great. it fails for me every time and $(nproc) never fails

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

More
2 years 10 months ago #288976 by chris@cnc
That's odd, what is the error?

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

Time to create page: 0.094 seconds
Powered by Kunena Forum