ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

AP_Networking: make connector loopback test priority to be PRIORITY_IO-1

Open bugobliterator opened this issue 1 year ago • 2 comments

bugobliterator avatar Oct 15 '24 10:10 bugobliterator

This thread is faster so it makes sense but I'm not sure amount will change. Do you have any metrics to show that this makes any difference?

magicrub avatar Oct 16 '24 05:10 magicrub

This thread is faster so it makes sense but I'm not sure amount will change. Do you have any metrics to show that this makes any difference?

We need this for Testing the modules. Lua scripts don't run properly until we set priority higher than loopback test thread.

bugobliterator avatar Oct 16 '24 06:10 bugobliterator

Maybe just set lua thread priority higher with the parameter for that?

tridge avatar Nov 01 '24 01:11 tridge

Maybe just set lua thread priority higher with the parameter for that?

I think the loopback test needs to be lower than IO anyways. It completely chokes out all the remaining threads. As with loopback its just pushing and receiving data at a really high rate.

bugobliterator avatar Nov 14 '24 06:11 bugobliterator