|
Re: External event queue is full, external event dropped! [message #1844605 is a reply to message #1844591] |
Fri, 17 September 2021 13:21 |
|
Hi,
first of all we have now a fix in the 2.0.x branch of 4diac FORTE that handles the external event dropped issue a bit more gracefully and such 4diac FORTE is not completely dying. However this will only partly improve your situation.
One problem we noticed is that the QX blocks are not super efficient. However we haven't had time to loook into it for improving it. I think first some measurements are needed to find out where the problem in QX is. Also if someone has time it would be intersting to look at other ways to access GPIOs on the BBB.
What you can try is to give your 4diac FORTE a higher priority. For that you can use the chrt command: https://www.cyberciti.biz/faq/howto-set-real-time-scheduling-priority-process/
I hope this helps and please let us know if you have some findings.
Cheers,
Alois
|
|
|
|
Re: External event queue is full, external event dropped! [message #1844624 is a reply to message #1844614] |
Fri, 17 September 2021 19:23 |
|
Hi,
to my understanding SCHED_FF should give you a bit more performance but I would not expect much.
Just to clarify one thing: you don't need to fully implement a QX block but you just need to implement an own processinterface class. You can use the sysfs (the current BBB GPIO impl) as starting point.
BR,
Alois
|
|
|
Powered by
FUDForum. Page generated in 0.03157 seconds