Latency, error finishing read, and IRQ affinity
14 Feb 2024 06:39 - 14 Feb 2024 06:40 #293298
by Mecanix
Replied by Mecanix on topic Latency, error finishing read, and IRQ affinity
Last edit: 14 Feb 2024 06:40 by Mecanix.
Please Log in or Create an account to join the conversation.
14 Feb 2024 07:12 #293299
by Ekholm
Replied by Ekholm on topic Latency, error finishing read, and IRQ affinity
Thanks!
Please Log in or Create an account to join the conversation.
29 Feb 2024 20:24 #294798
by mozmck
Replied by mozmck on topic Latency, error finishing read, and IRQ affinity
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.
Please Log in or Create an account to join the conversation.
07 Apr 2024 18:56 #297761
by lrak
Replied by lrak on topic Latency, error finishing read, and IRQ affinity
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.
07 Apr 2024 19:38 #297764
by PCW
Replied by PCW on topic Latency, error finishing read, and IRQ affinity
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.
13 Apr 2024 23:10 #298207
by zmrdko
Replied by zmrdko on topic Latency, error finishing read, and IRQ affinity
Hi, awsome script! Definitely fixes latency issues.
However, I am trying to utilize this with EtherCAT master and I am getting error
I would guess it has to do something with NIC IP address not being 10.10.10.1
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19300
- Thank you received: 6462
13 Apr 2024 23:26 - 13 Apr 2024 23:28 #298208
by tommylight
Replied by tommylight on topic Latency, error finishing read, and IRQ affinity
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!
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.
- jg00163206
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 4
19 Apr 2024 19:05 #298658
by jg00163206
Replied by jg00163206 on topic Latency, error finishing read, and IRQ affinity
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.
- jg00163206
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 4
20 Apr 2024 00:49 #298694
by jg00163206
Replied by jg00163206 on topic Latency, error finishing read, and IRQ affinity
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.
- jg00163206
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 4
20 Apr 2024 03:34 #298696
by jg00163206
Replied by jg00163206 on topic Latency, error finishing read, and IRQ affinity
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