- Posts: 447
- Thank you received: 0
Latency, error finishing read, and IRQ affinity
2 years 8 months ago #293298
by Mecanix
Replied by Mecanix on topic Latency, error finishing read, and IRQ affinity
Please Log in to join the conversation.
2 years 8 months ago #293299
by Ekholm
Replied by Ekholm on topic Latency, error finishing read, and IRQ affinity
Thanks!
Please Log in to join the conversation.
2 years 8 months ago #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 to join the conversation.
2 years 6 months ago #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 to join the conversation.
2 years 6 months ago #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 to join the conversation.
2 years 6 months ago #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
Code:
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 to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22007
- Thank you received: 3
2 years 6 months ago #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!
Please Log in to join the conversation.
- jg00163206
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 0
2 years 6 months ago #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 to join the conversation.
- jg00163206
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 0
2 years 6 months ago #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 to join the conversation.
- jg00163206
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 0
2 years 6 months ago #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 to join the conversation.
Time to create page: 0.074 seconds
