Latency, error finishing read, and IRQ affinity

More
2 years 8 months ago #293298 by Mecanix

quotes seem to be missing here?
 
Remove the last quote.
exit 0"

Please Log in to join the conversation.

More
2 years 8 months ago #293299 by Ekholm

Please Log in to join the conversation.

More
2 years 8 months ago #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.

Please Log in to join the conversation.

More
2 years 6 months ago #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 to join the conversation.

More
2 years 6 months ago #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 to join the conversation.

More
2 years 6 months ago #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
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.

More
2 years 6 months ago #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! :)

Please Log in to join the conversation.

More
2 years 6 months ago #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 to join the conversation.

More
2 years 6 months ago #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 to join the conversation.

More
2 years 6 months ago #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 to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum