Latency, error finishing read, and IRQ affinity

More
14 Feb 2024 06:39 - 14 Feb 2024 06:40 #293298 by Mecanix

quotes seem to be missing here?
 

Remove the last quote.
exit 0"
Last edit: 14 Feb 2024 06:40 by Mecanix.

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

More
14 Feb 2024 07:12 #293299 by Ekholm

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

More
29 Feb 2024 20:24 #294798 by mozmck
I just moved an updated rt_setup.sh script to the first post in this thread.  It detects if irqbalance is running or not and sets things up properly either way.  BTW, dual-core cpus are not completely obsolete - I have fairly recent Shuttle mini-pc's with dual-core processors that definitely benefit from having the IRQ affinities set up properly.
The following user(s) said Thank You: seuchato, mariusl, tommylight, JT, vally72, ago_tm

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

More
07 Apr 2024 18:56 #297761 by lrak
What is supposed to end up in NIC?  (I've got two interfaces - not fluent in awk ).. Is the 10.10.10.1 supposed to be the MESA card address?NIC=`awk 'BEGIN{nic=""} {if ($1=="iface") {tmpnic = $2} if ($1=="address") {if ($2 == 10.10.10.1) {nic = tmpnic}}} END{print(nic)}' /etc/network/interfaces`

 

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

More
07 Apr 2024 19:38 #297764 by PCW
The IP address in the script should match the real IP address of the host device connected to the Mesa card

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

More
13 Apr 2024 23:10 #298207 by zmrdko
Hi, awsome script! Definitely fixes latency issues.
However, I am trying to utilize this with EtherCAT master and I am getting error
irqbalance is running AND there are more than 2 cpus - setting up policy script sed: can't read /etc/rc.local: No such file or directory

I would guess it has to do something with NIC IP address not being 10.10.10.1

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

More
13 Apr 2024 23:26 - 13 Apr 2024 23:28 #298208 by tommylight
Nope, some new Linux Distros do not use rc.local, so do a search for the distro you are suing and how to add it, then run the script again.
Edit,
Left hand seems faster that right one, USING, should be using, not suing above! :)
Last edit: 13 Apr 2024 23:28 by tommylight. Reason: Typo
The following user(s) said Thank You: zmrdko

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

More
19 Apr 2024 19:05 #298658 by jg00163206
i am stuck on the irqblance part in the instructions of that link. i created the files but i am not certain what to do from there. when i run: sudo ./rt_setup.sh, command not found. i created both files and make them exicutable and restarted and when i run: sudo ./rt_setup.sh. what to do after that. i am missing something something.

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

More
20 Apr 2024 00:49 #298694 by jg00163206
i think i have it. maybe if i took the time to read the entire thread, i might find the information i am looking for. thanks

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

More
20 Apr 2024 03:34 #298696 by jg00163206
i guess i dont have this figured out. i keep getting command not found when i run sudo ./rt_setup.sh. i know i have to do something to the file but i can't figure out what to do to make it not give me the error on exit error. please help me out

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

Time to create page: 0.210 seconds
Powered by Kunena Forum